Uses of Class
eu.svjatoslav.commons.string.tokenizer.InvalidSyntaxException
Packages that use InvalidSyntaxException
Package
Description
Provides a regex-based tokenizer for parsing structured text.
-
Uses of InvalidSyntaxException in eu.svjatoslav.commons.string.tokenizer
Methods in eu.svjatoslav.commons.string.tokenizer that throw InvalidSyntaxExceptionModifier and TypeMethodDescriptionbooleanTokenizer.consumeIfNextToken(String token) Consumes the next token if it matches the expected value.voidTokenizer.expectAndConsumeNextStringToken(String value) Consumes the next token and verifies it matches the expected value.Tokenizer.expectAndConsumeNextTerminatorToken(Terminator terminator) Consumes the next token and verifies it was matched by the expected terminator.voidTokenizer.peekExpectNoneOf(String... possibilities) Verifies the next token is NOT one of the specified possibilities.booleanTokenizer.peekIsOneOf(String... possibilities) Checks if the next token is one of the specified possibilities.Tokenizer.peekNextToken()Returns the next token without consuming it.