Create a MatchTester to use against this file, caching any parsed or otherwise computed resources.
Integrate path expressions with project operations to find all matches of a path expression and perform a mutation on them them. Use with care!
project
parser for files
file glob pattern
path expression string or parsed
what to do with matches
hit record for each matching file
Generator style iteration over file matches
project
options for query
Integrate path expressions with project operations to find all matches and their files
project
query options
hits for each file
Use file content to fill in LocatedTreeNode.sourceLocation
Convenient method to find all values of matching nodes-- typically, terminals such as identifiers
project
parser for files
file glob pattern
path expression string or parsed
registry to look for path expression functions in
hit record for each matching file
Integrate path expressions with project operations to gather mapped values from all matches. Choose the files with globPatterns; choose the portions of code to match with the pathExpression. Choose what to return based on each match with the mapper function. Returns all of the values returned by the mapper (except undefined).
project
options
matches
Like gather but keep location
Return literal values that must be present in a file for this path expression to match. Return the empty array if there are no literal @values or if we cannot determine whether there may be for this path expression.
Generator style iteration over matches in a project. Modifications made to matches will be made on the project.
project
options for query
Integrate path expressions with project operations to find all matches
project
query options
matches
Iterate over provided path expression query options and return FileHits for each path expression.
project
Array of query options
hits for each file for each query option
Integrate path expressions with project operations to find all matches of a path expression and zap them. Use with care!
project
parser for files
file glob pattern
path expression string or parsed
options for handling whitespace
hit record for each matching file
Generated using TypeDoc
Tests matches within this file, using their tree node basis.