Class ExpressionMatch


  • public final class ExpressionMatch
    extends Expression
    Expression that successfully parses, if a given string constant is found. This class is immutable.
    Author:
    Tilman Kamp - Initial contribution
    • Constructor Detail

      • ExpressionMatch

        public ExpressionMatch​(String pattern)
        Constructs a new instance.
        Parameters:
        pattern - the token that has to match for successful parsing
    • Method Detail

      • getPattern

        public String getPattern()
        Returns:
        the pattern