Interface CodeAssignment
- All Superinterfaces:
CodeAtomicStatement, CodeItem, CodeItemWithVariables, CodeStatement
- All Known Subinterfaces:
CodeLocalVariable, CodeRegularAssignment
- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
Field Summary
Fields inherited from interface CodeItem
DEFAULT_INDENT, DEFAULT_NEWLINE -
Method Summary
Methods inherited from interface CodeItem
getLanguage, getSourceCode, write, write, write, write, write, writeMethods inherited from interface CodeItemWithVariables
getVariable
-
Method Details
-
getVariable
CodeVariable getVariable()- Returns:
- the
CodeVariablethat is to be assigned.
-
getExpression
CodeExpression getExpression()- Returns:
- the
CodeExpressionto assign. The result of this expression will be assigned to thevariable. May benullforCodeLocalVariable.
-