APIdia Launch Partner
Top Interfaces Classes
module jdk.compiler

Package com.sun.tools.javac.parser


Interface Summary

Modifier and TypeInterface and Description
public interface
Lexer

The lexical analyzer maps an input stream consisting of ASCII characters and Unicode escapes into a token sequence.

public interface
Parser

Reads syntactic units from source code.

Class Summary

Modifier and TypeClass and Description
public class
DocCommentParser

This is NOT part of any supported API.

public class
JavacParser

The parser maps a token sequence into an abstract syntax tree.

public class
JavadocTokenizer

An extension to the base lexical analyzer (JavaTokenizer) that captures and processes the contents of doc comments.

public class
JavaTokenizer

The lexical analyzer maps an input stream consisting of UTF-8 characters and unicode escape sequences into a token sequence.

public class
LazyDocCommentTable

This is NOT part of any supported API.

public class
ParserFactory

A factory for creating parsers.

public class
ReferenceParser

A utility class to parse a string in a doc comment containing a reference to an API element, such as a type, field or method.

public class
Scanner

The lexical analyzer maps an input stream consisting of ASCII characters and Unicode escapes into a token sequence.

public class
ScannerFactory

A factory for creating scanners.

pack-priv class
TextBlockSupport

Methods used to support text blocks lint.

public class
Tokens

A class that defines codes/utilities for Java source tokens returned from lexical analysis.

public class
UnicodeReader

The unicode character reader used by the javac/javadoc lexer/tokenizer, returns characters one by one as contained in the input stream, handling unicode escape sequences accordingly.

public class
VirtualParser

The virtual parser allows for speculative parsing while not commiting to consuming tokens unless the speculation is successful.