Class SwiftParser.SwPattern
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrNode<BaseAntlrInnerNode.PmdAsAntlrInnerNode<N>,N>
-
- net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode<SwiftNode>
-
- net.sourceforge.pmd.lang.swift.ast.SwiftParser.SwPattern
-
- All Implemented Interfaces:
AntlrNode<SwiftNode>
,GenericNode<SwiftNode>
,Node
,SwiftNode
,Reportable
- Enclosing class:
- SwiftParser
public static class SwiftParser.SwPattern extends BaseAntlrInnerNode<SwiftNode>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode
BaseAntlrInnerNode.PmdAsAntlrInnerNode<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 class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode
exception
-
Fields inherited from interface net.sourceforge.pmd.lang.ast.Node
COORDS_COMPARATOR
-
-
Constructor Summary
Constructors Constructor Description SwPattern(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <P,R>
RacceptVisitor(AstVisitor<? super P,? extends R> visitor, P data)
protected BaseAntlrInnerNode.PmdAsAntlrInnerNode<SwiftNode>
asAntlrNode()
void
enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
SwiftParser.SwEnumCasePattern
enumCasePattern()
void
exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
SwiftParser.SwExpressionPattern
expressionPattern()
int
getRuleIndex()
String
getXPathNodeName()
SwiftParser.SwIdentifierPattern
identifierPattern()
SwiftParser.SwPattern
pattern()
SwiftParser.SwSType
sType()
SwiftParser.SwTuplePattern
tuplePattern()
SwiftParser.SwTypeAnnotation
typeAnnotation()
SwiftParser.SwValueBindingPattern
valueBindingPattern()
SwiftParser.SwWildcardPattern
wildcardPattern()
-
Methods inherited from class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode
copyFrom, getChild, getFirstAntlrToken, getLastAntlrToken, getNumChildren, getRuleContext, getRuleContexts, getToken, getTokens
-
Methods inherited from class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrNode
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getIndexInParent, getParent, getTextRegion, getUserMap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.impl.GenericNode
ancestors, ancestorsOrSelf, asStream, children, descendants, descendantsOrSelf, getChild, getFirstChild, getLastChild, getNextSibling, getParent, getPreviousSibling
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
ancestors, children, compareLocation, descendants, firstChild, getAstInfo, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getImage, getIndexInParent, getLanguageVersion, getNumChildren, getReportLocation, getRoot, getTextDocument, getTextRegion, getUserMap, getXPathAttributesIterator, hasImageEqualTo, isFindBoundary
-
-
-
-
Method Detail
-
wildcardPattern
public SwiftParser.SwWildcardPattern wildcardPattern()
-
typeAnnotation
public SwiftParser.SwTypeAnnotation typeAnnotation()
-
identifierPattern
public SwiftParser.SwIdentifierPattern identifierPattern()
-
valueBindingPattern
public SwiftParser.SwValueBindingPattern valueBindingPattern()
-
tuplePattern
public SwiftParser.SwTuplePattern tuplePattern()
-
enumCasePattern
public SwiftParser.SwEnumCasePattern enumCasePattern()
-
sType
public SwiftParser.SwSType sType()
-
expressionPattern
public SwiftParser.SwExpressionPattern expressionPattern()
-
pattern
public SwiftParser.SwPattern pattern()
-
getRuleIndex
public int getRuleIndex()
- Specified by:
getRuleIndex
in classBaseAntlrInnerNode<SwiftNode>
-
enterRule
public void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
enterRule
in classBaseAntlrInnerNode<SwiftNode>
-
exitRule
public void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
exitRule
in classBaseAntlrInnerNode<SwiftNode>
-
acceptVisitor
public <P,R> R acceptVisitor(AstVisitor<? super P,? extends R> visitor, P data)
- Specified by:
acceptVisitor
in interfaceNode
-
asAntlrNode
protected BaseAntlrInnerNode.PmdAsAntlrInnerNode<SwiftNode> asAntlrNode()
- Overrides:
asAntlrNode
in classBaseAntlrInnerNode<SwiftNode>
-
getXPathNodeName
public String getXPathNodeName()
- Specified by:
getXPathNodeName
in interfaceNode
-
-