Uses of Interface
com.sonar.sslr.api.AstNodeType
-
Packages that use AstNodeType Package Description com.sonar.sslr.api com.sonar.sslr.impl.ast com.sonar.sslr.impl.matcher com.sonarsource.cobol.api com.sonarsource.cobol.api.ast org.sonar.sslr.ast org.sonar.sslr.grammar API to define Parsing Expression Grammar.org.sonar.sslr.internal.ast.select org.sonar.sslr.internal.grammar Internals of Grammar API.org.sonar.sslr.internal.vm -
-
Uses of AstNodeType in com.sonar.sslr.api
Subinterfaces of AstNodeType in com.sonar.sslr.api Modifier and Type Interface Description interface
AstNodeSkippingPolicy
Specific Ast node types that can tell whether they should be skipped from being attached to the AST or not.interface
Rule
This interface is not intended to be implemented by clients.interface
TokenType
Classes in com.sonar.sslr.api that implement AstNodeType Modifier and Type Class Description class
GenericTokenType
Fields in com.sonar.sslr.api declared as AstNodeType Modifier and Type Field Description protected AstNodeType
AstNode. type
Methods in com.sonar.sslr.api that return AstNodeType Modifier and Type Method Description AstNodeType
AstNode. getType()
Methods in com.sonar.sslr.api that return types with arguments of type AstNodeType Modifier and Type Method Description List<AstNodeType>
AstVisitor. getAstNodeTypesToVisit()
The AST node types that this check must be registered for.Methods in com.sonar.sslr.api with parameters of type AstNodeType Modifier and Type Method Description List<AstNode>
AstNode. findChildren(AstNodeType... nodeTypes)
Deprecated.in 1.17, useAstNode.getDescendants(AstNodeType...)
instead, but don't forget that those methods behave differently due to bug SSLR-249AstNodeBrowser
AstNodeBrowser. findChildren(AstNodeType nodeType)
List<AstNode>
AstNode. findDirectChildren(AstNodeType... nodeTypes)
Deprecated.in 1.17, useAstNode.getChildren(AstNodeType...)
insteadAstNode
AstNode. findFirstChild(AstNodeType... nodeTypes)
Deprecated.in 1.17, useAstNode.getFirstDescendant(AstNodeType...)
insteadAstNodeBrowser
AstNodeBrowser. findFirstChild(AstNodeType... nodeTypes)
AstNode
AstNode. findFirstDirectChild(AstNodeType... nodeTypes)
Deprecated.in 1.17, useAstNode.getFirstChild(AstNodeType...)
insteadAstNodeBrowser
AstNodeBrowser. findFirstDirectChild(AstNodeType... nodeTypes)
AstNodeBrowser
AstNodeBrowser. findFirstDirectChild(AstNodeType nodeType, String tokenValue)
AstNode
AstNode. findFirstParent(AstNodeType nodeType)
Deprecated.in 1.17, useAstNode.getFirstAncestor(AstNodeType)
insteadList<AstNode>
AstNode. getChildren(AstNodeType... nodeTypes)
Returns children of specified types.List<AstNode>
AstNode. getDescendants(AstNodeType... nodeTypes)
Returns descendants of specified types.AstNode
AstNode. getFirstAncestor(AstNodeType nodeType)
AstNode
AstNode. getFirstAncestor(AstNodeType... nodeTypes)
AstNode
AstNode. getFirstChild(AstNodeType... nodeTypes)
Returns first child of one of specified types.AstNode
AstNode. getFirstDescendant(AstNodeType... nodeTypes)
Returns first descendant of one of specified types.AstNode
AstNode. getLastChild(AstNodeType... nodeTypes)
Returns last child of one of specified types.boolean
AstNode. hasAncestor(AstNodeType nodeType)
boolean
AstNode. hasAncestor(AstNodeType... nodeTypes)
boolean
AstNode. hasChildren(AstNodeType... nodeTypes)
Deprecated.in 1.17, useAstNode.hasDescendant(AstNodeType...)
instead.boolean
AstNode. hasDescendant(AstNodeType... nodeTypes)
boolean
AstNode. hasDirectChildren(AstNodeType... nodeTypes)
boolean
AstNode. hasParent(AstNodeType... nodeTypes)
boolean
AstNode. hasParents(AstNodeType nodeType)
Deprecated.in 1.17, useAstNode.hasAncestor(AstNodeType)
insteadboolean
AstNode. is(AstNodeType... types)
boolean
AstNode. isNot(AstNodeType... types)
Constructors in com.sonar.sslr.api with parameters of type AstNodeType Constructor Description AstNode(AstNodeType type, String name, Token token)
-
Uses of AstNodeType in com.sonar.sslr.impl.ast
Classes in com.sonar.sslr.impl.ast that implement AstNodeType Modifier and Type Class Description class
AlwaysSkipFromAst
class
NeverSkipFromAst
class
SkipFromAstIfOnlyOneChild
-
Uses of AstNodeType in com.sonar.sslr.impl.matcher
Classes in com.sonar.sslr.impl.matcher that implement AstNodeType Modifier and Type Class Description class
RuleDefinition
This class is not intended to be instantiated or subclassed by clients.Methods in com.sonar.sslr.impl.matcher that return AstNodeType Modifier and Type Method Description AstNodeType
RuleDefinition. getRealAstNodeType()
-
Uses of AstNodeType in com.sonarsource.cobol.api
Classes in com.sonarsource.cobol.api that implement AstNodeType Modifier and Type Class Description class
AcuCobolKeyword
class
AcuCobolTokenType
class
CICSKeyword
class
CobolKeyword
class
CobolSpecialCharacter
class
CobolTokenType
class
DliKeyword
class
EnterpriseKeyword
class
GcosKeyword
class
HpKeyword
class
IleCobolKeyword
class
MicrofocusKeyword
class
SQLKeyword
-
Uses of AstNodeType in com.sonarsource.cobol.api.ast
Methods in com.sonarsource.cobol.api.ast that return AstNodeType Modifier and Type Method Description static AstNodeType[]
ComplexityNodesRepository. getArray(CobolGrammar grammar)
Methods in com.sonarsource.cobol.api.ast that return types with arguments of type AstNodeType Modifier and Type Method Description List<AstNodeType>
CobolAstVisitor. getAstNodeTypesToVisit()
This method can't be overridden.static List<AstNodeType>
ComplexityNodesRepository. getList(CobolGrammar grammar)
Methods in com.sonarsource.cobol.api.ast with parameters of type AstNodeType Modifier and Type Method Description void
CobolAstVisitor. subscribeTo(AstNodeType... astNodeTypes)
This method must called into the init() method when a Cobol AST visitor wants to subscribe to a set of AST node type. -
Uses of AstNodeType in org.sonar.sslr.ast
Methods in org.sonar.sslr.ast with parameters of type AstNodeType Modifier and Type Method Description AstSelect
AstSelect. children(AstNodeType type)
Deprecated.Returns new selection, which contains children of a given type of this selection.AstSelect
AstSelect. children(AstNodeType... types)
Deprecated.Returns new selection, which contains children of a given types of this selection.AstSelect
AstSelect. descendants(AstNodeType type)
Deprecated.Returns new selection, which contains descendants of a given type of this selection.AstSelect
AstSelect. descendants(AstNodeType... types)
Deprecated.Returns new selection, which contains descendants of a given types of this selection.AstSelect
AstSelect. filter(AstNodeType type)
Deprecated.Returns new selection, which contains elements of this selection that have given type.AstSelect
AstSelect. filter(AstNodeType... types)
Deprecated.Returns new selection, which contains elements of this selection that have any one of the given types.AstSelect
AstSelect. firstAncestor(AstNodeType type)
Deprecated.Returns new selection, which contains first ancestor of a given type for each node from this selection.AstSelect
AstSelect. firstAncestor(AstNodeType... types)
Deprecated.Returns new selection, which contains first ancestor of one of the given types for each node from this selection. -
Uses of AstNodeType in org.sonar.sslr.grammar
Subinterfaces of AstNodeType in org.sonar.sslr.grammar Modifier and Type Interface Description interface
GrammarRuleKey
A marker interface for key of grammar rule. -
Uses of AstNodeType in org.sonar.sslr.internal.ast.select
-
Uses of AstNodeType in org.sonar.sslr.internal.grammar
Classes in org.sonar.sslr.internal.grammar that implement AstNodeType Modifier and Type Class Description class
MutableParsingRule
Methods in org.sonar.sslr.internal.grammar that return AstNodeType Modifier and Type Method Description AstNodeType
MutableParsingRule. getRealAstNodeType()
-
Uses of AstNodeType in org.sonar.sslr.internal.vm
Subinterfaces of AstNodeType in org.sonar.sslr.internal.vm Modifier and Type Interface Description interface
CompilableGrammarRule
Rule, which can be compiled byMutableGrammarCompiler
.
-