Class MetaPatternParser

    • Method Detail

      • advance

        protected final boolean advance​(MetaPattern pattern)
        Advance parsing to the next element. The internal cursor will be moved to end of the string matched.
        Parameters:
        pattern - Meta pattern
        Returns:
        True if found, false otherwise
      • matches

        public boolean matches()
        Whether the matcher matches the pattern.
        Returns:
        whether the matcher matches
      • matcher

        public final Matcher matcher()
        Gets the matcher.
        Returns:
        the matcher
      • atEnd

        public final boolean atEnd()
        Whether the internal cursor has advanced to the end of the input.
        Returns:
        whether the input is parsed