Class LexState

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

public class LexState
extends java.lang.Object
  • Field Details

    • nCcalls

      public int nCcalls
    • RESERVED_LOCAL_VAR_FOR_CONTROL

      protected static final java.lang.String RESERVED_LOCAL_VAR_FOR_CONTROL
      See Also:
      Constant Field Values
    • RESERVED_LOCAL_VAR_FOR_STATE

      protected static final java.lang.String RESERVED_LOCAL_VAR_FOR_STATE
      See Also:
      Constant Field Values
    • RESERVED_LOCAL_VAR_FOR_GENERATOR

      protected static final java.lang.String RESERVED_LOCAL_VAR_FOR_GENERATOR
      See Also:
      Constant Field Values
    • RESERVED_LOCAL_VAR_FOR_STEP

      protected static final java.lang.String RESERVED_LOCAL_VAR_FOR_STEP
      See Also:
      Constant Field Values
    • RESERVED_LOCAL_VAR_FOR_LIMIT

      protected static final java.lang.String RESERVED_LOCAL_VAR_FOR_LIMIT
      See Also:
      Constant Field Values
    • RESERVED_LOCAL_VAR_FOR_INDEX

      protected static final java.lang.String RESERVED_LOCAL_VAR_FOR_INDEX
      See Also:
      Constant Field Values
    • RESERVED_LOCAL_VAR_KEYWORDS

      protected static final java.lang.String[] RESERVED_LOCAL_VAR_KEYWORDS
  • Constructor Details

    • LexState

      public LexState​(java.io.Reader reader, int int1, java.lang.String string)
  • Method Details

    • isReservedKeyword

      public static boolean isReservedKeyword​(java.lang.String string)
    • compile

      public static Prototype compile​(int int1, java.io.Reader reader, java.lang.String string, java.lang.String string2)