public class ParserFactory extends Object
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
Modifier and Type | Field and Description |
---|---|
protected static Context.Key<ParserFactory> |
parserFactoryKey
The context key for the parser factory.
|
Modifier | Constructor and Description |
---|---|
protected |
ParserFactory(Context context) |
Modifier and Type | Method and Description |
---|---|
static ParserFactory |
instance(Context context) |
JavacParser |
newParser(CharSequence input,
boolean keepDocComments,
boolean keepEndPos,
boolean keepLineMap) |
protected static final Context.Key<ParserFactory> parserFactoryKey
protected ParserFactory(Context context)
public static ParserFactory instance(Context context)
public JavacParser newParser(CharSequence input, boolean keepDocComments, boolean keepEndPos, boolean keepLineMap)
Copyright © 2015. All rights reserved.