DeclarationTraversalExtGen

final
class DeclarationTraversalExtGen[NodeType <: Declaration](val traversal: IterableOnce[NodeType]) extends AnyVal

Traversal steps for Declaration

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def name: Traversal[String]

Traverse to name property

Traverse to name property

def name(pattern: String): Traversal[NodeType]

Traverse to nodes where the name matches the regular expression value

Traverse to nodes where the name matches the regular expression value

def name(patterns: String*): Traversal[NodeType]

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

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

def nameExact(value: String): Traversal[NodeType]

Traverse to nodes where name matches value exactly.

Traverse to nodes where name matches value exactly.

def nameExact(values: String*): Traversal[NodeType]

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

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

def nameNot(pattern: String): Traversal[NodeType]

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

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

def nameNot(patterns: String*): Traversal[NodeType]

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

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

Concrete fields

val traversal: IterableOnce[NodeType]