Class SimpleCharStream

  • All Implemented Interfaces:
    CharStream

    public class SimpleCharStream
    extends Object
    implements CharStream
    An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing) adapted from the generated class.
    • Field Detail

      • bufpos

        public int bufpos
        Position in buffer.
      • bufline

        protected int[] bufline
      • bufcolumn

        protected int[] bufcolumn
      • column

        protected int column
      • line

        protected int line
      • prevCharIsCR

        protected boolean prevCharIsCR
      • prevCharIsLF

        protected boolean prevCharIsLF
      • inputStream

        protected Reader inputStream
      • buffer

        protected char[] buffer
      • maxNextCharInd

        protected int maxNextCharInd
      • inBuf

        protected int inBuf
      • tabSize

        protected int tabSize
      • trackLineColumn

        protected boolean trackLineColumn