Module com.wyu4.snowberryjam
Class IncreaseMacro
java.lang.Object
com.wyu4.snowberryjam.compiler.data.tasks.SetTask
com.wyu4.snowberryjam.compiler.data.tasks.macros.IncreaseMacro
- All Implemented Interfaces:
ExecutableTask,NamedTask,ValuedTask
A variable increaser statement. The name of the variable is stored as
SourceKey.NAME, and the value to increase by is stored as
SourceKey.VALUE.-
Constructor Summary
ConstructorsConstructorDescriptionIncreaseMacro(com.fasterxml.jackson.databind.JsonNode node) Create a new increase statementIncreaseMacro(ValueHolder name, ValueHolder value) Create a new increase statement -
Method Summary
-
Constructor Details
-
IncreaseMacro
public IncreaseMacro(com.fasterxml.jackson.databind.JsonNode node) Create a new increase statement- Parameters:
node- TheJsonNodeto refer
-
IncreaseMacro
Create a new increase statement- Parameters:
name- The name of the variablevalue- The value to increase the variable by
-