NodePattern Debugger

Matches

Ruby AST

Quickreference

matches the type and the children of a node with the given patterns
captures the match
wildcard, matches anything
matches the pattern against the parent
first is a wildcard, others must match
matches the pattern against the descendants
matches any number of children
calls `predicate?` on the element to match
calls `int_type?` on the element
calls `method` with element as first argument
matches a variable number of children
matches sequential argument with `=== element`
matches the patterns in any order
matches named argument with `=== element`
matches either `pat pat2` or `pat 3`
matches the constant with `=== element`
shortcut for "{pat | pat2}"
comment
matches all patterns