Home » openjdk-7 » com.sun.tools » javac » parser » [javadoc | source]
public interface: Parser [javadoc | source]

All Known Implementing Classes:
    EndPosParser, JavacParser

Reads syntactic units from source code. Parsers are normally created from a ParserFactory.

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.
Method from com.sun.tools.javac.parser.Parser Summary:
parseCompilationUnit,   parseExpression,   parseStatement,   parseType
Method from com.sun.tools.javac.parser.Parser Detail:
 public JCCompilationUnit parseCompilationUnit()
    Parse a compilation unit.
 public JCExpression parseExpression()
    Parse an expression.
 public JCStatement parseStatement()
    Parse a statement.
 public JCExpression parseType()
    Parse a type.