TraversalPropertyCode

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

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def code: Iterator[String]

Traverse to code property

Traverse to code property

Attributes

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

Traverse to nodes where the code matches the regular expression value

Traverse to nodes where the code matches the regular expression value

Attributes

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

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

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

Attributes

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

Traverse to nodes where code matches value exactly.

Traverse to nodes where code matches value exactly.

Attributes

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

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

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

Attributes

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

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

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

Attributes

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

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

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

Attributes

Concrete fields

val traversal: Iterator[NodeType]