|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Node | |
koala.dynamicjava.interpreter | Contains the classes for interpreting Java language statements. |
koala.dynamicjava.interpreter.context | Provides the classes that hold the context of execution. |
koala.dynamicjava.interpreter.error | Contains the runtime errors classes. |
koala.dynamicjava.interpreter.modifier | Provides interfaces and classes for dealing with different types of left hand side modifier in an assignment. |
koala.dynamicjava.interpreter.throwable | Provides interfaces and classes for dealing with different types of non local gotos and errors. |
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 Node in koala.dynamicjava.interpreter |
Methods in koala.dynamicjava.interpreter with parameters of type Node | |
static java.lang.Class |
NodeProperties.getComponentType(Node n)
Returns the type property of a node |
static LeftHandSideModifier |
NodeProperties.getModifier(Node n)
Returns the modifier property of a node |
static java.lang.Class |
NodeProperties.getType(Node n)
Returns the type property of a node |
static ClassInfo |
NodeProperties.getClassInfo(Node n)
Returns the type property of a node when it is a class info |
protected void |
ClassInfoCompiler.addToClassInitializer(Node n)
Adds a statement to the class initializer |
protected void |
ClassInfoCompiler.addToInstanceInitializer(Node n)
Adds a statement to the instance initializer |
protected void |
ClassInfoCompiler.ConstructorVisitor.checkList(java.util.List l,
java.lang.String s,
Node n)
Check a list of node |
Uses of Node in koala.dynamicjava.interpreter.context |
Fields in koala.dynamicjava.interpreter.context declared as Node | |
protected Node |
StaticContext.defaultQualifier
The default qualifier |
Methods in koala.dynamicjava.interpreter.context that return Node | |
Node |
GlobalContext.getDefaultQualifier(Node node)
Returns the default qualifier for this context |
Node |
GlobalContext.getDefaultQualifier(Node node,
java.lang.String tname)
Returns the default qualifier for this context |
Node |
StaticContext.getDefaultQualifier(Node node)
Returns the default qualifier for this context |
Node |
MethodContext.getDefaultQualifier(Node node,
java.lang.String tname)
Returns the default qualifier for this context |
Node |
Context.getDefaultQualifier(Node node)
Returns the default qualifier for this context |
Node |
Context.getDefaultQualifier(Node node,
java.lang.String tname)
Returns the default qualifier for this context |
Methods in koala.dynamicjava.interpreter.context with parameters of type Node | |
Node |
GlobalContext.getDefaultQualifier(Node node)
Returns the default qualifier for this context |
Node |
GlobalContext.getDefaultQualifier(Node node,
java.lang.String tname)
Returns the default qualifier for this context |
Expression |
GlobalContext.createName(Node node,
IdentifierToken name)
Creates the tree that is associated with the given name |
java.lang.reflect.Method |
GlobalContext.lookupMethod(Node prefix,
java.lang.String mname,
java.lang.Class[] params)
Looks for a method |
java.lang.reflect.Method |
GlobalContext.lookupSuperMethod(Node node,
java.lang.String mname,
java.lang.Class[] params)
Looks for a super method |
java.lang.reflect.Field |
GlobalContext.getSuperField(Node node,
java.lang.String fn)
Looks for a field in the super class |
Expression |
StaticContext.createName(Node node,
IdentifierToken name)
Creates the tree that is associated with the given name |
Node |
StaticContext.getDefaultQualifier(Node node)
Returns the default qualifier for this context |
java.lang.reflect.Method |
StaticContext.lookupMethod(Node prefix,
java.lang.String mname,
java.lang.Class[] params)
Looks for a method |
java.lang.reflect.Field |
StaticContext.getSuperField(Node node,
java.lang.String fn)
Looks for a field in the super class |
java.lang.reflect.Method |
StaticContext.lookupSuperMethod(Node node,
java.lang.String mname,
java.lang.Class[] params)
Looks for a super method |
Node |
MethodContext.getDefaultQualifier(Node node,
java.lang.String tname)
Returns the default qualifier for this context |
Expression |
MethodContext.createName(Node node,
IdentifierToken name)
Creates the tree that is associated with the given name |
java.lang.reflect.Method |
MethodContext.lookupMethod(Node prefix,
java.lang.String mname,
java.lang.Class[] params)
Looks for a method |
Node |
Context.getDefaultQualifier(Node node)
Returns the default qualifier for this context |
Node |
Context.getDefaultQualifier(Node node,
java.lang.String tname)
Returns the default qualifier for this context |
Expression |
Context.createName(Node node,
IdentifierToken name)
Creates the tree that is associated with the given name |
java.lang.reflect.Method |
Context.lookupMethod(Node prefix,
java.lang.String mname,
java.lang.Class[] params)
Looks for a method |
java.lang.reflect.Method |
Context.lookupSuperMethod(Node node,
java.lang.String mname,
java.lang.Class[] params)
Looks for a super method |
java.lang.reflect.Field |
Context.getSuperField(Node node,
java.lang.String fn)
Looks for a field in the super class |
Uses of Node in koala.dynamicjava.interpreter.error |
Methods in koala.dynamicjava.interpreter.error that return Node | |
Node |
ExecutionError.getNode()
Returns the syntax tree node where the error occurs |
Constructors in koala.dynamicjava.interpreter.error with parameters of type Node | |
ExecutionError(java.lang.String s,
Node n)
Constructs an ExecutionError with the specified
detail message, filename, line and column. |
|
CatchedExceptionError(java.lang.Exception e,
Node n)
Constructs an CatchedExceptionError with the specified
detail message, filename, line, column and exception. |
Uses of Node in koala.dynamicjava.interpreter.modifier |
Fields in koala.dynamicjava.interpreter.modifier declared as Node | |
protected Node |
StaticFieldModifier.node
The node |
Constructors in koala.dynamicjava.interpreter.modifier with parameters of type Node | |
InvalidModifier(Node n)
Creates a new field modifier |
|
StaticFieldModifier(java.lang.reflect.Field f,
Node n)
Creates a new field modifier |
Uses of Node in koala.dynamicjava.interpreter.throwable |
Constructors in koala.dynamicjava.interpreter.throwable with parameters of type Node | |
ThrownException(java.lang.Throwable e,
Node n)
Constructs an ThrownExceptionError with the specified
detail message, filename, line, column and exception. |
|
ReturnException(java.lang.String s,
Node n)
Constructs an ReturnException with a value |
|
ReturnException(java.lang.String s,
java.lang.Object o,
Node n)
Constructs an ReturnExceptionError with the specified
detail message, filename, line, column and exception. |
Uses of Node in koala.dynamicjava.parser |
Methods in koala.dynamicjava.parser that return Node | |
Node |
Parser.topLevelStatement()
Parses one top level statement. |
Node |
Parser.statement()
Parses one statement |
Node |
Parser.statementExpression()
Parses one statement expression |
Uses of Node in koala.dynamicjava.tree |
Subclasses of Node in koala.dynamicjava.tree | |
class |
AddAssignExpression
This class represents the add assign expression nodes of the syntax tree |
class |
AddExpression
This class represents the add expression nodes of the syntax tree |
class |
Allocation
This class represents the allocation nodes of the syntax tree |
class |
AndExpression
This class represents the and expression nodes of the syntax tree |
class |
ArrayAccess
This class represents the array access nodes of the syntax tree |
class |
ArrayAllocation
This class represents the array allocation nodes of the syntax tree |
class |
ArrayInitializer
This class represents the array initializer nodes of the syntax tree |
class |
ArrayType
This class represents the array type nodes of the syntax tree |
class |
AssignExpression
This class represents the assign expression nodes of the syntax tree |
class |
BinaryExpression
This class represents the binary expression nodes of the syntax tree |
class |
BitAndAssignExpression
This class represents the bit and assign expression nodes of the syntax tree |
class |
BitAndExpression
This class represents the bit and expression nodes of the syntax tree |
class |
BitOrAssignExpression
This class represents the bit and assign expression nodes of the syntax tree |
class |
BitOrExpression
This class represents the bit or expression nodes of the syntax tree |
class |
BlockStatement
This class represents the block statement nodes of the syntax tree |
class |
BooleanLiteral
This class represents the boolean literal nodes of the syntax tree |
class |
BooleanType
This class represents the boolean type nodes of the syntax tree |
class |
BreakStatement
This class represents the break statement nodes of the syntax tree |
class |
ByteType
This class represents the byte type nodes of the syntax tree |
class |
CastExpression
This class represents the cast expression nodes of the syntax tree |
class |
CatchStatement
To store the informations about the catch statements |
class |
CharacterLiteral
This class represents the character literal nodes of the syntax tree |
class |
CharType
This class represents the char type nodes of the syntax tree |
class |
ClassAllocation
This class represents the anonymous class allocation nodes of the syntax tree |
class |
ClassDeclaration
This class represents a class declaration |
class |
ClassInitializer
This class represents the class initializer statement nodes of the syntax tree |
class |
ComplementExpression
This class represents the complement expression nodes of the syntax tree |
class |
ConditionalExpression
This class represents the binary expression nodes of the syntax tree |
class |
ConstructorDeclaration
This class represents constructor declarations in an AST |
class |
ConstructorInvocation
This class represents the constructor call nodes of the syntax tree |
class |
ContinueStatement
This class represents the continue statement nodes of the syntax tree |
class |
DivideAssignExpression
This class represents the divide assign expression nodes of the syntax tree |
class |
DivideExpression
This class represents the divide expression nodes of the syntax tree |
class |
DoStatement
This class represents the do statement nodes of the syntax tree |
class |
DoubleLiteral
This class represents the double literal nodes of the syntax tree |
class |
DoubleType
This class represents the double type nodes of the syntax tree |
class |
EmptyStatement
This class represents the empty statement nodes of the syntax tree |
class |
EqualExpression
This class represents the equal expression nodes of the syntax tree |
class |
ExclusiveOrAssignExpression
This class represents the exclusive and assign expression nodes of the syntax tree |
class |
ExclusiveOrExpression
This class represents the bit or expression nodes of the syntax tree |
class |
Expression
This class represents the expression nodes of the syntax tree |
class |
FieldAccess
This class represents the field access nodes of the syntax tree |
class |
FieldDeclaration
This class represents field declarations in an AST |
class |
FloatLiteral
This class represents the float literal nodes of the syntax tree |
class |
FloatType
This class represents the float type nodes of the syntax tree |
class |
FormalParameter
This class represents the method parameters in the syntax tree |
class |
ForStatement
This class represents the for statement nodes of the syntax tree |
class |
FunctionCall
This class represents the function call nodes of the syntax tree |
class |
GreaterExpression
This class represents the greater expression nodes of the syntax tree |
class |
GreaterOrEqualExpression
This class represents the greater or equal expression nodes of the syntax tree |
class |
IfThenElseStatement
This class represents the if-then-else statement nodes of the syntax tree |
class |
IfThenStatement
This class represents the if-then statement nodes of the syntax tree |
class |
ImportDeclaration
This class represents the import declarations |
class |
Initializer
This class represents the initializer statement nodes of the syntax tree |
class |
InnerAllocation
This class represents the inner allocation nodes of the syntax tree |
class |
InnerClassAllocation
This class represents the anonymous inner classe allocation nodes of the syntax tree |
class |
InstanceInitializer
This class represents the instance initializer statement nodes of the syntax tree |
class |
InstanceOfExpression
This class represents the instanceof expression nodes of the syntax tree |
class |
IntegerLiteral
This class represents the integer literal nodes of the syntax tree |
class |
InterfaceDeclaration
This class represents an interface declaration |
class |
IntType
This class represents the int type nodes of the syntax tree |
class |
LabeledStatement
This class represents the labeled statement nodes of the syntax tree |
class |
LessExpression
This class represents the less expression nodes of the syntax tree |
class |
LessOrEqualExpression
This class represents the less or equal expression nodes of the syntax tree |
class |
Literal
This class represents the literal nodes of the syntax tree |
class |
LongLiteral
This class represents the long literal nodes of the syntax tree |
class |
LongType
This class represents the long type nodes of the syntax tree |
class |
MethodCall
This class represents the method call nodes of the syntax tree |
class |
MethodDeclaration
This class represents method declarations in an AST |
class |
MinusExpression
This class represents the minus expression nodes of the syntax tree |
class |
MultiplyAssignExpression
This class represents the multiply assign expression nodes of the syntax tree |
class |
MultiplyExpression
This class represents the multiply expression nodes of the syntax tree |
class |
NotEqualExpression
This class represents the not equal expression nodes of the syntax tree |
class |
NotExpression
This class represents the not expression nodes of the syntax tree |
class |
NullLiteral
This class represents the null literal nodes of the syntax tree |
class |
ObjectFieldAccess
This class represents the field access nodes of the syntax tree |
class |
ObjectMethodCall
This class represents the method call nodes of the syntax tree |
class |
OrExpression
This class represents the or expression nodes of the syntax tree |
class |
PackageDeclaration
This class represents the package declarations |
class |
PlusExpression
This class represents the plus expression nodes of the syntax tree |
class |
PostDecrement
This class represents the post decrement nodes of the syntax tree |
class |
PostIncrement
This class represents the post increment nodes of the syntax tree |
class |
PreDecrement
This class represents the pre decrement nodes of the syntax tree |
class |
PreIncrement
This class represents the pre increment nodes of the syntax tree |
class |
PrimaryExpression
This class represents the primary expression nodes of the syntax tree |
class |
PrimitiveType
This class represents the primitive type nodes of the syntax tree |
class |
QualifiedName
This class represents the qualified name nodes of the syntax tree |
class |
ReferenceType
This class represents the reference type nodes of the syntax tree |
class |
RemainderAssignExpression
This class represents the remainder assign expression nodes of the syntax tree |
class |
RemainderExpression
This class represents the remainder expression nodes of the syntax tree |
class |
ReturnStatement
This class represents the return statement nodes of the syntax tree |
class |
ShiftLeftAssignExpression
This class represents the shift left assign expression nodes of the syntax tree |
class |
ShiftLeftExpression
This class represents the shift left expression nodes of the syntax tree |
class |
ShiftRightAssignExpression
This class represents the shift right assign expression nodes of the syntax tree |
class |
ShiftRightExpression
This class represents the shift right expression nodes of the syntax tree |
class |
ShortType
This class represents the short type nodes of the syntax tree |
class |
SimpleAllocation
This class represents the allocation nodes of the syntax tree |
class |
SimpleAssignExpression
This class represents the assign expression nodes of the syntax tree |
class |
Statement
This class represents the statement nodes of the syntax tree |
class |
StaticFieldAccess
This class represents the field access nodes of the syntax tree |
class |
StaticMethodCall
This class represents the static method call nodes of the syntax tree |
class |
StringLiteral
This class represents the string literal nodes of the syntax tree |
class |
SubtractAssignExpression
This class represents the subtract assign expression nodes of the syntax tree |
class |
SubtractExpression
This class represents the subtract expression nodes of the syntax tree |
class |
SuperFieldAccess
This class represents the super field access nodes of the syntax tree |
class |
SuperMethodCall
This class represents the super method call nodes of the syntax tree |
class |
SwitchBlock
This class represents the switch expression-statement bindings |
class |
SwitchStatement
This class represents the switch statement nodes of the syntax tree |
class |
SynchronizedStatement
This class represents the synchronized statement nodes of the syntax tree |
class |
ThisExpression
This class represents the 'this' expression nodes of the syntax tree |
class |
ThrowStatement
This class represents the throw statement nodes of the syntax tree |
class |
TryStatement
This class represents the try statement nodes of the syntax tree |
class |
Type
This class represents the type nodes of the syntax tree |
class |
TypeDeclaration
This class represents a type declaration |
class |
TypeExpression
This class represents the type expression nodes of the syntax tree |
class |
UnaryExpression
This class represents the unary expression nodes of the syntax tree |
class |
UnsignedShiftRightAssignExpression
This class represents the unsigned shift right assign expression nodes of the syntax tree |
class |
UnsignedShiftRightExpression
This class represents the unsigned shift right expression nodes of the syntax tree |
class |
VariableDeclaration
This class represents variable declarations in an AST |
class |
VoidType
This class represents the void type nodes of the syntax tree |
class |
WhileStatement
This class represents the while statement nodes of the syntax tree |
Methods in koala.dynamicjava.tree that return Node | |
Node |
TryStatement.getTryBlock()
Gets the try block |
Node |
TryStatement.getFinallyBlock()
Gets the finally block |
Node |
ForStatement.getBody()
Returns the body of this statement |
Node |
WhileStatement.getBody()
Returns the body of this statement |
Node |
LabeledStatement.getStatement()
Returns the statement |
Node |
CatchStatement.getBlock()
Returns the block |
Node |
SynchronizedStatement.getBody()
Returns the body of this statement |
Node |
DoStatement.getBody()
Returns the body of this statement |
Node |
IfThenStatement.getThenStatement()
Returns the then statement of this statement |
Node |
IfThenElseStatement.getElseStatement()
Returns the else statement of this statement |
Methods in koala.dynamicjava.tree with parameters of type Node | |
void |
ForStatement.setBody(Node node)
Sets the body of this statement |
void |
WhileStatement.setBody(Node node)
Sets the body of this statement |
void |
LabeledStatement.setStatement(Node n)
Sets the statement |
void |
SynchronizedStatement.setBody(Node node)
Sets the body of this statement |
void |
DoStatement.setBody(Node node)
Sets the body of this statement |
void |
IfThenStatement.setThenStatement(Node node)
Sets the then statement of this statement |
void |
IfThenElseStatement.setElseStatement(Node node)
Sets the else statement of this statement |
Constructors in koala.dynamicjava.tree with parameters of type Node | |
TryStatement(Node tryB,
java.util.List catchL,
Node fin,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Creates a new while statement |
|
ForStatement(java.util.List init,
Expression cond,
java.util.List updt,
Node body)
Creates a new for statement |
|
ForStatement(java.util.List init,
Expression cond,
java.util.List updt,
Node body,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Creates a new for statement |
|
WhileStatement(Expression cond,
Node body)
Creates a new while statement |
|
WhileStatement(Expression cond,
Node body,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Creates a new while statement |
|
LabeledStatement(java.lang.String label,
Node stat)
Creates a new while statement |
|
LabeledStatement(java.lang.String label,
Node stat,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Creates a new while statement |
|
CatchStatement(FormalParameter fp,
Node blk,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Creates a new catch statement |
|
SynchronizedStatement(Expression lock,
Node body,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Creates a new while statement |
|
DoStatement(Expression cond,
Node body)
Creates a new do statement |
|
DoStatement(Expression cond,
Node body,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Creates a new do statement |
|
IfThenStatement(Expression cond,
Node tstmt)
Creates a new while statement |
|
IfThenStatement(Expression cond,
Node tstmt,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Creates a new while statement |
|
IfThenElseStatement(Expression cond,
Node tstmt,
Node estmt)
Creates a new while statement |
|
IfThenElseStatement(Expression cond,
Node tstmt,
Node estmt,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Creates a new while statement |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |