java.lang.Object
com.wyu4.snowberryjam.compiler.data.tasks.SetTask
com.wyu4.snowberryjam.compiler.data.tasks.macros.InputMacro
All Implemented Interfaces:
ExecutableTask, NamedTask, ValuedTask

public class InputMacro extends SetTask
A macro that sets a variable to a user input. The name of the variable is stored as SourceKey.NAME.
  • Constructor Details

    • InputMacro

      public InputMacro(com.fasterxml.jackson.databind.JsonNode node)
      Create a new set statement
      Parameters:
      node - The JsonNode to refer
    • InputMacro

      public InputMacro(ValueHolder name)
      Create a new set statement
      Parameters:
      name - The name of the variable to set
  • Method Details