Package jminusminus
Class JAssignment
java.lang.Object
jminusminus.JAST
jminusminus.JStatement
jminusminus.JExpression
jminusminus.JBinaryExpression
jminusminus.JAssignment
- Direct Known Subclasses:
JALeftShiftAssignOp,JAndAssignOp,JARightShiftAssignOp,JAssignOp,JDivAssignOp,JLRightShiftAssignOp,JMinusAssignOp,JOrAssignOp,JPlusAssignOp,JRemAssignOp,JStarAssignOp,JXorAssignOp
This abstract base class is the AST node for an assignment operation.
-
Field Summary
Fields inherited from class jminusminus.JBinaryExpression
lhs, operator, rhsFields inherited from class jminusminus.JExpression
isStatementExpression, typeFields inherited from class jminusminus.JAST
compilationUnit, line -
Constructor Summary
ConstructorsConstructorDescriptionJAssignment(int line, String operator, JExpression lhs, JExpression rhs) Constructs an AST node for an assignment operation. -
Method Summary
Methods inherited from class jminusminus.JBinaryExpression
toJSONMethods inherited from class jminusminus.JExpression
analyze, codegen, isStatementExpression, typeMethods inherited from class jminusminus.JAST
codegen, line, partialCodegen, unescape
-
Constructor Details
-
JAssignment
Constructs an AST node for an assignment operation.- Parameters:
line- line in which the assignment operation occurs in the source file.operator- the assignment operator.lhs- the lhs operand.rhs- the rhs operand.
-