Package jminusminus
Class JAndOp
The AST node for an and (&) expression.
- 
Field SummaryFields inherited from class jminusminus.JBinaryExpressionlhs, operator, rhsFields inherited from class jminusminus.JExpressionisStatementExpression, typeFields inherited from class jminusminus.JASTcompilationUnit, line
- 
Constructor SummaryConstructorsConstructorDescriptionJAndOp(int line, JExpression lhs, JExpression rhs) Constructs an AST node for an and expression.
- 
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- 
JAndOpConstructs an AST node for an and expression.- Parameters:
- line- line in which the and expression occurs in the source file.
- lhs- the lhs operand.
- rhs- the 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.
 
-