Class LexerSource

    • Constructor Detail

      • LexerSource

        public LexerSource​(Reader r,
                           boolean ppvalid)
    • Method Detail

      • toBufferedReader

        @Nonnull
        protected static BufferedReader toBufferedReader​(@Nonnull
                                                         Reader r)
      • getLine

        public int getLine()
        Returns the line number of the last read character in this source. Lines are numbered from 1.
        Overrides:
        getLine in class Source
        Returns:
        the line number of the last read character in this source.
      • getColumn

        public int getColumn()
        Returns the column number of the last read character in this source. Columns are numbered from 0.
        Overrides:
        getColumn in class Source
        Returns:
        the column number of the last read character in this source.