Uses of Interface
org.sonar.sslr.ast.AstSelect
-
Packages that use AstSelect Package Description com.sonar.sslr.api org.sonar.sslr.ast org.sonar.sslr.internal.ast.select -
-
Uses of AstSelect in com.sonar.sslr.api
Methods in com.sonar.sslr.api that return AstSelect Modifier and Type Method Description AstSelect
AstNode. select()
-
Uses of AstSelect in org.sonar.sslr.ast
Methods in org.sonar.sslr.ast that return AstSelect Modifier and Type Method Description AstSelect
AstSelect. children()
Returns new selection, which contains children of this selection.AstSelect
AstSelect. children(AstNodeType type)
Returns new selection, which contains children of a given type of this selection.AstSelect
AstSelect. children(AstNodeType... types)
Returns new selection, which contains children of a given types of this selection.AstSelect
AstSelect. descendants(AstNodeType type)
Returns new selection, which contains descendants of a given type of this selection.AstSelect
AstSelect. descendants(AstNodeType... types)
Returns new selection, which contains descendants of a given types of this selection.AstSelect
AstSelect. filter(com.google.common.base.Predicate<AstNode> predicate)
Returns new selection, which contains elements of this selection that satisfy a predicate.AstSelect
AstSelect. filter(AstNodeType type)
Returns new selection, which contains elements of this selection that have given type.AstSelect
AstSelect. filter(AstNodeType... types)
Returns new selection, which contains elements of this selection that have any one of the given types.AstSelect
AstSelect. firstAncestor(AstNodeType type)
Returns new selection, which contains first ancestor of a given type for each node from this selection.AstSelect
AstSelect. firstAncestor(AstNodeType... types)
Returns new selection, which contains first ancestor of one of the given types for each node from this selection.AstSelect
AstSelect. nextSibling()
Returns new selection, which contains next sibling for each node from this selection.AstSelect
AstSelect. parent()
Returns new selection, which contains parent for each node from this selection.AstSelect
AstSelect. previousSibling()
Returns new selection, which contains previous sibling for each node from this selection. -
Uses of AstSelect in org.sonar.sslr.internal.ast.select
Classes in org.sonar.sslr.internal.ast.select that implement AstSelect Modifier and Type Class Description class
EmptyAstSelect
AstSelect
which contains no elements.class
ListAstSelect
AstSelect
which contains more than one element.class
SingleAstSelect
AstSelect
which contains exactly one element.Methods in org.sonar.sslr.internal.ast.select that return AstSelect Modifier and Type Method Description AstSelect
EmptyAstSelect. children()
AstSelect
EmptyAstSelect. children(AstNodeType type)
AstSelect
EmptyAstSelect. children(AstNodeType... types)
AstSelect
ListAstSelect. children()
AstSelect
ListAstSelect. children(AstNodeType type)
AstSelect
ListAstSelect. children(AstNodeType... types)
AstSelect
SingleAstSelect. children()
AstSelect
SingleAstSelect. children(AstNodeType type)
AstSelect
SingleAstSelect. children(AstNodeType... types)
static AstSelect
AstSelectFactory. create(List<AstNode> list)
AstSelect
EmptyAstSelect. descendants(AstNodeType type)
AstSelect
EmptyAstSelect. descendants(AstNodeType... types)
AstSelect
ListAstSelect. descendants(AstNodeType type)
AstSelect
ListAstSelect. descendants(AstNodeType... types)
AstSelect
SingleAstSelect. descendants(AstNodeType type)
AstSelect
SingleAstSelect. descendants(AstNodeType... types)
static AstSelect
AstSelectFactory. empty()
AstSelect
EmptyAstSelect. filter(com.google.common.base.Predicate<AstNode> predicate)
AstSelect
EmptyAstSelect. filter(AstNodeType type)
AstSelect
EmptyAstSelect. filter(AstNodeType... types)
AstSelect
ListAstSelect. filter(com.google.common.base.Predicate<AstNode> predicate)
AstSelect
ListAstSelect. filter(AstNodeType type)
AstSelect
ListAstSelect. filter(AstNodeType... types)
AstSelect
SingleAstSelect. filter(com.google.common.base.Predicate<AstNode> predicate)
AstSelect
SingleAstSelect. filter(AstNodeType type)
AstSelect
SingleAstSelect. filter(AstNodeType... types)
AstSelect
EmptyAstSelect. firstAncestor(AstNodeType type)
AstSelect
EmptyAstSelect. firstAncestor(AstNodeType... types)
AstSelect
ListAstSelect. firstAncestor(AstNodeType type)
AstSelect
ListAstSelect. firstAncestor(AstNodeType... types)
AstSelect
SingleAstSelect. firstAncestor(AstNodeType type)
AstSelect
SingleAstSelect. firstAncestor(AstNodeType... types)
AstSelect
EmptyAstSelect. nextSibling()
AstSelect
ListAstSelect. nextSibling()
AstSelect
SingleAstSelect. nextSibling()
AstSelect
EmptyAstSelect. parent()
AstSelect
ListAstSelect. parent()
AstSelect
SingleAstSelect. parent()
AstSelect
EmptyAstSelect. previousSibling()
AstSelect
ListAstSelect. previousSibling()
AstSelect
SingleAstSelect. previousSibling()
static AstSelect
AstSelectFactory. select(AstNode node)
-