Home | History | Annotate | Download | only in docs

Lines Matching full:matchers

25 AST matchers are predicates on nodes in the AST.  Matchers are created by
26 calling creator functions that allow building up a tree of matchers, where
27 inner matchers are used to make the match more specific.
35 unions that are named "``Foo``", in any namespace. By default, matchers that
36 accept multiple inner matchers use an implicit `allOf()
47 matcher you are interested in. Note that there will always be matchers missing
49 AST matchers <astmatchers-writing>` later in this document.
53 The precondition to using the matchers is to understand how the AST for what you
61 In general, the strategy to create the right matchers is:
65 matchers that either match the node you're interested in or narrow down
68 #. Examine the matchers for what the next inner node you want to match is.
80 To that end, matchers that match specific AST nodes (so called node matchers)
89 Writing your own matchers
99 *Derived*. The names of those matchers are nouns, which closely resemble
126 Matchers are generated by nesting calls to matcher creation functions. Most of
130 combination of other matchers, as is for example the case with `callee