abstract class JAssignment extends JBinaryExpression
lhs, operator, rhs
isStatementExpression, type
compilationUnit, line
Constructor and Description |
---|
JAssignment(int line,
String operator,
JExpression lhs,
JExpression rhs)
Construct an AST node for an assignment operation.
|
writeToStdOut
analyze, codegen, isStatementExpression, type
codegen, line, partialCodegen
public JAssignment(int line, String operator, JExpression lhs, JExpression rhs)
line
- line in which the assignment operation occurs in the source
file.operator
- the actual assignment operator.lhs
- the lhs operand.rhs
- the rhs operand.