Class DeclareStatement
java.lang.Object
dev.frostlake.executor.procedural.Statement
dev.frostlake.executor.procedural.DeclareStatement
-
Constructor Summary
ConstructorsConstructorDescriptionDeclareStatement(String variableName, Object defaultValue) DeclareStatement(String variableName, Object defaultValue, DataType declaredType) -
Method Summary
Modifier and TypeMethodDescriptionThe variable's declared type, or null when the declaration didn't carry one.intintvoidsetInitializerAt(int line, int position) Where the initialiser expression stood, so a coercion fault can anchor on it.Methods inherited from class dev.frostlake.executor.procedural.Statement
getLabel, getSourceLine, getSourcePosition, getType, setLabel, setSourcePosition
-
Constructor Details
-
DeclareStatement
-
DeclareStatement
-
-
Method Details
-
getVariableName
-
getDefaultValue
-
getDeclaredType
The variable's declared type, or null when the declaration didn't carry one. -
setInitializerAt
public void setInitializerAt(int line, int position) Where the initialiser expression stood, so a coercion fault can anchor on it. -
getInitializerLine
public int getInitializerLine() -
getInitializerPosition
public int getInitializerPosition()
-