Returns a token fragment that matches input matched by this
fragment followed by the given other fragment.
Returns a token fragment that matches input matched by this
fragment followed by any input finally matched once by the given
delimiter fragment.
Returns a token fragment that matches input matched by this
fragment followed by input matched by the given body fragment and
finally matched once by the given delimiter fragment.
TokenFragment.anyOf(int... codePoints)
Returns a token fragment that matches any one of the given input
code points.
Returns a token fragment that matches input matched by this
fragment but not by the given other fragment.
Returns a token fragment that matches input matched by both this
fragment and also the given other fragment.
Returns a token fragment that matches any input which contains a
contiguous section matched by this fragment.
Returns a token fragment that matches zero code points of
input.
TokenFragment.except(int... codePoints)
Returns a token fragment that matches any input code
point except for the given ones.
Returns a token fragment that does not match any input.
Returns a token fragment that matches the same inputs as this
fragment, but with a simple implementation.
TokenFragment.of(int codePoint)
Returns a token fragment that matches the given input code
point.
Returns a token fragment that matches the input code point
sequence specified by the given string.
Returns a token fragment that matches input matched by
this fragment, or alternatively zero code points.
Returns a token fragment that matches input either matched by
this fragment or by the given other fragment, or both.
Returns a token fragment that matches input matched by one or
more repetitions of this fragment.
TokenFragment.range(int from,
int to)
Returns a token fragment that matches any input code point in
the given interval.
Returns a token fragment that matches input matched by zero or
more repetitions of this fragment.
Returns a token fragment that matches input matched by this
fragment followed by the given other fragment.
Returns a token fragment that matches input matched by this
fragment followed by any input finally matched once by the given
delimiter fragment.
Returns a token fragment that matches input matched by this
fragment followed by input matched by the given body fragment and
finally matched once by the given delimiter fragment.
Returns a token fragment that matches input matched by this
fragment but not by the given other fragment.
Returns a token fragment that matches input matched by both this
fragment and also the given other fragment.
Returns a token fragment that matches input either matched by
this fragment or by the given other fragment, or both.