类 LazyParser<T>
- java.lang.Object
-
- proguard.classfile.attribute.signature.parsing.LazyParser<T>
-
-
构造器概要
构造器 构造器 说明 LazyParser()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Tparse(ParserContext context)The core of the parsing logic.voidsetDelegate(Parser<T> delegate)Configure with the parser that all calls will be forwarded to.
-
-
-
方法详细资料
-
setDelegate
public void setDelegate(Parser<T> delegate)
Configure with the parser that all calls will be forwarded to.
-
parse
@Nullable public T parse(ParserContext context)
从接口复制的说明:ParserThe core of the parsing logic. The context argument specifies where in the input string we are currently parsing. The responsibility of this function is to do one of:- Consume a part of the input and return a non-null value.
- Return null and keep the input context untouched. This can be achieved either by avoiding
the calls to
ParserContext.advance(int), or through the use of snapshotting (seeParserContext.snapshot()).
-
-