Class LexGen

    • Field Detail

      • staticString

        public static java.lang.String staticString
      • tokMgrClassName

        public static java.lang.String tokMgrClassName
      • lexStateIndex

        public static int lexStateIndex
      • maxOrdinal

        public static int maxOrdinal
      • lexStateSuffix

        public static java.lang.String lexStateSuffix
      • lexStates

        public static int[] lexStates
      • ignoreCase

        public static boolean[] ignoreCase
      • actions

        public static Action[] actions
      • initStates

        public static java.util.Hashtable initStates
      • stateSetSize

        public static int stateSetSize
      • totalNumStates

        public static int totalNumStates
      • maxLexStates

        public static int maxLexStates
      • lexStateName

        public static java.lang.String[] lexStateName
      • toSkip

        public static long[] toSkip
      • toSpecial

        public static long[] toSpecial
      • toMore

        public static long[] toMore
      • toToken

        public static long[] toToken
      • defaultLexState

        public static int defaultLexState
      • maxLongsReqd

        public static int[] maxLongsReqd
      • initMatch

        public static int[] initMatch
      • canMatchAnyChar

        public static int[] canMatchAnyChar
      • hasEmptyMatch

        public static boolean hasEmptyMatch
      • canLoop

        public static boolean[] canLoop
      • stateHasActions

        public static boolean[] stateHasActions
      • hasLoop

        public static boolean hasLoop
      • canReachOnMore

        public static boolean[] canReachOnMore
      • hasNfa

        public static boolean[] hasNfa
      • mixed

        public static boolean[] mixed
      • initialState

        public static NfaState initialState
      • curKind

        public static int curKind
      • keepLineCol

        public static boolean keepLineCol
      • errorHandlingClass

        public static java.lang.String errorHandlingClass
      • generateDataOnly

        public static boolean generateDataOnly
    • Constructor Detail

      • LexGen

        public LexGen()
    • Method Detail

      • writeTemplate

        protected void writeTemplate​(java.lang.String name,
                                     java.lang.Object... additionalOptions)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • AddCharToSkip

        public static void AddCharToSkip​(char c,
                                         int kind)
      • start

        public void start()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • DumpSkipActions

        public void DumpSkipActions()
      • DumpMoreActions

        public void DumpMoreActions()
      • DumpTokenActions

        public void DumpTokenActions()
      • reInit

        public static void reInit()