Class BaseStatement
java.lang.Object
io.github.mmm.code.base.item.BaseItem
io.github.mmm.code.base.statement.BaseStatement
- All Implemented Interfaces:
io.github.mmm.code.api.item.CodeItem, io.github.mmm.code.api.item.CodeItemWithVariables, io.github.mmm.code.api.statement.CodeStatement
- Direct Known Subclasses:
BaseAtomicStatement
public abstract class BaseStatement
extends BaseItem
implements io.github.mmm.code.api.statement.CodeStatement
Base implementation of
CodeStatement.- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
Field Summary
Fields inherited from interface io.github.mmm.code.api.item.CodeItem
DEFAULT_INDENT, DEFAULT_NEWLINE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.github.mmm.code.api.expression.CodeVariablegetVariable(String name) Methods inherited from class BaseItem
doWrite, getOwningType, getSourceCode, getSpaces, toString, writeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.github.mmm.code.api.item.CodeItem
getLanguage, getSourceCode, write, write, write, write, write, write
-
Constructor Details
-
BaseStatement
public BaseStatement()
-
-
Method Details
-
getVariable
- Specified by:
getVariablein interfaceio.github.mmm.code.api.item.CodeItemWithVariables
-