Package jflex

Class LexParse.CUP$LexParse$actions

  • Enclosing class:
    LexParse

    class LexParse.CUP$LexParse$actions
    extends java.lang.Object
    Cup generated class to encapsulate user supplied action code.
    • Constructor Detail

      • CUP$LexParse$actions

        CUP$LexParse$actions​(LexParse parser)
        Constructor
    • Method Detail

      • fatalError

        void fatalError​(ErrorMessages message,
                        int line,
                        int col)
      • syntaxError

        void syntaxError​(ErrorMessages message,
                         int line)
      • syntaxError

        void syntaxError​(ErrorMessages message,
                         int line,
                         int col)
      • warning

        void warning​(ErrorMessages message,
                     int line,
                     int col)
      • isDotOrNewlinePattern

        private boolean isDotOrNewlinePattern​(RegExp r1,
                                              RegExp r2)
      • isNewline

        private boolean isNewline​(RegExp r)
      • check

        private boolean check​(int type,
                              int c)
      • getPreClass

        private java.util.List<Interval> getPreClass​(int type)
      • makeRepeat

        private RegExp makeRepeat​(RegExp r,
                                  int n1,
                                  int n2,
                                  int line,
                                  int col)
      • makeNL

        private RegExp makeNL()
      • CUP$LexParse$do_action_part00000000

        public final java_cup.runtime.Symbol CUP$LexParse$do_action_part00000000​(int CUP$LexParse$act_num,
                                                                                 java_cup.runtime.lr_parser CUP$LexParse$parser,
                                                                                 java.util.Stack CUP$LexParse$stack,
                                                                                 int CUP$LexParse$top)
                                                                          throws java.lang.Exception
        Method 0 with the actual generated action code for actions 0 to 300.
        Throws:
        java.lang.Exception
      • CUP$LexParse$do_action

        public final java_cup.runtime.Symbol CUP$LexParse$do_action​(int CUP$LexParse$act_num,
                                                                    java_cup.runtime.lr_parser CUP$LexParse$parser,
                                                                    java.util.Stack CUP$LexParse$stack,
                                                                    int CUP$LexParse$top)
                                                             throws java.lang.Exception
        Method splitting the generated action code into several parts.
        Throws:
        java.lang.Exception