java.lang.Object
proguard.classfile.attribute.signature.parsing.Parsers

public class Parsers extends Object
Utility class for common helpful parsers.
  • Method Details

    • fixedString

      public static Parser<String> fixedString(String terminal)
      Construct a parser which looks for a fixed string in the input.
      Parameters:
      terminal - The string to look for.
      Returns:
      A parser which returns the string that it matched.
    • fixedChar

      public static Parser<Character> fixedChar(char terminal)
      Construct a parser which looks for a fixed char in the input.
      Parameters:
      terminal - The char to look for.
      Returns:
      A parser which returns the char that it matched.