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 TokenFragment
    Modifier and Type
    Method
    Description
    TokenFragment.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.andThenUntil(TokenFragment body, TokenFragment delimiter)
    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.
    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.
    TokenFragment.epsilon()
    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.
    TokenFragment.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.
    TokenFragment.of(int codePoint)
    Returns a token fragment that matches the given input code point.
    TokenFragment.of(String text)
    Returns 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.
    TokenFragment.range(int from, int to)
    Returns a token fragment that matches any input code point in the given interval.
    TokenFragment.star()
    Returns a token fragment that matches input matched by zero or more repetitions of this fragment.
    Methods in eu.bandm.tools.lexic with parameters of type TokenFragment
    Modifier and Type
    Method
    Description
    TokenFragment.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.andThenUntil(TokenFragment body, TokenFragment delimiter)
    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.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.
    Constructors in eu.bandm.tools.lexic with parameters of type TokenFragment
    Modifier
    Constructor
    Description
     
    TokenRule(T type, TokenFragment fragment)
    Creates a new instance.