Class LexState

java.lang.Object
org.luaj.kahluafork.compiler.LexState

public class LexState extends Object
  • Field Details

    • nCcalls

      public int nCcalls
    • RESERVED_LOCAL_VAR_FOR_CONTROL

      protected static final String RESERVED_LOCAL_VAR_FOR_CONTROL
      See Also:
    • RESERVED_LOCAL_VAR_FOR_STATE

      protected static final String RESERVED_LOCAL_VAR_FOR_STATE
      See Also:
    • RESERVED_LOCAL_VAR_FOR_GENERATOR

      protected static final String RESERVED_LOCAL_VAR_FOR_GENERATOR
      See Also:
    • RESERVED_LOCAL_VAR_FOR_STEP

      protected static final String RESERVED_LOCAL_VAR_FOR_STEP
      See Also:
    • RESERVED_LOCAL_VAR_FOR_LIMIT

      protected static final String RESERVED_LOCAL_VAR_FOR_LIMIT
      See Also:
    • RESERVED_LOCAL_VAR_FOR_INDEX

      protected static final String RESERVED_LOCAL_VAR_FOR_INDEX
      See Also:
    • RESERVED_LOCAL_VAR_KEYWORDS

      protected static final String[] RESERVED_LOCAL_VAR_KEYWORDS
  • Constructor Details

    • LexState

      public LexState(Reader reader, int int1, String string)
  • Method Details

    • isReservedKeyword

      public static boolean isReservedKeyword(String string)
    • compile

      public static Prototype compile(int int1, Reader reader, String string, String string2)