Package | Description |
---|---|
ast | |
parser |
Class and Description |
---|
ASTNode
The abstract ASTNode class represents a generic AST node.
|
BinaryArithExpr
The abstract BinaryArithExpr class represents arithmetic
expressions.
|
BinaryCompExpr
The abstract BinaryCompExpr class represents comparison expressions.
|
BinaryExpr
The abstract BinaryExpr class represents binary expressions
whose operands are both expressions (i.e., this does not include assignments,
instanceof, etc.).
|
BinaryLogicExpr
The abstract BinaryLogicExpr class represents boolean logic
expressions.
|
ClassList
The ClassList class represents a list of class declarations.
|
ConstExpr
The abstract ConstExpr class represents constant expressions
(int constants, boolean constants, String constants).
|
Expr
The abstract Expr class represents an expression that is
is contained in either a statement, a field declaration, or another
expression.
|
ExprList
The ExprList class represents a list of expressions.
|
FormalList
The FormalList class represents a list of formal parameters.
|
ListNode
The abstract ListNode class represents a generic list of AST
nodes.
|
Member
The abstract Member class represents either
a field declaration or a method declaration contained within a class
declaration.
|
MemberList
The MemberList class represents a list of class members.
|
Stmt
The abstract Stmt class represents a statement that is
is contained in a method body.
|
StmtList
The StmtList class represents a list of method statements.
|
UnaryExpr
The abstract UnaryExpr class represents unary expressions
whose operand is an expression (i.e., this does not include new
constructions).
|
Class and Description |
---|
BlockStmt
The BlockStmt class represents a block statement, which
contains a list of statements.
|
BreakStmt
The BreakStmt class represents a break statement
appearing within in a loop in a method declaration.
|
Class_
The Class_ class represents a class declaration,
which consists of a filename (filename), a class name
(name), the name of its parent class (parent),
and a list of members (members) which can be either field
declarations or method declarations.
|
ConstBooleanExpr
The ConstBooleanExpr class represents a boolean constant expression.
|
ConstIntExpr
The ConstIntExpr class represents an integer constant expression.
|
ConstStringExpr
The ConstStringExpr class represents a String constant expression.
|
DeclStmt
The DeclStmt class represents a variable declaration statement
appearing in a method declaration.
|
Expr
The abstract Expr class represents an expression that is
is contained in either a statement, a field declaration, or another
expression.
|
ExprList
The ExprList class represents a list of expressions.
|
ExprStmt
The ExprStmt class represents an expression statement
(a statement containing a single expression) appearing in a method
declaration.
|
Field
The Field class represents a field (instance variable) declaration
appearing in a class declaration.
|
Formal
The Formal class represents a formal parameter declaration
appearing in a method declaration.
|
ForStmt
The ForStmt class represents a for (loop) statement
appearing in a method declaration.
|
IfStmt
The IfStmt class represents a if-then-else statement
appearing in a method declaration.
|
Member
The abstract Member class represents either
a field declaration or a method declaration contained within a class
declaration.
|
Method
The Method class represents a method declaration within
a class declaration.
|
Program
The Program class represents an entire program, which
consists of a list of classes (classList).
|
ReturnStmt
The ReturnStmt class represents a return statement within
the body of a method.
|
Stmt
The abstract Stmt class represents a statement that is
is contained in a method body.
|
WhileStmt
The WhileStmt class represents a while (loop) statement
appearing in a method declaration.
|