Class LexerManual

java.lang.Object
eu.bandm.tscore.tparser.LexerManual
All Implemented Interfaces:
Supplier<Token>

public class LexerManual extends Object implements Supplier<Token>
  • Field Details

    • in

      final Reader in
    • docId

      final eu.bandm.tools.util.xml.XMLDocumentIdentifier docId
    • INVALID_CHAR

      public static final char INVALID_CHAR
      Stored in LA in case of IOException or end of file. Is defined as "unused" in the Unicode standard. Will thus never be accepted by any sensible lexer rule.
      See Also:
    • MIN_line

      public static final int MIN_line
      See Also:
    • MIN_column

      public static final int MIN_column
      See Also:
    • LA

      char LA
    • line

      int line
    • column

      int column
    • result

      Token result
    • stringBuilder

      StringBuilder stringBuilder
    • startLocation

      eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> startLocation
    • ioExOccured

      boolean ioExOccured
    • eofReached

      boolean eofReached
    • eofToken

      Token eofToken
    • lastWasLinefeed

      boolean lastWasLinefeed
    • initialIdChars

      public static final String initialIdChars
      See Also:
    • subsequentIdChars

      public static final String subsequentIdChars
      See Also:
  • Constructor Details

    • LexerManual

      public LexerManual(Reader in, eu.bandm.tools.util.xml.XMLDocumentIdentifier docId)
  • Method Details

    • unpacked

      public Supplier<eu.bandm.tools.lexic.Token<eu.bandm.tools.util.xml.XMLDocumentIdentifier,TokenType>> unpacked()
    • get

      public Token get()
      Specified by:
      get in interface Supplier<Token>
    • shift

      public void shift()