TraversalPropertyRoot

io.shiftleft.codepropertygraph.generated.traversals.TraversalPropertyRoot
final class TraversalPropertyRoot[NodeType <: StoredNode & StaticType[HasRootEMT]](val traversal: Iterator[NodeType]) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def root: Iterator[String]

Traverse to root property

Traverse to root property

Attributes

def root(pattern: String): Iterator[NodeType]

Traverse to nodes where the root matches the regular expression value

Traverse to nodes where the root matches the regular expression value

Attributes

def root(patterns: String*): Iterator[NodeType]

Traverse to nodes where the root matches at least one of the regular expressions in values

Traverse to nodes where the root matches at least one of the regular expressions in values

Attributes

def rootExact(value: String): Iterator[NodeType]

Traverse to nodes where root matches value exactly.

Traverse to nodes where root matches value exactly.

Attributes

def rootExact(values: String*): Iterator[NodeType]

Traverse to nodes where root matches one of the elements in values exactly.

Traverse to nodes where root matches one of the elements in values exactly.

Attributes

def rootNot(pattern: String): Iterator[NodeType]

Traverse to nodes where root does not match the regular expression value.

Traverse to nodes where root does not match the regular expression value.

Attributes

def rootNot(patterns: String*): Iterator[NodeType]

Traverse to nodes where root does not match any of the regular expressions in values.

Traverse to nodes where root does not match any of the regular expressions in values.

Attributes

Concrete fields

val traversal: Iterator[NodeType]