Package | Description |
---|---|
jeb.api.ast |
This package contains classes used to represent Java Abstract Syntax Trees (AST).
|
Modifier and Type | Interface and Description |
---|---|
interface |
IExpression
This interface is implemented by AST elements representing expressions.
|
interface |
ILeftExpression
This interface is implemented by AST elements representing expressions
that can be assigned to, ie expressions that can be left-members of assignment statements.
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayElt
This AST element represents the element of an array.
|
class |
Assignment
This AST element represents an assignment.
|
class |
Block
This AST element represents a sequence of
Statement s. |
class |
Break
This AST element represents a "break" statement.
|
class |
Call
This AST element represents a call to a method.
|
class |
Class
This AST element represents a Java class.
|
class |
Compound
This is the base class for AST compound statements.
|
class |
ConditionalExpression
This AST element is used to represent conditional expressions.
|
class |
Constant
This AST element represents a literal, or constant value.
|
class |
Continue
This AST element represents a "continue" statement.
|
class |
Definition
This AST element represents definition statements.
|
class |
DoWhileStm
This AST element represents a do-while loop statement.
|
class |
Expression
This AST element is used to represent arithmetic or logical expressions.
|
class |
Field
This AST element represents a Java field.
|
class |
ForStm
This AST element represents a for loop statement.
|
class |
Goto
This AST element represents a "goto" statement.
|
class |
Identifier
This AST element represents a Java identifier, or variable.
|
class |
IfStm
This AST element represents the if-statement.
|
class |
InstanceField
This AST element represents a non-static field variable.
|
class |
Label
This AST element represents a label statement.
|
class |
Method
This AST element represents a Java method.
|
class |
Monitor
This AST element represents a "monitor" statement.
|
class |
New
This AST element represents the instantiation of a new non-array object.
|
class |
NewArray
This AST element represents the instantiation of a new array object.
|
class |
NonStatement
Base class for AST elements that do not represent Statements.
|
class |
Predicate
This AST element is used to represent predicates.
|
class |
Return
This AST element is used to represent method return statements.
|
class |
Statement
Base class for AST elements that represent
Statement s. |
class |
StaticField
This AST element represents an static field variable.
|
class |
SwitchStm
This AST element represents the switch-statement.
|
class |
Throw
This AST element represents a throw statement.
|
class |
TryStm
This AST element represents the try-catch element.
|
class |
TypeReference
This AST element represents a type reference.
|
class |
WhileStm
This AST element represents a while loop statement.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<IElement> |
Statement.getSubElements() |
java.util.List<IElement> |
NonStatement.getSubElements() |
java.util.List<IElement> |
IElement.getSubElements()
Get the list of elements contained within this element.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Statement.replaceSubElement(IElement old_elt,
IElement new_elt) |
boolean |
NonStatement.replaceSubElement(IElement old_elt,
IElement new_elt) |
boolean |
IElement.replaceSubElement(IElement old_elt,
IElement new_elt)
Replace an element by another element.
|