Class BaseAntlrErrorNode<N extends AntlrNode<N>>
java.lang.Object
net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrNode<BaseAntlrTerminalNode.AntlrTerminalPmdAdapter<N>,N>
net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrTerminalNode<N>
net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrErrorNode<N>
- All Implemented Interfaces:
AntlrNode<N>,GenericNode<N>,Node,Reportable
-
Nested Class Summary
Nested classes/interfaces inherited from class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrTerminalNode
BaseAntlrTerminalNode.AntlrErrorPmdAdapter<N extends AntlrNode<N>>, BaseAntlrTerminalNode.AntlrTerminalPmdAdapter<N extends AntlrNode<N>>Nested classes/interfaces inherited from class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrNode
BaseAntlrNode.AntlrToPmdParseTreeAdapter<N extends AntlrNode<N>> -
Field Summary
Fields inherited from interface net.sourceforge.pmd.lang.ast.Node
COORDS_COMPARATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final BaseAntlrTerminalNode.AntlrErrorPmdAdapter<N>@NonNull StringgetText()Returns the text of the token.final StringGets the name of the node that is used to match it with XPath queries.Methods inherited from class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrTerminalNode
getChild, getFirstAntlrToken, getLastAntlrToken, getNumChildren, getTokenKindMethods inherited from class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrNode
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getIndexInParent, getParent, getTextRegion, getUserMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sourceforge.pmd.lang.ast.impl.GenericNode
ancestors, ancestorsOrSelf, asStream, children, descendants, descendantsOrSelf, getFirstChild, getLastChild, getNextSibling, getPreviousSiblingMethods inherited from interface net.sourceforge.pmd.lang.ast.Node
acceptVisitor, ancestors, children, compareLocation, descendants, firstChild, getAstInfo, getImage, getLanguageVersion, getReportLocation, getRoot, getTextDocument, getXPathAttributesIterator, hasImageEqualTo, isFindBoundary
-
Constructor Details
-
BaseAntlrErrorNode
protected BaseAntlrErrorNode(org.antlr.v4.runtime.Token symbol)
-
-
Method Details
-
asAntlrNode
- Overrides:
asAntlrNodein classBaseAntlrTerminalNode<N extends AntlrNode<N>>
-
getText
Description copied from class:BaseAntlrTerminalNodeReturns the text of the token.- Specified by:
getTextin classBaseAntlrTerminalNode<N extends AntlrNode<N>>
-
getXPathNodeName
Description copied from interface:NodeGets the name of the node that is used to match it with XPath queries.- Returns:
- The XPath node name
-