|
RECODER 0.92 | |||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectrecoder.java.JavaSourceElement
recoder.java.JavaProgramElement
recoder.java.JavaNonTerminalProgramElement
recoder.java.expression.Operator
recoder.java.expression.Assignment
recoder.java.expression.operator.BinaryAndAssignment
public class BinaryAndAssignment
Binary and assignment.
| Field Summary |
|---|
| Fields inherited from class recoder.java.expression.Operator |
|---|
children, expressionParent, INFIX, POSTFIX, PREFIX |
| Fields inherited from class recoder.java.JavaSourceElement |
|---|
factory |
| Constructor Summary | |
|---|---|
|
BinaryAndAssignment()
Binary and assignment. |
protected |
BinaryAndAssignment(BinaryAndAssignment proto)
Binary and assignment. |
|
BinaryAndAssignment(Expression lhs,
Expression rhs)
Binary and assignment. |
| Method Summary | |
|---|---|
void |
accept(SourceVisitor v)
Receive a visitor, for instance a pretty printer. |
BinaryAndAssignment |
deepClone()
Deep clone. |
int |
getArity()
Get arity. |
int |
getNotation()
Get notation. |
int |
getPrecedence()
Get precedence. |
| Methods inherited from class recoder.java.expression.Assignment |
|---|
getASTParent, getStatementContainer, isLeftAssociative, setStatementContainer |
| Methods inherited from class recoder.java.expression.Operator |
|---|
getArguments, getChildAt, getChildCount, getChildPositionCode, getExpressionAt, getExpressionContainer, getExpressionCount, getFirstElement, getLastElement, isToBeParenthesized, makeParentRoleValid, precedes, replaceChild, setArguments, setExpressionContainer |
| Methods inherited from class recoder.java.JavaNonTerminalProgramElement |
|---|
getIndexOfChild, getRoleOfChild, makeAllParentRolesValid, validateAll |
| Methods inherited from class recoder.java.JavaProgramElement |
|---|
getComments, getID, setComments, validate |
| Methods inherited from class recoder.java.JavaSourceElement |
|---|
getEndPosition, getFactory, getRelativePosition, getStartPosition, setEndPosition, setRelativePosition, setStartPosition, toSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface recoder.java.Expression |
|---|
getExpressionContainer, setExpressionContainer |
| Methods inherited from interface recoder.java.NonTerminalProgramElement |
|---|
getIndexOfChild, getRoleOfChild, makeAllParentRolesValid, validateAll |
| Constructor Detail |
|---|
public BinaryAndAssignment()
public BinaryAndAssignment(Expression lhs,
Expression rhs)
lhs - an expression.rhs - an expression.protected BinaryAndAssignment(BinaryAndAssignment proto)
proto - a binary and assignment.| Method Detail |
|---|
public BinaryAndAssignment deepClone()
deepClone in interface ExpressiondeepClone in interface ExpressionStatementdeepClone in interface SourceElementdeepClone in interface StatementdeepClone in class Assignmentpublic int getArity()
getArity in class Operatorpublic int getPrecedence()
getPrecedence in class Operatorpublic int getNotation()
getNotation in class Operatorpublic void accept(SourceVisitor v)
SourceElement
v - a source visitor.
|
RECODER 0.92 | |||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||