Class CharParser

    • Constructor Detail

      • CharParser

        protected CharParser​(CharScanner charScanner)
      • CharParser

        protected CharParser​(String source)
    • Method Detail

      • accept

        protected void accept​(char ch)
                       throws java.text.ParseException
        Throws:
        java.text.ParseException
      • accept

        protected void accept​(CharClass charClass)
                       throws java.text.ParseException
        Throws:
        java.text.ParseException
      • acceptIt

        protected void acceptIt()
      • acceptThem

        protected void acceptThem​(int count)
      • peekString

        protected String peekString​(int length)
      • pushSpelling

        protected void pushSpelling()
      • popSpelling

        protected String popSpelling()
      • pushPosition

        protected void pushPosition()
        Saves the current position within the input text onto a stack.
      • popPosition

        protected int popPosition()
        Returns and removes the last input text position which was put onto the stack using pushPosition().