- java.lang.Object
-
- org.mal_lang.langspec.step.StepExpression
-
- org.mal_lang.langspec.step.StepReference
-
- org.mal_lang.langspec.step.StepVariable
-
public final class StepVariable extends StepReference
Immutable class representing a variable step in a MAL language.- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Variable
getVariable()
Returns the variable of thisStepVariable
object.JsonObject
toJson()
Returns the JSON representation of thisStepExpression
object.-
Methods inherited from class org.mal_lang.langspec.step.StepExpression
fromBuilder, getSourceAsset, getTargetAsset
-
-
-
-
Method Detail
-
getVariable
public Variable getVariable()
Returns the variable of thisStepVariable
object.- Returns:
- the variable of this
StepVariable
object - Since:
- 1.0.0
-
toJson
public JsonObject toJson()
Description copied from class:StepExpression
Returns the JSON representation of thisStepExpression
object.- Specified by:
toJson
in classStepExpression
- Returns:
- the JSON representation of this
StepExpression
object
-
-