Some handy extractors for spotting trees through the the haze of irrelevant braces: i.
Does this CaseDef catch everything of a certain Type?
Does this CaseDef catch everything of a certain Type?
Does this CaseDef catch Throwable?
Does this CaseDef catch Throwable?
Top-level definition sequence contains a leading import of
Predef
or scala.Predef
.
Top-level definition sequence contains a leading import of
Predef
or scala.Predef
.
The first constructor definitions in stats'
The first constructor definitions in stats'
The arguments to the first constructor in stats'.
The arguments to the first constructor in stats'.
Is tpt a by-name parameter type?
Is tpt a by-name parameter type?
Is this pattern node a catch-all or type-test pattern?
Is this pattern node a catch-all or type-test pattern?
Is this pattern node a catch-all (wildcard or variable) pattern?
Is this pattern node a catch-all (wildcard or variable) pattern?
Is tree legal as a member definition of an interface?
Is tree legal as a member definition of an interface?
Is name a left-associative operator?
Is name a left-associative operator?
Is tree a pure (i.
Is tree a pure (i.e. non-side-effecting) definition?
Is tree a stable and pure expression?
Is tree a stable and pure expression?
Is tpt of the form T* ?
Is tpt of the form T* ?
Is tree a this node which belongs to enclClass'?
Is tree a this node which belongs to enclClass'?
Is tree a self constructor call?
Is tree a self constructor call?
Is this pattern node a sequence-valued pattern?
Is this pattern node a sequence-valued pattern?
Is this tree a Star(_) after removing bindings?
Is this tree a Star(_) after removing bindings?
Compilation unit is class or object 'name' in package 'scala'
Compilation unit is class or object 'name' in package 'scala'
Is tree a variable pattern
Is tree a variable pattern
Is name a variable name?
Is name a variable name?
Is the argument a (possibly bound) _ arg?
Is the argument a (possibly bound) _ arg?
Is this argument node of the form <expr> : _* ?
Is this argument node of the form <expr> : _* ?
can this type be a type pattern
can this type be a type pattern
The method part of an application node
The method part of an application node
The value definitions marked PRESUPER in this statement sequence
The value definitions marked PRESUPER in this statement sequence
The parameter ValDefs from a def of the form T*.
The parameter ValDefs from a def of the form T*.
The underlying pattern ignoring any bindings
The underlying pattern ignoring any bindings