abstract class JAssignment extends JBinaryExpression
lhs, operator, rhsisStatementExpression, typecompilationUnit, line| Constructor and Description |
|---|
JAssignment(int line,
String operator,
JExpression lhs,
JExpression rhs)
Construct an AST node for an assignment operation.
|
writeToStdOutanalyze, codegen, isStatementExpression, typecodegen, line, partialCodegenpublic 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.