polyglot.ast
Interface Assign
- All Superinterfaces:
- java.lang.Cloneable, Copy, Expr, JL, Node, NodeOps, Prefix, Receiver, Term, Typed
- All Known Subinterfaces:
- AmbAssign, ArrayAccessAssign, FieldAssign, LocalAssign
- All Known Implementing Classes:
- AmbAssign_c, ArrayAccessAssign_c, Assign_c, FieldAssign_c, LocalAssign_c
public interface Assign
- extends Expr
An Assign
represents a Java assignment expression.
Methods inherited from interface polyglot.ast.Node |
childExpectedType, del, del, dump, error, error, ext, ext, ext, ext, isDisambiguated, isTypeChecked, position, position, visit, visitChild, visitEdge, visitList |
Methods inherited from interface polyglot.ast.JL |
init, node |
Methods inherited from interface polyglot.ast.NodeOps |
addDecls, buildTypes, buildTypesEnter, checkConstants, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, prettyPrint, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride, visitChildren |
Methods inherited from interface polyglot.util.Copy |
copy |
Methods inherited from interface polyglot.ast.Typed |
type |
ASSIGN
static final Assign.Operator ASSIGN
ADD_ASSIGN
static final Assign.Operator ADD_ASSIGN
SUB_ASSIGN
static final Assign.Operator SUB_ASSIGN
MUL_ASSIGN
static final Assign.Operator MUL_ASSIGN
DIV_ASSIGN
static final Assign.Operator DIV_ASSIGN
MOD_ASSIGN
static final Assign.Operator MOD_ASSIGN
BIT_AND_ASSIGN
static final Assign.Operator BIT_AND_ASSIGN
BIT_OR_ASSIGN
static final Assign.Operator BIT_OR_ASSIGN
BIT_XOR_ASSIGN
static final Assign.Operator BIT_XOR_ASSIGN
SHL_ASSIGN
static final Assign.Operator SHL_ASSIGN
SHR_ASSIGN
static final Assign.Operator SHR_ASSIGN
USHR_ASSIGN
static final Assign.Operator USHR_ASSIGN
left
Expr left()
- Left child (target) of the assignment.
The target must be a Variable, but this is not enforced
statically to keep Polyglot backward compatible.
left
Assign left(Expr left)
- Set the left child (target) of the assignment.
The target must be a Variable, but this is not enforced
statically to keep Polyglot backward compatible.
operator
Assign.Operator operator()
- The assignment's operator.
operator
Assign operator(Assign.Operator op)
- Set the assignment's operator.
right
Expr right()
- Right child (source) of the assignment.
right
Assign right(Expr right)
- Set the right child (source) of the assignment.
throwsArithmeticException
boolean throwsArithmeticException()