类 Parsers
- java.lang.Object
-
- proguard.classfile.attribute.signature.parsing.Parsers
-
public class Parsers extends java.lang.ObjectUtility class for common helpful parsers.
-
-
方法详细资料
-
fixedString
public static Parser<java.lang.String> fixedString(java.lang.String terminal)
Construct a parser which looks for a fixed string in the input.- 参数:
terminal- The string to look for.- 返回:
- A parser which returns the string that it matched.
-
fixedChar
public static Parser<java.lang.Character> fixedChar(char terminal)
Construct a parser which looks for a fixed char in the input.- 参数:
terminal- The char to look for.- 返回:
- A parser which returns the char that it matched.
-
-