Package jminusminus
Class JPreIncrementOp
java.lang.Object
jminusminus.JAST
jminusminus.JStatement
jminusminus.JExpression
jminusminus.JUnaryExpression
jminusminus.JPreIncrementOp
The AST node for pre-increment (++) expression.
- 
Field SummaryFields inherited from class jminusminus.JUnaryExpressionoperand, operatorFields inherited from class jminusminus.JExpressionisStatementExpression, typeFields inherited from class jminusminus.JASTcompilationUnit, line
- 
Constructor SummaryConstructorsConstructorDescriptionJPreIncrementOp(int line, JExpression operand) Constructs an AST node for a pre-increment expression.
- 
Method SummaryModifier and TypeMethodDescriptionAnalyzes and returns a JExpression.voidPerforms code generation for this AST.Methods inherited from class jminusminus.JUnaryExpressiontoJSONMethods inherited from class jminusminus.JExpressioncodegen, isStatementExpression, typeMethods inherited from class jminusminus.JASTline, partialCodegen, unescape
- 
Constructor Details- 
JPreIncrementOpConstructs an AST node for a pre-increment expression.- Parameters:
- line- line in which the expression occurs in the source file.
- operand- the 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.
 
-