Module io.sf.carte.tokenproducer
Package io.sf.carte.uparser
Interface TokenProducer3.SequenceParser<E extends Exception>
- Enclosing class:
- TokenProducer3<E extends Exception>
public static interface TokenProducer3.SequenceParser<E extends Exception>
Basic access to the current sequence in this tokenizer.
 
 It is intended to be used by objects implementing TokenProducer3.CharacterCheck.
- 
Method SummaryModifier and TypeMethodDescriptionGive the contents of the word currently being formed.Get theTokenControlfor this parsing.booleanWas the previous codepoint added to the current word sequence as a CharacterCheck-accepted character ?voidEmpty the current sequence.
- 
Method Details- 
currentSequenceCharSequence currentSequence()Give the contents of the word currently being formed.- Returns:
- the contents of the word currently being formed.
 
- 
isPreviousCpWCharacterboolean isPreviousCpWCharacter()Was the previous codepoint added to the current word sequence as a CharacterCheck-accepted character ?A CharacterCheck-accepted character is different to normal word characters, and is only added to a word if it is allowed by the CharacterCheck process. - Returns:
- trueif the previous codepoint was added to the current word sequence as an external, CharacterCheck-accepted character.
- See Also:
 
- 
getTokenControlTokenControl getTokenControl()Get theTokenControlfor this parsing.- Returns:
- the TokenControl.
 
- 
resetCurrentSequencevoid resetCurrentSequence()Empty the current sequence.
 
-