Class UnicodeEscapeProcessingProvider.LineCounter

java.lang.Object
com.github.javaparser.UnicodeEscapeProcessingProvider.LineCounter
Enclosing class:
UnicodeEscapeProcessingProvider

public static final class UnicodeEscapeProcessingProvider.LineCounter extends Object
Processor keeping track of the current line and column in a stream of incoming characters.
See Also:
process(int)
  • Constructor Details

  • Method Details

    • getLine

      public int getLine()
      The line of the currently processed input character.
    • getColumn

      public int getColumn()
      The column of the currently processed input character.
    • getPosition

      public Position getPosition()
      The current position.
    • process

      public int process(int ch)
      Analyzes the given character for line feed.