Class BuilderParameters

java.lang.Object
com.hypixel.hytale.server.npc.asset.builder.BuilderParameters

public class BuilderParameters extends Object
  • Field Details

  • Constructor Details

    • BuilderParameters

      protected BuilderParameters(StdScope scope, String fileName, String interfaceCode)
    • BuilderParameters

      protected BuilderParameters(StdScope scope, String fileName, String interfaceCode, it.unimi.dsi.fastutil.ints.IntSet dependencies)
    • BuilderParameters

      protected BuilderParameters(@Nonnull BuilderParameters other)
  • Method Details

    • isEmpty

      public boolean isEmpty()
    • addParametersToScope

      public void addParametersToScope()
    • getParameterType

      public ValueType getParameterType(String name)
    • readJSON

      public void readJSON(@Nonnull com.google.gson.JsonObject jsonObject, @Nonnull StateMappingHelper stateHelper)
    • createCompileContext

      public void createCompileContext()
    • disposeCompileContext

      public void disposeCompileContext()
    • getCompileContext

      @Nullable public CompileContext getCompileContext()
    • compile

      public ValueType compile(@Nonnull String expression)
    • getInstructions

      public List<ExecutionContext.Instruction> getInstructions()
    • getConstantOperand

      @Nullable public ExecutionContext.Operand getConstantOperand()
    • getScope

      public StdScope getScope()
    • createScope

      @Nonnull public StdScope createScope()
    • validateNoDuplicateParameters

      public void validateNoDuplicateParameters(@Nonnull BuilderParameters other)
    • getFileName

      public String getFileName()
    • getDependencies

      public it.unimi.dsi.fastutil.ints.IntSet getDependencies()
    • getInterfaceCode

      public String getInterfaceCode()
    • addDependency

      public void addDependency(int d)
    • toSchema

      @Nonnull public static ObjectSchema toSchema(@Nonnull SchemaContext context)