FileTraversalExtGen

final
class FileTraversalExtGen[NodeType <: File](val traversal: IterableOnce[NodeType]) extends AnyVal

Traversal steps for File

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def code: Traversal[String]

Traverse to code property

Traverse to code property

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

Traverse to nodes where the code matches the regular expression value

Traverse to nodes where the code matches the regular expression value

def code(patterns: String*): Traversal[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

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

Traverse to nodes where code matches value exactly.

Traverse to nodes where code matches value exactly.

def codeExact(values: String*): Traversal[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.

def codeNot(pattern: String): Traversal[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.

def codeNot(patterns: String*): Traversal[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.

def columnNumber: Traversal[Integer]

Traverse to columnNumber property

Traverse to columnNumber property

def columnNumber(value: Integer): Traversal[NodeType]

Traverse to nodes where the columnNumber equals the given value

Traverse to nodes where the columnNumber equals the given value

def columnNumber(values: Integer*): Traversal[NodeType]

Traverse to nodes where the columnNumber equals at least one of the given values

Traverse to nodes where the columnNumber equals at least one of the given values

def columnNumberGt(value: Integer): Traversal[NodeType]

Traverse to nodes where the columnNumber is greater than the given value

Traverse to nodes where the columnNumber is greater than the given value

def columnNumberGte(value: Integer): Traversal[NodeType]

Traverse to nodes where the columnNumber is greater than or equal the given value

Traverse to nodes where the columnNumber is greater than or equal the given value

def columnNumberLt(value: Integer): Traversal[NodeType]

Traverse to nodes where the columnNumber is less than the given value

Traverse to nodes where the columnNumber is less than the given value

def columnNumberLte(value: Integer): Traversal[NodeType]

Traverse to nodes where the columnNumber is less than or equal the given value

Traverse to nodes where the columnNumber is less than or equal the given value

def columnNumberNot(value: Integer): Traversal[NodeType]

Traverse to nodes where columnNumber is not equal to the given value.

Traverse to nodes where columnNumber is not equal to the given value.

def columnNumberNot(values: Integer*): Traversal[NodeType]

Traverse to nodes where columnNumber is not equal to any of the given values.

Traverse to nodes where columnNumber is not equal to any of the given values.

def comment: Traversal[Comment]

Traverse to COMMENT via AST OUT edge.

Traverse to COMMENT via AST OUT edge.

def hash: Traversal[String]

Traverse to hash property

Traverse to hash property

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

Traverse to nodes where the hash matches the regular expression value

Traverse to nodes where the hash matches the regular expression value

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

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

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

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

Traverse to nodes where hash matches value exactly.

Traverse to nodes where hash matches value exactly.

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

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

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

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

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

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

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

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

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

def lineNumber: Traversal[Integer]

Traverse to lineNumber property

Traverse to lineNumber property

def lineNumber(value: Integer): Traversal[NodeType]

Traverse to nodes where the lineNumber equals the given value

Traverse to nodes where the lineNumber equals the given value

def lineNumber(values: Integer*): Traversal[NodeType]

Traverse to nodes where the lineNumber equals at least one of the given values

Traverse to nodes where the lineNumber equals at least one of the given values

def lineNumberGt(value: Integer): Traversal[NodeType]

Traverse to nodes where the lineNumber is greater than the given value

Traverse to nodes where the lineNumber is greater than the given value

def lineNumberGte(value: Integer): Traversal[NodeType]

Traverse to nodes where the lineNumber is greater than or equal the given value

Traverse to nodes where the lineNumber is greater than or equal the given value

def lineNumberLt(value: Integer): Traversal[NodeType]

Traverse to nodes where the lineNumber is less than the given value

Traverse to nodes where the lineNumber is less than the given value

def lineNumberLte(value: Integer): Traversal[NodeType]

Traverse to nodes where the lineNumber is less than or equal the given value

Traverse to nodes where the lineNumber is less than or equal the given value

def lineNumberNot(value: Integer): Traversal[NodeType]

Traverse to nodes where lineNumber is not equal to the given value.

Traverse to nodes where lineNumber is not equal to the given value.

def lineNumberNot(values: Integer*): Traversal[NodeType]

Traverse to nodes where lineNumber is not equal to any of the given values.

Traverse to nodes where lineNumber is not equal to any of the given values.

def method: Traversal[Method]

Traverse to METHOD via SOURCE_FILE IN edge.

Traverse to METHOD via SOURCE_FILE IN edge.

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.

Traverse to NAMESPACE_BLOCK via SOURCE_FILE IN edge.

Traverse to NAMESPACE_BLOCK via SOURCE_FILE IN edge.

def order: Traversal[Int]

Traverse to order property

Traverse to order property

def order(value: Int): Traversal[NodeType]

Traverse to nodes where the order equals the given value

Traverse to nodes where the order equals the given value

def order(values: Int*): Traversal[NodeType]

Traverse to nodes where the order equals at least one of the given values

Traverse to nodes where the order equals at least one of the given values

def orderGt(value: Int): Traversal[NodeType]

Traverse to nodes where the order is greater than the given value

Traverse to nodes where the order is greater than the given value

def orderGte(value: Int): Traversal[NodeType]

Traverse to nodes where the order is greater than or equal the given value

Traverse to nodes where the order is greater than or equal the given value

def orderLt(value: Int): Traversal[NodeType]

Traverse to nodes where the order is less than the given value

Traverse to nodes where the order is less than the given value

def orderLte(value: Int): Traversal[NodeType]

Traverse to nodes where the order is less than or equal the given value

Traverse to nodes where the order is less than or equal the given value

def orderNot(value: Int): Traversal[NodeType]

Traverse to nodes where order is not equal to the given value.

Traverse to nodes where order is not equal to the given value.

def orderNot(values: Int*): Traversal[NodeType]

Traverse to nodes where order is not equal to any of the given values.

Traverse to nodes where order is not equal to any of the given values.

def typeDecl: Traversal[TypeDecl]

Traverse to TYPE_DECL via SOURCE_FILE IN edge.

Traverse to TYPE_DECL via SOURCE_FILE IN edge.

Concrete fields

val traversal: IterableOnce[NodeType]