Uses of Class
eu.bandm.tools.lexic.TokenFragment
Packages that use TokenFragment
Package
Description
Toolkit for the dynamic construction of lexical analyzers.
-
Uses of TokenFragment in eu.bandm.tools.lexic
Methods in eu.bandm.tools.lexic that return TokenFragmentModifier and TypeMethodDescriptionTokenFragment.andThen(TokenFragment other) Returns a token fragment that matches input matched by this fragment followed by the given other fragment.TokenFragment.andThenUntil(TokenFragment delimiter) Returns a token fragment that matches input matched by this fragment followed by any input finally matched once by the given delimiter fragment.TokenFragment.andThenWithout(TokenFragment delimiter) Returns a token fragment that matches input matched by this fragment followed by any input not containing the given delimiter fragment.static TokenFragmentTokenFragment.any()Returns a token fragment that matches any input code point.static TokenFragmentTokenFragment.anyOf(int... codePoints) Returns a token fragment that matches any one of the given input code points.static TokenFragmentReturns a token fragment that matches any of the input code point sequences specified by the given strings.static TokenFragmentTokenFragment.anyOf(Collection<Integer> codePoints) Returns a token fragment that matches any one of the given input code points.static TokenFragmentTokenFragment.anyOfRange(int first, int last) static TokenFragmentTokenFragment.anyOfRange(int first, int last, IntPredicate cond) TokenFragment.butNot(TokenFragment other) Returns a token fragment that matches input matched by this fragment but not by the given other fragment.TokenFragment.butOnly(TokenFragment other) Returns a token fragment that matches input matched by both this fragment and also the given other fragment.TokenFragment.contained()Returns a token fragment that matches any input which contains a contiguous section matched by this fragment.static TokenFragmentTokenFragment.epsilon()Returns a token fragment that matches only zero code points of input.static TokenFragmentTokenFragment.except(int... codePoints) Returns a token fragment that matches any input code point except for the given ones.static TokenFragmentTokenFragment.fail()Returns a token fragment that does not match any input.TokenFragment.normalize()Returns a token fragment that matches the same inputs as this fragment, but with a simple implementation.static TokenFragmentTokenFragment.of(int codePoint) Returns a token fragment that matches the given input code point.static TokenFragmentReturns a token fragment that matches the input code point sequence specified by the given string.TokenFragment.optional()Returns a token fragment that matches input matched by this fragment, or alternatively zero code points.TokenFragment.orElse(TokenFragment other) Returns a token fragment that matches input either matched by this fragment or by the given other fragment, or both.TokenFragment.plus()Returns a token fragment that matches input matched by one or more repetitions of this fragment.static TokenFragmentTokenFragment.range(int from, int to) Returns a token fragment that matches any input code point in the given interval.TokenFragment.reverse()Returns a token fragment that matches the reverse of each input code point sequence matched by this token fragment.TokenFragment.star()Returns a token fragment that matches input matched by zero or more repetitions of this fragment.TokenFragment.until(TokenFragment delimiter) Returns a token fragment that matches input matched by this fragment, followed by input matched once by the given delimiter fragment.TokenFragment.without(TokenFragment delimiter) Returns a token fragment that matches input matched by this fragment, but not containing input that matches the given delimiter.Methods in eu.bandm.tools.lexic with parameters of type TokenFragmentModifier and TypeMethodDescriptionTokenFragment.andThen(TokenFragment other) Returns a token fragment that matches input matched by this fragment followed by the given other fragment.TokenFragment.andThenUntil(TokenFragment delimiter) Returns a token fragment that matches input matched by this fragment followed by any input finally matched once by the given delimiter fragment.TokenFragment.andThenWithout(TokenFragment delimiter) Returns a token fragment that matches input matched by this fragment followed by any input not containing the given delimiter fragment.TokenFragment.butNot(TokenFragment other) Returns a token fragment that matches input matched by this fragment but not by the given other fragment.TokenFragment.butOnly(TokenFragment other) Returns a token fragment that matches input matched by both this fragment and also the given other fragment.TokenFragment.orElse(TokenFragment other) Returns a token fragment that matches input either matched by this fragment or by the given other fragment, or both.TokenFragment.until(TokenFragment delimiter) Returns a token fragment that matches input matched by this fragment, followed by input matched once by the given delimiter fragment.TokenFragment.without(TokenFragment delimiter) Returns a token fragment that matches input matched by this fragment, but not containing input that matches the given delimiter.Constructors in eu.bandm.tools.lexic with parameters of type TokenFragment -
Uses of TokenFragment in eu.bandm.tools.lexic.lib
Fields in eu.bandm.tools.lexic.lib declared as TokenFragmentModifier and TypeFieldDescription(package private) static final TokenFragmentXML_1_0.forbidden1(package private) static final TokenFragmentXML_1_0.forbidden2static final TokenFragmentJavaLike.multilineCommentstatic final TokenFragmentXML_1_0.nameSee [XML 1.0 section 2.3 rule 5].static final TokenFragmentXML_1_0.nameCharstatic final TokenFragmentXML_1_0.nameStartCharstatic final TokenFragmentXML_1_0.ncnameAccepts aXML_1_0.namewhich does not contain a colon »:«.static final TokenFragmentXML_1_0.nmtokenSee [XML 1.0 section 2.3 rule 7].static final TokenFragmentXML_1_0.qnameAccepts oneXML_1_0.ncname, or two of them connected by a single colon »:«.static final TokenFragmentJavaLike.stringLiteralFields in eu.bandm.tools.lexic.lib with type parameters of type TokenFragmentMethods in eu.bandm.tools.lexic.lib that return TokenFragmentModifier and TypeMethodDescriptionstatic TokenFragmentJavaLike.singlelineComment(TokenFragment newline) Methods in eu.bandm.tools.lexic.lib with parameters of type TokenFragmentModifier and TypeMethodDescriptionstatic TokenFragmentJavaLike.singlelineComment(TokenFragment newline)