Package com.sonar.sslr.api
@ParametersAreNonnullByDefault
package com.sonar.sslr.api
-
ClassDescriptionThe AstVisitor allows to visit some desired 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.Specific Ast node types that can tell whether they should be skipped from being attached to the AST or not.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.Utility class to manipulate comment tokensUse
LexerfulGrammarBuilderto create instances of this class.Deprecated.since 4.2Deprecated.in 1.20, use your own preprocessor API instead.Deprecated.in 1.20, use your own preprocessor API instead.A Preprocessor can be used to modify the content of the LexerOuput before launching the parser.Deprecated.in 1.20, use your own preprocessor API instead.This class is not intended to be instantiated or subclassed by clients.This interface is not intended to be implemented by clients.Tokens are string of character like an identifier, a literal, an integer, ... which are produced by the lexer to feed the parser.