- 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 VariablegetVariable()Returns the variable of thisStepVariableobject.JsonObjecttoJson()Returns the JSON representation of thisStepExpressionobject.-
Methods inherited from class org.mal_lang.langspec.step.StepExpression
fromBuilder, getSourceAsset, getTargetAsset
-
-
-
-
Method Detail
-
getVariable
public Variable getVariable()
Returns the variable of thisStepVariableobject.- Returns:
- the variable of this
StepVariableobject - Since:
- 1.0.0
-
toJson
public JsonObject toJson()
Description copied from class:StepExpressionReturns the JSON representation of thisStepExpressionobject.- Specified by:
toJsonin classStepExpression- Returns:
- the JSON representation of this
StepExpressionobject
-
-