Package org.yecht

Class TokenScanner

    • Field Detail

      • parser

        private Parser parser
      • lval

        private java.lang.Object lval
      • currentToken

        private int currentToken
      • tnames

        public static final java.lang.String[] tnames
      • YWORDC

        private static final boolean[] YWORDC
      • DIGIT_OR_SIGN

        private static final boolean[] DIGIT_OR_SIGN
    • Constructor Detail

      • TokenScanner

        public TokenScanner​(Parser parser)
    • Method Detail

      • error

        public static void error​(java.lang.String msg,
                                 Parser parser)
      • isNewline

        private int isNewline​(int ptr)
      • newlineLen

        private int newlineLen​(int ptr)
      • isNewline

        private int isNewline​(byte[] buff,
                              int ptr)
      • newlineLen

        private int newlineLen​(byte[] buff,
                               int ptr)
      • NEWLINE

        private void NEWLINE​(int ptr)
      • GET_TRUE_YAML_INDENT

        private int GET_TRUE_YAML_INDENT()
      • YYPOS

        private void YYPOS​(int n)
      • real_yylex

        private int real_yylex()
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • header

        private int header()
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • spcOrLfStar

        private void spcOrLfStar()
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • ywordc

        private boolean ywordc()
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • endspc

        private boolean endspc()
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • yblock

        private boolean yblock()
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • document

        private int document​(int doc_level)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • directive

        private int directive()
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • getAndCheckIndentLength

        private int getAndCheckIndentLength()
      • plain

        private int plain()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • doubleQuote

        private int doubleQuote()
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • singleQuote

        private int singleQuote()
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • transferMethod

        private int transferMethod()
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • scalarBlock

        private int scalarBlock()
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • escapeSeq

        private byte escapeSeq​(byte ch)
      • eatComments

        private void eatComments()
                          throws java.io.IOException
        Throws:
        java.io.IOException