Module io.sf.carte.tokenproducer
Package io.sf.carte.uparser
Interface TokenProducer3.CharacterCheck
- Enclosing class:
- TokenProducer3<E extends Exception>
public static interface TokenProducer3.CharacterCheck
Check whether a character codepoint would be a valid addition to a word.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanisAllowedCharacter(int codePoint, TokenProducer3.SequenceParser<? extends Exception> parser) Is the given character codepoint a valid addition to the word being formed by theSequenceParser.
- 
Method Details- 
isAllowedCharacterboolean isAllowedCharacter(int codePoint, TokenProducer3.SequenceParser<? extends Exception> parser) Is the given character codepoint a valid addition to the word being formed by theSequenceParser.- Parameters:
- codePoint- the character codepoint to test.
- parser- the object representing the current state of the parser.
- Returns:
- trueif it can be safely added to the word being currently formed, false otherwise.
 
 
-