com.sun.tools.javac.parser
Class ParserFactory

java.lang.Object
  extended by com.sun.tools.javac.parser.ParserFactory

public class ParserFactory
extends java.lang.Object

A factory for creating parsers.


Field Summary
(package private)  TreeMaker F
           
(package private)  Keywords keywords
           
(package private)  Log log
           
(package private)  Names names
           
(package private)  Options options
           
protected static Context.Key<ParserFactory> parserFactoryKey
          The context key for the parser factory.
(package private)  Scanner.Factory scannerFactory
           
(package private)  Source source
           
 
Constructor Summary
protected ParserFactory(Context context)
           
 
Method Summary
static ParserFactory instance(Context context)
           
 Parser newParser(java.lang.CharSequence input, boolean keepDocComments, boolean keepEndPos, boolean keepLineMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parserFactoryKey

protected static final Context.Key<ParserFactory> parserFactoryKey
The context key for the parser factory.


F

final TreeMaker F

log

final Log log

keywords

final Keywords keywords

source

final Source source

names

final Names names

options

final Options options

scannerFactory

final Scanner.Factory scannerFactory
Constructor Detail

ParserFactory

protected ParserFactory(Context context)
Method Detail

instance

public static ParserFactory instance(Context context)

newParser

public Parser newParser(java.lang.CharSequence input,
                        boolean keepDocComments,
                        boolean keepEndPos,
                        boolean keepLineMap)