Package net.sourceforge.pmd.lang.ast
-
Interface Summary Interface Description AstVisitor<P,R> Root interface for AST visitors.GenericToken<T extends GenericToken<T>> Represents a token, part of a token chain in a source file.Node Root interface for all AST nodes.NodeStream<T extends Node> A sequence of AST nodes.NodeStream.DescendantNodeStream<T extends Node> A specialization ofNodeStream
that allows configuring tree traversal behaviour when traversing the descendants of a node.Parser Produces an AST from a source file.RootNode This interface identifies the root node of an AST.SemanticErrorReporter Reports errors that occur after parsing.TextAvailableNode Refinement ofNode
for nodes that can provide the underlying source text. -
Class Summary Class Description AstInfo<T extends RootNode> The output ofParser.parse(ParserTask)
.AstVisitorBase<P,R> Base implementation ofAstVisitor
, that performs a top-down (preorder) visit and may accumulate a result.InternalApiBridge Internal API.Parser.ParserTask Parameters passed to a parsing task. -
Exception Summary Exception Description FileAnalysisException An exception that occurs while processing a file.LexException An error thrown during lexical analysis of a file.ParseException SemanticException An error that occurs after validating a file.