|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpolyglot.ast.Node_c
polyglot.ast.Term_c
polyglot.ast.Expr_c
polyglot.ast.Assign_c
polyglot.ast.LocalAssign_c
public class LocalAssign_c
A LocalAssign_c
represents a Java assignment expression
to a local variable. For instance, x = e
.
The class of the Expr
returned by
LocalAssign_c.left()
is guaranteed to be an Local
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface polyglot.ast.Assign |
---|
Assign.Operator |
Field Summary |
---|
Fields inherited from class polyglot.ast.Assign_c |
---|
left, op, right |
Fields inherited from class polyglot.ast.Expr_c |
---|
type |
Fields inherited from class polyglot.ast.Term_c |
---|
exceptions, reachable |
Fields inherited from class polyglot.ast.Node_c |
---|
del, error, ext, position |
Fields inherited from interface polyglot.ast.Assign |
---|
ADD_ASSIGN, ASSIGN, BIT_AND_ASSIGN, BIT_OR_ASSIGN, BIT_XOR_ASSIGN, DIV_ASSIGN, MOD_ASSIGN, MUL_ASSIGN, SHL_ASSIGN, SHR_ASSIGN, SUB_ASSIGN, USHR_ASSIGN |
Constructor Summary | |
---|---|
LocalAssign_c(Position pos,
Local left,
Assign.Operator op,
Expr right)
|
Method Summary | |
---|---|
protected void |
acceptCFGAssign(CFGBuilder v)
###@@@DOCO TODO |
protected void |
acceptCFGOpAssign(CFGBuilder v)
###@@@DOCO TODO |
Term |
entry()
Return the first (sub)term performed when evaluating this term. |
Assign |
left(Expr left)
Set the left operand of the expression. |
Methods inherited from class polyglot.ast.Assign_c |
---|
acceptCFG, childExpectedType, dump, left, operator, operator, precedence, prettyPrint, reconstruct, right, right, throwsArithmeticException, throwTypes, toString, typeCheck, visitChildren |
Methods inherited from class polyglot.ast.Expr_c |
---|
booleanValue, buildTypes, byteValue, charValue, constantValue, constantValueSet, doubleValue, floatValue, intValue, isConstant, isTypeChecked, longValue, printSubExpr, printSubExpr, shortValue, stringValue, type, type |
Methods inherited from class polyglot.ast.Term_c |
---|
exceptionCheck, exceptions, exceptions, listEntry, reachable, reachable |
Methods inherited from class polyglot.ast.Node_c |
---|
addDecls, buildTypesEnter, checkConstants, copy, del, del, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, enterChildScope, enterScope, error, error, exceptionCheckEnter, ext, ext, ext, ext, init, isDisambiguated, node, position, position, prettyPrint, prettyPrint, print, printBlock, printSubStmt, translate, typeCheckEnter, typeCheckOverride, visit, visitChild, visitEdge, visitList |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface polyglot.ast.Assign |
---|
left, operator, operator, right, right, throwsArithmeticException |
Methods inherited from interface polyglot.ast.Expr |
---|
constantValue, constantValueSet, isConstant, precedence, printSubExpr, printSubExpr, type |
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, 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 |
Methods inherited from interface polyglot.ast.Term |
---|
acceptCFG, exceptions, exceptions, reachable, reachable |
Constructor Detail |
---|
public LocalAssign_c(Position pos, Local left, Assign.Operator op, Expr right)
Method Detail |
---|
public Assign left(Expr left)
Assign_c
left
in interface Assign
left
in class Assign_c
public Term entry()
Term_c
entry
in interface Term
entry
in class Assign_c
protected void acceptCFGAssign(CFGBuilder v)
Assign_c
acceptCFGAssign
in class Assign_c
protected void acceptCFGOpAssign(CFGBuilder v)
Assign_c
acceptCFGOpAssign
in class Assign_c
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |