Interface | Description |
---|---|
AstAndTokenVisitor |
The AstVisitor allows to visit some desired AstNode.
|
AstNodeSkippingPolicy |
Specific Ast node types that can tell whether they should be skipped from being attached to the AST or not.
|
AstNodeType |
Each AST Node has a type which can be for instance the Rule of a Grammar, a language keyword or a language special token like a WORD.
|
AstVisitor | |
AuditListener |
An AuditListener must be used to be notified of parsing error or standard exception which might occur when analysing a source code
|
RecognitionExceptionListener |
A RecognitionExceptionListener must be used to be notified of parsing error
|
Rule |
A Rule describes a context free grammar syntactic rule.
|
TokenType |
Class | Description |
---|---|
AstNode |
the parser is in charge to construct an abstract syntax tree (AST) which is a tree representation of the abstract syntactic structure of
source code.
|
AstNodeBrowser | |
CommentAnalyser | |
Comments |
Utility class to manipulate comment tokens
|
Grammar | |
LexerOutput | |
PreprocessingDirective | |
Preprocessor |
A preprocessor is a component which can alter the stream of Token and Trivia.
The supported operations are injection and deletion. |
Preprocessor2 |
A Preprocessor can be used to modify the content of the LexerOuput before launching the parser.
|
PreprocessorAction |
This class encapsulates the actions to be performed by a preprocessor.
|
Token |
Tokens are string of character like an identifier, a literal, an integer, ...
|
Token.Builder | |
Trivia |
Enum | Description |
---|---|
GenericTokenType | |
Trivia.TriviaKind |
Exception | Description |
---|---|
RecognitionException |
If a parsing error is encountered, an exception which implements this RecognitionException is thrown by the Parser.
|
Copyright © 2012 SonarSource. All Rights Reserved.