Package jminusminus
Class JBooleanBinaryExpression
java.lang.Object
jminusminus.JAST
jminusminus.JStatement
jminusminus.JExpression
jminusminus.JBinaryExpression
jminusminus.JBooleanBinaryExpression
- Direct Known Subclasses:
JComparisonExpression,JEqualOp,JLogicalAndOp,JLogicalOrOp,JNotEqualOp
This abstract base class is the AST node for binary expressions that return booleans.
-
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
ConstructorsModifierConstructorDescriptionprotectedJBooleanBinaryExpression(int line, String operator, JExpression lhs, JExpression rhs) Constructs an AST node for a boolean binary expression. -
Method Summary
Methods inherited from class jminusminus.JBinaryExpression
toJSONMethods inherited from class jminusminus.JExpression
analyze, codegen, isStatementExpression, typeMethods inherited from class jminusminus.JAST
line, partialCodegen, unescape
-
Constructor Details
-
JBooleanBinaryExpression
Constructs an AST node for a boolean binary expression.- Parameters:
line- line in which the boolean binary expression occurs in the source file.operator- the boolean binary operator.lhs- lhs operand.rhs- rhs operand.
-
-
Method Details