|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Type | |
koala.dynamicjava.parser | Provides the classes that compose the default parser for the language. |
koala.dynamicjava.tree | Provides classes and interfaces for producing an abstract syntax tree. |
Uses of Type in koala.dynamicjava.parser |
Methods in koala.dynamicjava.parser that return Type | |
Type |
Parser.type()
Used internally to parse types |
Type |
Parser.resultType()
Used internally to parse types |
Type |
Parser.primitiveType()
Used internally to parse types |
Uses of Type in koala.dynamicjava.tree |
Subclasses of Type in koala.dynamicjava.tree | |
class |
ArrayType
This class represents the array type nodes of the syntax tree |
class |
BooleanType
This class represents the boolean type nodes of the syntax tree |
class |
ByteType
This class represents the byte type nodes of the syntax tree |
class |
CharType
This class represents the char type nodes of the syntax tree |
class |
DoubleType
This class represents the double type nodes of the syntax tree |
class |
FloatType
This class represents the float type nodes of the syntax tree |
class |
IntType
This class represents the int type nodes of the syntax tree |
class |
LongType
This class represents the long type nodes of the syntax tree |
class |
PrimitiveType
This class represents the primitive type nodes of the syntax tree |
class |
ReferenceType
This class represents the reference type nodes of the syntax tree |
class |
ShortType
This class represents the short type nodes of the syntax tree |
class |
VoidType
This class represents the void type nodes of the syntax tree |
Methods in koala.dynamicjava.tree that return Type | |
Type |
VariableDeclaration.getType()
Gets the declared type for this variable |
Type |
TypeExpression.getType()
Returns the type represented by this expression |
static Type |
TreeUtilities.classToType(java.lang.Class c)
Creates Type node from a Class object |
static Type |
TreeUtilities.classToType(java.lang.Class c,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Creates Type node from a Class object |
Type |
MethodDeclaration.getReturnType()
Gets the return type of this method |
Type |
InstanceOfExpression.getReferenceType()
Returns the type to check |
Type |
FormalParameter.getType()
Returns the declaring type of this parameter |
Type |
FieldDeclaration.getType()
Gets the declared type for this field |
Type |
CastExpression.getTargetType()
Returns the target type |
Type |
ArrayType.getElementType()
Returns the type of the elements of the arrays represented by this type |
Type |
ArrayInitializer.getElementType()
Returns the element type |
Type |
Allocation.getCreationType()
Returns the creation type |
Methods in koala.dynamicjava.tree with parameters of type Type | |
void |
VariableDeclaration.setType(Type t)
Sets the type of this field |
void |
MethodDeclaration.setReturnType(Type t)
Sets the return type of this method |
void |
InstanceOfExpression.setReferenceType(Type t)
Sets the type to check |
void |
FormalParameter.setType(Type t)
Sets the type of this parameter |
void |
FieldDeclaration.setType(Type t)
Sets the type of this field |
void |
CastExpression.setTargetType(Type t)
Sets the target type |
void |
ArrayType.setElementType(Type t)
Sets the type of the elements of the arrays represented by this type |
void |
ArrayInitializer.setElementType(Type t)
Sets the element type |
void |
Allocation.setCreationType(Type t)
Sets the creation type |
Constructors in koala.dynamicjava.tree with parameters of type Type | |
VariableDeclaration(boolean fin,
Type type,
java.lang.String name,
Expression init)
Creates a new variable declaration |
|
VariableDeclaration(boolean fin,
Type type,
java.lang.String name,
Expression init,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Creates a new variable declaration |
|
TypeExpression(Type t)
Initializes the expression |
|
TypeExpression(Type t,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Initializes the expression |
|
SimpleAllocation(Type tp,
java.util.List args)
Initializes the expression |
|
SimpleAllocation(Type tp,
java.util.List args,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Initializes the expression |
|
MethodDeclaration(int flags,
Type type,
java.lang.String name,
java.util.List params,
java.util.List excepts,
BlockStatement body)
Creates a new method declaration |
|
MethodDeclaration(int flags,
Type type,
java.lang.String name,
java.util.List params,
java.util.List excepts,
BlockStatement body,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Creates a new method declaration |
|
InstanceOfExpression(Expression exp,
Type t)
Initializes the expression |
|
InstanceOfExpression(Expression exp,
Type t,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Initializes the expression |
|
InnerClassAllocation(Expression exp,
Type tp,
java.util.List args,
java.util.List memb)
Initializes the expression |
|
InnerClassAllocation(Expression exp,
Type tp,
java.util.List args,
java.util.List memb,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Initializes the expression |
|
InnerAllocation(Expression exp,
Type tp,
java.util.List args)
Initializes the expression |
|
InnerAllocation(Expression exp,
Type tp,
java.util.List args,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Initializes the expression |
|
FormalParameter(boolean f,
Type t,
java.lang.String n)
Initializes the node |
|
FormalParameter(boolean f,
Type t,
java.lang.String n,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Initializes the node |
|
FieldDeclaration(int flags,
Type type,
java.lang.String name,
Expression init)
Creates a new field declaration |
|
FieldDeclaration(int flags,
Type type,
java.lang.String name,
Expression init,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Creates a new field declaration |
|
ClassAllocation(Type tp,
java.util.List args,
java.util.List memb)
Initializes the expression |
|
ClassAllocation(Type tp,
java.util.List args,
java.util.List memb,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Initializes the expression |
|
CastExpression(Type tt,
Expression exp)
Initializes the expression |
|
CastExpression(Type tt,
Expression exp,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Initializes the expression |
|
ArrayType(Type et,
int dim)
Initializes the type |
|
ArrayType(Type et,
int dim,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Initializes the type |
|
ArrayAllocation(Type tp,
ArrayAllocation.TypeDescriptor td)
Initializes the expression |
|
ArrayAllocation(Type tp,
ArrayAllocation.TypeDescriptor td,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Initializes the expression |
|
Allocation(Type tp,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Initializes the expression |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |