recoder.java
Interface Expression
- All Superinterfaces:
- ModelElement, ProgramElement, SourceElement
- All Known Subinterfaces:
- ExpressionStatement
- All Known Implementing Classes:
- AnnotationUseSpecification, ArrayInitializer, ArrayReference, Assignment, BinaryAnd, BinaryAndAssignment, BinaryNot, BinaryOr, BinaryOrAssignment, BinaryXOr, BinaryXOrAssignment, BooleanLiteral, CharLiteral, ComparativeOperator, Conditional, CopyAssignment, Divide, DivideAssignment, DoubleLiteral, ElementValueArrayInitializer, Equals, FieldReference, FloatLiteral, GreaterOrEquals, GreaterThan, Instanceof, IntLiteral, LessOrEquals, LessThan, Literal, LogicalAnd, LogicalNot, LogicalOr, LongLiteral, MetaClassReference, MethodReference, Minus, MinusAssignment, Modulo, ModuloAssignment, Negative, New, NewArray, NotEquals, NullLiteral, Operator, ParenthesizedExpression, Plus, PlusAssignment, Positive, PostDecrement, PostIncrement, PreDecrement, PreIncrement, ShiftLeft, ShiftLeftAssignment, ShiftRight, ShiftRightAssignment, StringLiteral, SuperReference, ThisReference, Times, TimesAssignment, TypeCast, TypeOperator, UncollatedReferenceQualifier, UnsignedShiftRight, UnsignedShiftRightAssignment, VariableReference
public interface Expression
- extends ProgramElement
General expression. In Java, any Assignment
is also a valid expression.
- Author:
- AL, AutoDoc
| Methods inherited from interface recoder.java.SourceElement |
accept, getEndPosition, getFactory, getFirstElement, getLastElement, getRelativePosition, getStartPosition, setEndPosition, setRelativePosition, setStartPosition, toSource |
getExpressionContainer
ExpressionContainer getExpressionContainer()
- Get expression container.
- Returns:
- the expression container.
setExpressionContainer
void setExpressionContainer(ExpressionContainer c)
- Set expression container.
- Parameters:
c - an expression container.
deepClone
Expression deepClone()
- Description copied from interface:
SourceElement
- Creates a deep clone of the current source element. For
NonTerminalProgramElements, the parent roles are valid, except
that the root element is not included anywhere and hence has no set
parents, of course. This method also clones Comment
s, but does not clone derived information such as scopes.
- Specified by:
deepClone in interface SourceElement