|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ASTType | |
---|---|
edu.ksu.cis.projects.bogor.ast | Provides for Bogor input language AST. |
edu.ksu.cis.projects.bogor.ast.transform | |
edu.ksu.cis.projects.bogor.parser | Provides parser for Bogor input language. |
edu.ksu.cis.projects.bogor.symboltable | Provides for Bogor symbol table. |
edu.ksu.cis.projects.bogor.type | Provides for Bogor types. |
Uses of ASTType in edu.ksu.cis.projects.bogor.ast |
---|
Subclasses of ASTType in edu.ksu.cis.projects.bogor.ast | |
---|---|
class |
ASTArrayType
Array type AST. |
class |
ASTBooleanType
Boolean type AST. |
class |
ASTDoubleType
Double type AST. |
class |
ASTExtType
Extension Type AST. |
class |
ASTFloatType
Float type AST. |
class |
ASTFunType
Functional type AST. |
class |
ASTIntRangeType
Int range type AST. |
class |
ASTIntType
Int type AST. |
class |
ASTLockType
Lock type AST. |
class |
ASTLongRangeType
Long range type AST. |
class |
ASTLongType
Long type AST. |
class |
ASTStringType
String type AST. |
class |
ASTThreadIdType
Thread id type AST. |
class |
IdType
Id type AST |
Fields in edu.ksu.cis.projects.bogor.ast declared as ASTType | |
---|---|
protected ASTType |
InitialValue.coercedType
Holds the optional coerced type. |
protected ASTType |
FSM.returnType
Holds the optional return type. |
Methods in edu.ksu.cis.projects.bogor.ast that return ASTType | |
---|---|
abstract ASTType |
ASTType.clone()
Clones this object (deep clone); including location info. |
ASTType |
LetExp.getBindingType(int index)
Gets a binding type at a specified index. |
ASTType |
ExpExtension.getExpType()
Gets the exp type of this exp extension. |
ASTType |
Constant.getOptionalCoercedType()
Gets the coerced type of the literal. |
ASTType |
InitialValue.getOptionalCoercedType()
Gets the type to which this value is cast. |
ASTType |
FSM.getOptionalReturnType()
Gets the return type. |
ASTType |
ASTFunType.getParamType(int index)
Gets the parameter type at a certain index. |
ASTType |
ASTFunType.getReturnType()
Gets the return type of this functional type |
ASTType |
Fun.getReturnType()
Gets the return type. |
ASTType |
ASTArrayType.getType()
Gets the type. |
ASTType |
CastExp.getType()
Gets the type. |
ASTType |
InstanceofExp.getType()
Gets the type. |
ASTType |
KindofExp.getType()
Gets the type. |
ASTType |
NewArrayExp.getType()
Gets the type. |
ASTType |
NewRecordExp.getType()
Gets the type. |
ASTType |
TypeAliasDefinition.getType()
Gets the type. |
ASTType |
TypedId.getType()
Gets the type. |
ASTType |
ASTExtType.getTypeArg(int index)
Gets the type argument at a certain index. |
ASTType |
ExtExp.getTypeVariableArg(int index)
Gets the fixed type variable at a particular index. |
Methods in edu.ksu.cis.projects.bogor.ast with parameters of type ASTType | |
---|---|
void |
Constant.setCoercedType(ASTType newType)
Sets the coerced type of the literal. |
void |
InitialValue.setCoercedType(ASTType newType)
Sets the type to which the initial value is cast. |
void |
ExpExtension.setExpType(ASTType newExpType)
Sets the return type of this exp extension. |
void |
ASTFunType.setReturnType(ASTType newReturnType)
Sets the return type of this functional type. |
void |
FSM.setReturnType(ASTType newReturnType)
Sets the return type. |
void |
Fun.setReturnType(ASTType newReturnType)
Sets the return type. |
void |
ASTArrayType.setType(ASTType newType)
Sets the type. |
void |
CastExp.setType(ASTType newType)
Sets the type. |
void |
InstanceofExp.setType(ASTType newType)
Sets the type. |
void |
KindofExp.setType(ASTType newType)
Sets the type. |
void |
NewArrayExp.setType(ASTType newType)
Sets the type. |
void |
NewRecordExp.setType(ASTType newType)
Sets the type. |
void |
TypeAliasDefinition.setType(ASTType newType)
Sets the type. |
void |
TypedId.setType(ASTType newType)
Sets the type. |
Method parameters in edu.ksu.cis.projects.bogor.ast with type arguments of type ASTType | |
---|---|
void |
LetExp.setBindingTypes(List<? extends ASTType> newBindingTypes)
Sets the binding types. |
void |
ASTFunType.setParamTypes(List<? extends ASTType> newParameterTypes)
Sets the parameter types of this functional type. |
void |
ASTExtType.setTypeArgs(List<? extends ASTType> newParameterTypes)
Sets the type arguments for this type extension. |
void |
ExtExp.setTypeVarArgs(List<? extends ASTType> newTypeVarArgs)
Sets the arguments for the type vars. |
Constructors in edu.ksu.cis.projects.bogor.ast with parameters of type ASTType | |
---|---|
ASTArrayType(ASTType type,
int rank)
Default constructor. |
|
ASTFunType(List<? extends ASTType> paramTypes,
ASTType returnType)
Default constructor. |
|
BooleanConstant(String id,
boolean bool,
ASTType coercedType)
Default constructor. |
|
CastExp(ASTType type,
Exp exp)
Default constructor. |
|
DoubleConstant(String id,
double d,
ASTType coercedType)
Default constructor. |
|
ExpExtension(ASTType expType,
String id,
List<String> typeVarIds,
List<TypedId> params,
BitSet paramLazyModifiers,
boolean variableParameterLength)
Default constructor. |
|
FloatConstant(String id,
float f,
ASTType coercedType)
Default constructor. |
|
FSM(FSM.DeclarationKeyword keyword,
boolean active,
Exp optionalNumActiveExp,
boolean main,
String id,
ArrayList<Param> params,
ASTType optionalReturnType,
List<Local> locals,
List<Location> locations,
List<Catch> catches,
Statement statement)
Internal constructor. |
|
Fun(String id,
List<TypedId> params,
ASTType returnType,
Exp exp)
Default constructor. |
|
InitialValue(Exp value,
ASTType coercedType)
Node for initial value of a variable, casted to a particular type. |
|
InstanceofExp(Exp exp,
ASTType type)
Default constructor. |
|
IntConstant(String id,
BigInteger integer,
ASTType coercedType)
Default base 10 constructor. |
|
IntConstant(String id,
BigInteger integer,
Radix radix,
ASTType coercedType)
Default constructor. |
|
IntConstant(String id,
int integer,
ASTType coercedType)
Default base 10 constructor. |
|
IntConstant(String id,
int integer,
Radix radix,
ASTType coercedType)
Default constructor. |
|
KindofExp(Exp exp,
ASTType type)
Default constructor. |
|
LongConstant(String id,
BigInteger l,
ASTType coercedType)
Default base 10 constructor. |
|
LongConstant(String id,
BigInteger l,
Radix radix,
ASTType coercedType)
Default constructor. |
|
LongConstant(String id,
long l,
ASTType coercedType)
Default base 10 constructor. |
|
LongConstant(String id,
long l,
Radix radix,
ASTType coercedType)
Default constructor. |
|
NewArrayExp(ASTType type,
List<? extends Exp> lengths,
int rank)
Default constructor. |
|
NewRecordExp(ASTType type)
Default constructor. |
|
StringConstant(String id,
ASTType coercedType)
Default constructor. |
|
StringConstant(String id,
String string,
ASTType coercedType)
Default constructor. |
|
TypeAliasDefinition(String id,
ASTType type)
Default constructor. |
|
TypedId(String id,
ASTType type)
Default constructor. |
Constructor parameters in edu.ksu.cis.projects.bogor.ast with type arguments of type ASTType | |
---|---|
ASTExtType(String id,
List<? extends ASTType> argTypes)
Default constructor. |
|
ASTFunType(List<? extends ASTType> paramTypes,
ASTType returnType)
Default constructor. |
|
ExtExp(String extId,
String id,
List<? extends ASTType> typeVarArgs,
List<? extends Exp> args)
Default constructor. |
|
LetExp(List<? extends ASTType> bindingTypes,
List<String> bindingIds,
List<? extends Exp> bindingExps,
Exp exp)
Default constructor. |
Uses of ASTType in edu.ksu.cis.projects.bogor.ast.transform |
---|
Methods in edu.ksu.cis.projects.bogor.ast.transform that return ASTType | |
---|---|
ASTType |
HighToLowBIRCompiler.getCalledConstructType(String invokedId)
|
Methods in edu.ksu.cis.projects.bogor.ast.transform with parameters of type ASTType | |
---|---|
Exp |
HighToLowBIRCompiler.assignExpToNewLocal(Exp exp,
ExpBindingResolver ebr,
ASTType type)
|
String |
HighToLowBIRCompiler.newLocal(ASTType type)
|
Uses of ASTType in edu.ksu.cis.projects.bogor.parser |
---|
Methods in edu.ksu.cis.projects.bogor.parser that return ASTType | |
---|---|
ASTType |
BogorParser.ArithmeticBuiltinType()
|
ASTType |
BogorParser.BuiltinType()
|
ASTType |
BogorParser.CoercedType()
|
ASTType |
BogorParser.NonArrayParamType()
|
ASTType |
BogorParser.NonArrayParamTypePoly()
|
ASTType |
BogorParser.NonArrayType()
|
ASTType |
BogorParser.NonArrayTypePoly()
|
ASTType |
BogorParser.Type()
|
ASTType |
BogorParser.TypePoly()
|
Uses of ASTType in edu.ksu.cis.projects.bogor.symboltable |
---|
Methods in edu.ksu.cis.projects.bogor.symboltable that return types with arguments of type ASTType | |
---|---|
Map<ASTType,Type> |
SymbolTable.getASTTypeTypeTable()
Gets the ast.ASTType to type.Type mapping. |
Method parameters in edu.ksu.cis.projects.bogor.symboltable with type arguments of type ASTType | |
---|---|
void |
SymbolTable.setASTTypeTypeTable(Map<ASTType,Type> newTypeTypeTable)
Sets the ast.ASTType to type.Type mapping. |
Uses of ASTType in edu.ksu.cis.projects.bogor.type |
---|
Methods in edu.ksu.cis.projects.bogor.type that return ASTType | |
---|---|
ASTType |
ArrayType.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
ASTType |
BooleanType.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
ASTType |
DoubleType.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
ASTType |
EnumType.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
ASTType |
FloatType.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
ASTType |
FunType.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
ASTType |
IntRangeType.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
ASTType |
IntType.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
ASTType |
LockType.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
ASTType |
LongRangeType.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
ASTType |
LongType.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
ASTType |
NonPrimitiveExtType.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
ASTType |
NullType.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
ASTType |
PrimitiveExtType.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
ASTType |
PrimitiveTypeExtensionType.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
ASTType |
RecordType.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
ASTType |
StringType.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
ASTType |
ThreadIdType.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
abstract ASTType |
Type.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
ASTType |
TypeExtensionType.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
ASTType |
TypeVar.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
ASTType |
UnknownType.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
ASTType |
VoidType.toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |