Expand description
The [Checker] classification predicates and their per-language impls.
Modules§
- ruby
Checkerimplementation for Ruby.
Structs§
- Subtree
Skip - A [
Checker::should_skip_subtree] verdict, plus the following nodes it also answers for.
Functions§
- c_
family_ void_ parameter - Whether
paramis C’s(void)marker — the spelling for an empty parameter list — rather than a parameter. - csharp_
accessor_ count - Counts the
accessor_declarationchildren (get/set/init) of a C#property_declaration/indexer_declarationby walking itsaccessor_list. Returns0for the expression-bodied form (this[int i] => _d[i];/int W => _w;), which has no accessor list. - csharp_
member_ has_ accessors - Returns
truewhen a C#indexer_declaration/property_declarationcarries bodied accessors — anaccessor_listcontaining at least oneaccessor_declaration(get/set/init). Returnsfalsefor the expression-bodied form (this[int i] => _d[i];/int W => _w;), which has no accessor list and defines a single implicit getter. - java_
anonymous_ class_ body - Returns the
class_bodychild of a Javaobject_creation_expressionwhen the node is an anonymous class (new Runnable() { ... }), orNonefor a plain constructor call (new Foo()). Shared byJavaCode::is_func_spaceandJavaCode::get_space_kindso both agree on exactly whichobject_creation_expressionnodes open a Class space (#463); a lambda is a distinctlambda_expressionnode and never reaches this path.