Package jjparse.input

Class CharacterInput

java.lang.Object
jjparse.input.Input<Character>
jjparse.input.CharacterInput
All Implemented Interfaces:
CharSequence

public final class CharacterInput extends Input<Character> implements CharSequence
A specific implementation of an Input for Characters that also implements the CharSequence interface. Input<Character>.Positions returned by this Input are aware of unicode code points such that calling Input.Position.toString() shows the line and column numbers as they are perceived by the user. Instances of this class can be obtained using one of the variants of Input.of(java.lang.String, java.util.Iterator<T>).
Author:
Björn Lötters
See Also: