Package jminusminus
Class JAssignOp
The AST node for an assignment (=) operation.
- 
Field SummaryFields inherited from class jminusminus.JBinaryExpressionlhs, operator, rhsFields inherited from class jminusminus.JExpressionisStatementExpression, typeFields inherited from class jminusminus.JASTcompilationUnit, line
- 
Constructor SummaryConstructorsConstructorDescriptionJAssignOp(int line, JExpression lhs, JExpression rhs) Constructs the AST node for an assignment (=) operation..
- 
Method SummaryModifier and TypeMethodDescriptionAnalyzes and returns a JExpression.voidPerforms code generation for this AST.Methods inherited from class jminusminus.JBinaryExpressiontoJSONMethods inherited from class jminusminus.JExpressioncodegen, isStatementExpression, typeMethods inherited from class jminusminus.JASTline, partialCodegen, unescape
- 
Constructor Details- 
JAssignOpConstructs the AST node for an assignment (=) operation..- Parameters:
- line- line in which the assignment operation occurs in the source file.
- lhs- lhs operand.
- rhs- rhs operand.
 
 
- 
- 
Method Details- 
analyzeAnalyzes and returns a JExpression.- Specified by:
- analyzein class- JExpression
- Parameters:
- context- context in which names are resolved.
- Returns:
- the analyzed (and possibly rewritten) AST subtree.
 
- 
codegenPerforms code generation for this AST.
 
-