Class AbstractJFlexTokenMaker

    • Field Detail

      • s

        protected javax.swing.text.Segment s
      • start

        protected int start
      • offsetShift

        protected int offsetShift
    • Constructor Detail

      • AbstractJFlexTokenMaker

        public AbstractJFlexTokenMaker()
    • Method Detail

      • yybegin

        public abstract void yybegin​(int newState)
        Declared here so we can define overloads that refer to this method.
        Parameters:
        newState - The new JFlex state to enter.
      • yyclose

        public abstract void yyclose()
                              throws java.io.IOException
        Closes the input stream. This method is defined for test purposes.
        Throws:
        java.io.IOException - If an IO error occurs.
      • yybegin

        protected void yybegin​(int state,
                               int languageIndex)
        Starts a new JFlex state and changes the current language index.
        Parameters:
        state - The new JFlex state to enter.
        languageIndex - The new language index.
      • yytext

        public abstract java.lang.String yytext()