Interface CodeLocalVariables
- All Superinterfaces:
CodeAtomicStatement, CodeItem, CodeItemWithVariables, CodeStatement
CodeAtomicStatement to declare multiple CodeLocalVariables in a single statement. Syntax:
«type» «variable-1», ..., «variable-N»
- 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
-
getVariables
List<? extends CodeLocalVariable> getVariables()- Returns:
- the
ListofCodeLocalVariables to declare.Sizeshould be at least two in order to make sense. AllCodeLocalVariables need to have the sametyp.
-