This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<!DOCTYPE html>
<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>CPredicates (infer.ASTLanguage.CPredicates)</title><linkrel="stylesheet"href="../../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.1"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../../index.html">infer</a>»<ahref="../index.html">ASTLanguage</a>» CPredicates</nav><h1>Module <code>ASTLanguage.CPredicates</code></h1></header><dl><dtclass="spec type"id="type-t"><ahref="#type-t"class="anchor"></a><code><spanclass="keyword">type</span> t</code><code> = <ahref="../ALVar/index.html#type-formula_id">ALVar.formula_id</a> * <span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a> list</span></code></dt><dd><p>(name, <code>param1,...,paramK</code>)</p></dd></dl><div><divclass="spec include"><divclass="doc"><dl><dtclass="spec value"id="val-compare"><ahref="#val-compare"class="anchor"></a><code><spanclass="keyword">val</span> compare : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a><span>-></span> int</code></dt></dl></div></div></div><dl><dtclass="spec value"id="val-captured_variables_cxx_ref"><ahref="#val-captured_variables_cxx_ref"class="anchor"></a><code><spanclass="keyword">val</span> captured_variables_cxx_ref : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><span><ahref="../../ATDGenerated/Clang_ast_t/index.html#type-named_decl_info">ATDGenerated.Clang_ast_t.named_decl_info</a> list</span></code></dt><dd><p>list of cxx references captured by an ObjC Block</p></dd></dl><dl><dtclass="spec value"id="val-objc_block_is_capturing_var_of_type"><ahref="#val-objc_block_is_capturing_var_of_type"class="anchor"></a><code><spanclass="keyword">val</span> objc_block_is_capturing_var_of_type : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-t">ALVar.t</a><span>-></span> bool</code></dt><dd><p>true if the ObjC Block captures a variable of a given type</p></dd></dl><dl><dtclass="spec value"id="val-objc_block_is_capturing_values"><ahref="#val-objc_block_is_capturing_values"class="anchor"></a><code><spanclass="keyword">val</span> objc_block_is_capturing_values : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p>true if the ObjC Block captures any variables</p></dd></dl><dl><dtclass="spec value"id="val-call_method"><ahref="#val-call_method"class="anchor"></a><code><spanclass="keyword">val</span> call_method : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p><code>call_method an m an</code> is true iff node an is a call to an ObjC method with name containing string m</p></dd></dl><dl><dtclass="spec value"id="val-call_cxx_method"><ahref="#val-call_cxx_method"class="anchor"></a><code><spanclass="keyword">val</span> call_cxx_method : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p><code>call_cxx_method an m an</code> is true iff node an is a call to a C++ method with name containing string m</p></dd></dl><dl><dtclass="spec value"id="val-call_class_method"><ahref="#val-call_class_method"class="anchor"></a><code><spanclass="keyword">val</span> call_class_method : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p><code>call_class_method an mname</code> is true iff node an is a call to an ObjC class method with name containing mname</p></dd></dl><dl><dtclass="spec value"id="val-call_instance_method"><ahref="#val-call_instance_method"class="anchor"></a><code><spanclass="keyword">val</span> call_instance_method : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p><code>call_instance_method an mname</code> is true iff node an is a call to an ObjC instance method with name containing mname</p></dd></dl><dl><dtclass="spec value"id="val-declaration_name"><ahref="#val-declaration_name"class="anchor"></a><code><spanclass="keyword">val</span> declaration_name : <ahref="../../ATDGenerated/Clang_ast_t/index.html#type-decl">ATDGenerated.Clang_ast_t.decl</a><span>-></span><span>string option</span></code></dt><dd><p><code>declaration_name d</code> returns the name of declaration d</p></dd></dl><dl><dtclass="spec value"id="val-is_enum_constant"><ahref="#val-is_enum_constant"class="anchor"></a><code><spanclass="keyword">val</span> is_enum_constant : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p><code>is_enum_constant an name</code> is true iff an is an EnumConstant with name containing <code>name</code></p></dd></dl><dl><dtclass="spec value"id="val-is_enum_constant_of_enum"><ahref="#val-is_enum_constant_of_enum"class="anchor"></a><code><spanclass="keyword">val</span> is_enum_constant_of_enum : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-is_global_var"><ahref="#val-is_global_var"class="anchor"></a><code><spanclass="keyword">val</span> is_global_var : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p><code>is_global_var an</code> is true iff an is a global variable (but not a static local)</p></dd></dl><dl><dtclass="spec value"id="val-is_static_local_var"><ahref="#val-is_static_local_var"class="anchor"></a><code><spanclass="keyword">val</span> is_static_local_var : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p><code>is_static_local_var an</code> is true iff an is a static local variable</p></dd></dl><dl><dtclass="spec value"id="val-is_static_var"><ahref="#val-is_static_var"class="anchor"></a><code><spanclass="keyword">val</span> is_static_var : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p><code>is_static_var an</code> is true iff an is a static local variable</p></dd></dl><dl><dtclass="spec value"id="val-is_extern_var"><ahref="#val-is_extern_var"class="anchor"></a><code><spanclass="keyword">val</span> is_extern_var : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p><code>is_extern_var an</code> is true iff an is a extern variable</p></dd></dl><dl><dtclass="spec value"id="val-is_const_expr_var"><ahref="#val-is_const_expr_var"class="anchor"></a><code><spanclass="keyword">val</span> is_const_expr_var : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p><code>is_const_expr_var an</code> is true iff an is a <code>const</code> variable declaration</p></dd></dl><dl><dtclass="spec value"id="val-is_init_integral_constant_expr"><ahref="#val-is_init_integral_constant_expr"class="anchor"></a><code><spanclass="keyword">val</span> is_init_integral_constant_expr : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p><code>is_init_integra_constant_expr an</code> is true iff it is an initializer and an integral constant expression, or in C++11, whether the initializer is a constant expression.</p></dd></dl><dl><dtclass="spec value"id="val-is_qual_type_const"><ahref="#val-is_qual_type_const"class="anchor"></a><code><spanclass="keyword">val</span> is_qual_type_const : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p><code>is_qual_type_const an</code> is true iff an is a qual_type <code>const</code> expression</p></dd></dl><dl><dtclass="spec value"id="val-has_init_list_const_expr"><ahref="#val-has_init_list_const_expr"class="anchor"></a><code><spanclass="keyword">val</span> has_init_list_const_expr : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p><code>has_init_list_const_expr</code> is true iff for an InitListExpr where all subexpressions are const expression</p></dd></dl><dl><dtclass="spec value"id="val-call_function"><ahref="#val-call_function"class="anchor"></a><code><spanclass="keyword">val</span> call_function : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p><code>call_function an name</code> is true iff an is a call to a function whose name contains <code>name</code></p></dd></dl><dl><dtclass="spec value"id="val-call_qualified_function"><ahref="#val-call_qualified_function"class="anchor"></a><code><spanclass="keyword">val</span> call_qualified_function : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p><code>call_function an name</code> is true iff an is a call to a function whose fully qualified name contains <code>name</code></p></dd></dl><dl><dtclass="spec value"id="val-is_strong_property"><ahref="#val-is_strong_property"class="anchor"></a><code><spanclass="keyword">val</span> is_strong_property : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p><code>is_strong_property an</code> is true iff an denotes a objc property declaration with <code>strong</code> attribute</p></dd></dl><dl><dtclass="spec value"id="val-is_strong_ivar"><ahref="#val-is_strong_ivar"class="anchor"></a><code><spanclass="keyword">val</span> is_strong_ivar : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p><code>is_strong_ivar an</code> is true iff an denotes a objc ivar with <code>strong</code> attribute</p></dd></dl><dl><dtclass="spec value"id="val-is_weak_property"><ahref="#val-is_weak_property"class="anchor"></a><code><spanclass="keyword">val</span> is_weak_property : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p><code>is_weak_property an</code> is true iff an denotes a objc property declaration with <code>weak</code> attribute</p></dd></dl><dl><dtclass="spec value"id="val-is_assign_property"><ahref="#val-is_assign_property"class="anchor"></a><code><spanclass="keyword">val</span> is_assign_property : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p><code>is_assign_property an</code> is true iff an denotes a objc property declaration with <code>assign</code> attribute</p></dd></dl><dl><dtclass="spec value"id="val-is_property_pointer_type"><ahref="#val-is_property_pointer_type"class="anchor"></a><code><spanclass="keyword">val</span> is_property_pointer_type : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p><code>is_property_pointer_type an</code> is true iff an denotes a objc property declaration with type pointer</p></dd></dl><dl><dtclass="spec value"id="val-context_in_synchronized_block"><ahref="#val-context_in_synchronized_block"class="anchor"></a><code><spanclass="keyword">val</span> context_in_synchronized_block : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span> bool</code></dt><dd><p>true if the current node is in the context of a synchronized objc block</p></dd></dl><dl><dtclass="spec value"id="val-is_ivar_atomic"><ahref="#val-is_ivar_atomic"class="anchor"></a><code><spanclass="keyword">val</span> is_ivar_atomic : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p><code>is_ivar_atomic an</code> is true iff an denotes an atomi objc ivar</p></dd></dl><dl><dtclass="spec value"id="val-is_method_property_accessor_of_ivar"><ahref="#val-is_method_property_accessor_of_ivar"class="anchor"></a><code><spanclass="keyword">val</span> is_method_property_accessor_of_ivar : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-is_in_block"><ahref="#val-is_in_block"class="anchor"></a><code><spanclass="keyword">val</span> is_in_block : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span> bool</code></dt><dd><p>true if the current node is in the context of an objc block</p></dd></dl><dl><dtclass="spec value"id="val-is_optional_objc_method"><ahref="#val-is_optional_objc_method"class="anchor"></a><code><spanclass="keyword">val</span> is_optional_objc_method : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p>true if the current node is an objc method declaration which is declared with <code>@optional</code></p></dd></dl><dl><dtclass="spec value"id="val-is_call_to_optional_objc_method"><ahref="#val-is_call_to_optional_objc_method"class="anchor"></a><code><spanclass="keyword">val</span> is_call_to_optional_objc_method : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p>true if the current node is a call to an objc method declaration which is declared with <code>@optional</code></p></dd></dl><dl><dtclass="spec value"id="val-is_in_cxx_constructor"><ahref="#val-is_in_cxx_constructor"class="anchor"></a><code><spanclass="keyword">val</span> is_in_cxx_constructor : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p><code>is_in_cxx_constructor context name</code> is true if the curent node is within a CXX constructor whose name contains <code>name</code></p></dd></dl><dl><dtclass="spec value"id="val-is_in_cxx_destructor"><ahref="#val-is_in_cxx_destructor"class="anchor"></a><code><spanclass="keyword">val</span> is_in_cxx_destructor : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p><code>is_in_destructor_constructor context name</code> is true if the curent node is within a CXX destructor whose name contains <code>name</code></p></dd></dl><dl><dtclass="spec value"id="val-is_in_cxx_method"><ahref="#val-is_in_cxx_method"class="anchor"></a><code><spanclass="keyword">val</span> is_in_cxx_method : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p><code>is_in_cxx_method context name</code> is true if the curent node is within a CXX method whose name contains <code>name</code></p></dd></dl><dl><dtclass="spec value"id="val-is_in_function"><ahref="#val-is_in_function"class="anchor"></a><code><spanclass="keyword">val</span> is_in_function : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p><code>is_in_function context name</code> is true if the curent node is within a function whose name contains <code>name</code></p></dd></dl><dl><dtclass="spec value"id="val-is_objc_extension"><ahref="#val-is_objc_extension"class="anchor"></a><code><spanclass="keyword">val</span> is_objc_extension : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span> bool</code></dt><dd><p>Checks if the current file has an ObjC file extension (I.E. <code>.m</code> or <code>.mm</code>)</p></dd></dl><dl><dtclass="spec value"id="val-is_objc_class_named"><ahref="#val-is_objc_class_named"class="anchor"></a><code><spanclass="keyword">val</span> is_objc_class_named : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCInterfaceDecl or ObjCImplementationDecl node whose name matches the provided REGEXP</p><p>Matches on <code>MyClass</code> in:</p><pre><codeclass="ml">@interface MyClass
@implementation MyClass</code></pre></dd></dl><dl><dtclass="spec value"id="val-is_objc_interface_named"><ahref="#val-is_objc_interface_named"class="anchor"></a><code><spanclass="keyword">val</span> is_objc_interface_named : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCInterfaceDecl node whose name matches the provided REGEXP</p><p>Matches on <code>MyClass</code> in <code>@interface MyClass</code></p></dd></dl><dl><dtclass="spec value"id="val-is_objc_implementation_named"><ahref="#val-is_objc_implementation_named"class="anchor"></a><code><spanclass="keyword">val</span> is_objc_implementation_named : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCImplementationDecl node whose name matches the provided REGEXP</p><p>Matches on <code>MyClass</code> in <code>@implementation MyClass</code></p></dd></dl><dl><dtclass="spec value"id="val-is_objc_category_named"><ahref="#val-is_objc_category_named"class="anchor"></a><code><spanclass="keyword">val</span> is_objc_category_named : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCCategoryDecl or ObjCCategoryImplDecl node whose name matches the provided REGEXP</p><p>Matches on <code>MyCategory</code> in:</p><pre><codeclass="ml">@interface MyClass (MyCategory)
@implementation MyClass (MyCategory)</code></pre></dd></dl><dl><dtclass="spec value"id="val-is_objc_category_interface_named"><ahref="#val-is_objc_category_interface_named"class="anchor"></a><code><spanclass="keyword">val</span> is_objc_category_interface_named : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCCategoryDecl node whose name matches the provided REGEXP</p><p>Matches on <code>MyCategory</code> in <code>@interface MyClass (MyCategory)</code></p></dd></dl><dl><dtclass="spec value"id="val-is_objc_category_implementation_named"><ahref="#val-is_objc_category_implementation_named"class="anchor"></a><code><spanclass="keyword">val</span> is_objc_category_implementation_named : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCCategoryImplDecl node whose name matches the provided REGEXP</p><p>Matches on <code>MyCategory</code> in <code>@implementation MyClass (MyCategory)</code></p></dd></dl><dl><dtclass="spec value"id="val-is_objc_category_on_class_named"><ahref="#val-is_objc_category_on_class_named"class="anchor"></a><code><spanclass="keyword">val</span> is_objc_category_on_class_named : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCCategoryDecl or ObjCCategoryImplDecl node whose class name matches the provided REGEXP</p><p>Matches on <code>MyClass</code> in:</p><pre><codeclass="ml">@interface MyClass (MyCategory)
@implementation MyClass (MyCategory)</code></pre></dd></dl><dl><dtclass="spec value"id="val-is_objc_category_interface_on_class_named"><ahref="#val-is_objc_category_interface_on_class_named"class="anchor"></a><code><spanclass="keyword">val</span> is_objc_category_interface_on_class_named : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCCategoryDecl node whose class name matches the provided REGEXP</p><p>Matches on <code>MyClass</code> in <code>@interface MyClass (MyCategory)</code></p></dd></dl><dl><dtclass="spec value"id="val-is_objc_category_implementation_on_class_named"><ahref="#val-is_objc_category_implementation_on_class_named"class="anchor"></a><code><spanclass="keyword">val</span> is_objc_category_implementation_on_class_named : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCCategoryImplDecl node whose class name matches the provided REGEXP</p><p>Matches on <code>MyClass</code> in <code>@implementation MyClass (MyCategory)</code></p></dd></dl><dl><dtclass="spec value"id="val-is_objc_category_on_subclass_of"><ahref="#val-is_objc_category_on_subclass_of"class="anchor"></a><code><spanclass="keyword">val</span> is_objc_category_on_subclass_of : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCCategoryDecl or ObjCCategoryImplDecl node whose class inherits from a class whose name matches the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-is_objc_category_interface_on_subclass_of"><ahref="#val-is_objc_category_interface_on_subclass_of"class="anchor"></a><code><spanclass="keyword">val</span> is_objc_category_interface_on_subclass_of : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCCategoryDecl node whose class inherits from a class whose name matches the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-is_objc_category_implementation_on_subclass_of"><ahref="#val-is_objc_category_implementation_on_subclass_of"class="anchor"></a><code><spanclass="keyword">val</span> is_objc_category_implementation_on_subclass_of : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCCategoryImplDecl node whose class inherits from a class whose name matches the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-adhere_to_protocol"><ahref="#val-adhere_to_protocol"class="anchor"></a><code><spanclass="keyword">val</span> adhere_to_protocol : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p>true if an objC class adhere to a protocol</p></dd></dl><dl><dtclass="spec value"id="val-is_objc_protocol_named"><ahref="#val-is_objc_protocol_named"class="anchor"></a><code><spanclass="keyword">val</span> is_objc_protocol_named : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCProtocolDecl node whose name matches the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-is_objc_class_method_named"><ahref="#val-is_objc_class_method_named"class="anchor"></a><code><spanclass="keyword">val</span> is_objc_class_method_named : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCMethodDecl node whose name matches the provided REGEXP and is a class method</p></dd></dl><dl><dtclass="spec value"id="val-is_objc_instance_method_named"><ahref="#val-is_objc_instance_method_named"class="anchor"></a><code><spanclass="keyword">val</span> is_objc_instance_method_named : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCMethodDecl node whose name matches the provided REGEXP and is an instance method</p></dd></dl><dl><dtclass="spec value"id="val-is_objc_method_named"><ahref="#val-is_objc_method_named"class="anchor"></a><code><spanclass="keyword">val</span> is_objc_method_named : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCMethodDecl node whose name matches the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-is_objc_constructor"><ahref="#val-is_objc_constructor"class="anchor"></a><code><spanclass="keyword">val</span> is_objc_constructor : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span> bool</code></dt><dd><p><code>is_in_objc_constructor context</code> is true if the curent node is within an ObjC constructor</p></dd></dl><dl><dtclass="spec value"id="val-objc_class_has_only_one_constructor_method_named"><ahref="#val-objc_class_has_only_one_constructor_method_named"class="anchor"></a><code><spanclass="keyword">val</span> objc_class_has_only_one_constructor_method_named : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>true if an ObjC class has only one class method and is a constructor whose name matches the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-is_objc_dealloc"><ahref="#val-is_objc_dealloc"class="anchor"></a><code><spanclass="keyword">val</span> is_objc_dealloc : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span> bool</code></dt><dd><p><code>is_in_objc_dealloc context</code> is true if the curent node is within an ObjC dealloc method</p></dd></dl><dl><dtclass="spec value"id="val-is_in_objc_subclass_of"><ahref="#val-is_in_objc_subclass_of"class="anchor"></a><code><spanclass="keyword">val</span> is_in_objc_subclass_of : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is a subnode of an ObjCInterfaceDecl or ObjCImplementationDecl node which inherits from a class whose name matches the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-is_in_objc_interface_named"><ahref="#val-is_in_objc_interface_named"class="anchor"></a><code><spanclass="keyword">val</span> is_in_objc_interface_named : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is a subnode of an ObjCInterfaceDecl node whose name matches the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-is_in_objc_implementation_named"><ahref="#val-is_in_objc_implementation_named"class="anchor"></a><code><spanclass="keyword">val</span> is_in_objc_implementation_named : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is a subnode of an ObjCImplementationDecl node whose name matches the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-is_in_objc_class_named"><ahref="#val-is_in_objc_class_named"class="anchor"></a><code><spanclass="keyword">val</span> is_in_objc_class_named : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is a subnode of an ObjCInterfaceDecl or ObjCImplementationDecl node whose name matches the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-is_in_objc_category_interface_on_class_named"><ahref="#val-is_in_objc_category_interface_on_class_named"class="anchor"></a><code><spanclass="keyword">val</span> is_in_objc_category_interface_on_class_named : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is a subnode of an ObjCCategoryDecl node whose class name matches the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-is_in_objc_category_implementation_on_class_named"><ahref="#val-is_in_objc_category_implementation_on_class_named"class="anchor"></a><code><spanclass="keyword">val</span> is_in_objc_category_implementation_on_class_named : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is a subnode of an ObjCCategoryImplDecl node whose class name matches the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-is_in_objc_category_on_class_named"><ahref="#val-is_in_objc_category_on_class_named"class="anchor"></a><code><spanclass="keyword">val</span> is_in_objc_category_on_class_named : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is a subnode of an ObjCCategoryDecl or ObjCCategoryImplDecl node whose class name matches the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-is_in_objc_category_interface_on_subclass_of"><ahref="#val-is_in_objc_category_interface_on_subclass_of"class="anchor"></a><code><spanclass="keyword">val</span> is_in_objc_category_interface_on_subclass_of : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is a subnode of an ObjCCategoryDecl node whose class inherits from a class whose name matches the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-is_in_objc_category_implementation_on_subclass_of"><ahref="#val-is_in_objc_category_implementation_on_subclass_of"class="anchor"></a><code><spanclass="keyword">val</span> is_in_objc_category_implementation_on_subclass_of : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is a subnode of an ObjCCategoryImplDecl node whose class inherits from a class whose name matches the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-is_in_objc_category_on_subclass_of"><ahref="#val-is_in_objc_category_on_subclass_of"class="anchor"></a><code><spanclass="keyword">val</span> is_in_objc_category_on_subclass_of : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is a subnode of an ObjCCategoryDecl or ObjCCategoryImplDecl node whose class inherits from a class whose name matches the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-is_in_objc_category_interface_named"><ahref="#val-is_in_objc_category_interface_named"class="anchor"></a><code><spanclass="keyword">val</span> is_in_objc_category_interface_named : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is a subnode of an ObjCCategoryDecl node whose name matches the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-is_in_objc_category_implementation_named"><ahref="#val-is_in_objc_category_implementation_named"class="anchor"></a><code><spanclass="keyword">val</span> is_in_objc_category_implementation_named : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is a subnode of an ObjCCategoryImplDecl node whose name matches the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-is_in_objc_category_named"><ahref="#val-is_in_objc_category_named"class="anchor"></a><code><spanclass="keyword">val</span> is_in_objc_category_named : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is a subnode of an ObjCCategoryDecl or ObjCCategoryImplDecl node whose name matches the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-is_in_objc_protocol_named"><ahref="#val-is_in_objc_protocol_named"class="anchor"></a><code><spanclass="keyword">val</span> is_in_objc_protocol_named : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is a subnode of an ObjCProtocolDecl node whose name matches the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-is_in_objc_class_method"><ahref="#val-is_in_objc_class_method"class="anchor"></a><code><spanclass="keyword">val</span> is_in_objc_class_method : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node, or a parent node, is an ObjCMethodDecl node whose name matches the provided REGEXP and is a class method</p></dd></dl><dl><dtclass="spec value"id="val-is_in_objc_instance_method"><ahref="#val-is_in_objc_instance_method"class="anchor"></a><code><spanclass="keyword">val</span> is_in_objc_instance_method : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node, or a parent node, is an ObjCMethodDecl node whose name matches the provided REGEXP and is an instance method</p></dd></dl><dl><dtclass="spec value"id="val-is_in_objc_method"><ahref="#val-is_in_objc_method"class="anchor"></a><code><spanclass="keyword">val</span> is_in_objc_method : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node, or a parent node, is an ObjCMethodDecl node whose name matches the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-is_objc_method_overriding"><ahref="#val-is_objc_method_overriding"class="anchor"></a><code><spanclass="keyword">val</span> is_objc_method_overriding : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCMethodDecl node and is overriding a method in the superclass.</p><p>A method is said to override any method in the class base classes, its protocols, or its categories' protocols, that has the same selector and is of the same kind (class or instance). A method in an implementation is not considered as overriding the same method in the interface or its categories.</p></dd></dl><dl><dtclass="spec value"id="val-is_objc_method_exposed"><ahref="#val-is_objc_method_exposed"class="anchor"></a><code><spanclass="keyword">val</span> is_objc_method_exposed : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCMethodDecl node and is exposed in an interface.</p><p>A method is said to be exposed if it's overriding a method or it's declared in a matching interface. For example, a method defined in a class implementation is exposed if it's declared in the class interface or interface extension, but not if it's declared in a category on the class. If the current node is a subnode of an ObjCInterfaceDecl, ObjCCategoryDecl, or ObjCProtocolDecl, this predicate returns false.</p></dd></dl><dl><dtclass="spec value"id="val-captures_cxx_references"><ahref="#val-captures_cxx_references"class="anchor"></a><code><spanclass="keyword">val</span> captures_cxx_references : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p><code>captures_cxx_references an</code> is true iff the node an captures some CXX references</p></dd></dl><dl><dtclass="spec value"id="val-is_binop_with_kind"><ahref="#val-is_binop_with_kind"class="anchor"></a><code><spanclass="keyword">val</span> is_binop_with_kind : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p><code>is_binop_with_kind an binop</code> is true iff an denotes a binary operator of kind binop</p></dd></dl><dl><dtclass="spec value"id="val-is_unop_with_kind"><ahref="#val-is_unop_with_kind"class="anchor"></a><code><spanclass="keyword">val</span> is_unop_with_kind : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p><code>is_unop_of_kind an unop</code> is true iff an denotes a unary operator of kind unop</p></dd></dl><dl><dtclass="spec value"id="val-has_cast_kind"><ahref="#val-has_cast_kind"class="anchor"></a><code><spanclass="keyword">val</span> has_cast_kind : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p><code>has_cast_kind an cast</code> is true iff an denotes a cast operation of kind cast</p></dd></dl><dl><dtclass="spec value"id="val-isa"><ahref="#val-isa"class="anchor"></a><code><spanclass="keyword">val</span> isa : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>node an is of class classname</p></dd></dl><dl><dtclass="spec value"id="val-is_node"><ahref="#val-is_node"class="anchor"></a><code><spanclass="keyword">val</span> is_node : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p><code>is_node an nodename</code> is true iff an is a node of kind nodename</p></dd></dl><dl><dtclass="spec value"id="val-declaration_has_name"><ahref="#val-declaration_has_name"class="anchor"></a><code><spanclass="keyword">val</span> declaration_has_name : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-declaration_ref_name"><ahref="#val-declaration_ref_name"class="anchor"></a><code><spanclass="keyword">val</span> declaration_ref_name : <span>?⁠kind:<ahref="../../ATDGenerated/Clang_ast_t/index.html#type-decl_kind">ATDGenerated.Clang_ast_t.decl_kind</a></span><span>-></span><ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p><code>declaration_ref_has_name an n</code> is true iff node an is a DeclRefExpr with name containing string n. The optional parameter kind allow to distinguish between special kind of decl_ref_exprs like <code>is_enum_constant</code>.</p></dd></dl><dl><dtclass="spec value"id="val-is_class"><ahref="#val-is_class"class="anchor"></a><code><spanclass="keyword">val</span> is_class : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-pp_predicate"><ahref="#val-pp_predicate"class="anchor"></a><code><spanclass="keyword">val</span> pp_predicate : Stdlib.Format.formatter <span>-></span><ahref="index.html#type-t">t</a><span>-></span> unit</code></dt><dtclass="spec value"id="val-has_type"><ahref="#val-has_type"class="anchor"></a><code><spanclass="keyword">val</span> has_type : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-has_value"><ahref="#val-has_value"class="anchor"></a><code><spanclass="keyword">val</span> has_value : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-method_return_type"><ahref="#val-method_return_type"class="anchor"></a><code><spanclass="keyword">val</span> method_return_type : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-has_type_subprotocol_of"><ahref="#val-has_type_subprotocol_of"class="anchor"></a><code><spanclass="keyword">val</span> has_type_subprotocol_of : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-get_selector"><ahref="#val-get_selector"class="anchor"></a><code><spanclass="keyword">val</span> get_selector : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><span>string option</span></code></dt><dtclass="spec value"id="val-within_responds_to_selector_block"><ahref="#val-within_responds_to_selector_block"class="anchor"></a><code><spanclass="keyword">val</span> within_responds_to_selector_block : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-objc_method_call_within_responds_to_selector_block"><ahref="#val-objc_method_call_within_responds_to_selector_block"class="anchor"></a><code><spanclass="keyword">val</span> objc_method_call_within_responds_to_selector_block : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p>true if a ObjC method call is withing the scope of a responds_to_selector check</p></dd></dl><dl><dtclass="spec value"id="val-using_namespace"><ahref="#val-using_namespace"class="anchor"></a><code><spanclass="keyword">val</span> using_namespace : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-receiver_class_method_call"><ahref="#val-receiver_class_method_call"class="anchor"></a><code><spanclass="keyword">val</span> receiver_class_method_call : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><span><ahref="../../ATDGenerated/Clang_ast_t/index.html#type-decl">ATDGenerated.Clang_ast_t.decl</a> option</span></code></dt><dtclass="spec value"id="val-receiver_method_call"><ahref="#val-receiver_method_call"class="anchor"></a><code><spanclass="keyword">val</span> receiver_method_call : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><span><ahref="../../ATDGenerated/Clang_ast_t/index.html#type-decl">ATDGenerated.Clang_ast_t.decl</a> option</span></code></dt><dtclass="spec value"id="val-is_receiver_objc_class_type"><ahref="#val-is_receiver_objc_class_type"class="anchor"></a><code><spanclass="keyword">val</span> is_receiver_objc_class_type : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCMessageExpr node and has a receiver equivalent to the <code>Class</code> type.</p></dd></dl><dl><dtclass="spec value"id="val-is_receiver_objc_id_type"><ahref="#val-is_receiver_objc_id_type"class="anchor"></a><code><spanclass="keyword">val</span> is_receiver_objc_id_type : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCMessageExpr node and has a receiver equivalent to the <code>id</code> type.</p></dd></dl><dl><dtclass="spec value"id="val-is_receiver_subclass_of"><ahref="#val-is_receiver_subclass_of"class="anchor"></a><code><spanclass="keyword">val</span> is_receiver_subclass_of : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCMessageExpr node and has a receiver which inherits from a class whose name matches the provided REGEXP.</p></dd></dl><dl><dtclass="spec value"id="val-is_receiver_class_named"><ahref="#val-is_receiver_class_named"class="anchor"></a><code><spanclass="keyword">val</span> is_receiver_class_named : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCMessageExpr node and has a receiver whose class name matches the provided REGEXP.</p></dd></dl><dl><dtclass="spec value"id="val-is_receiver_super"><ahref="#val-is_receiver_super"class="anchor"></a><code><spanclass="keyword">val</span> is_receiver_super : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCMessageExpr node and has a receiver which is equal to <code>super</code>.</p><p>Matches on <code>super myMethod</code>;</p></dd></dl><dl><dtclass="spec value"id="val-is_receiver_self"><ahref="#val-is_receiver_self"class="anchor"></a><code><spanclass="keyword">val</span> is_receiver_self : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p>Checks if the current node is an ObjCMessageExpr node and has a receiver which is equal to <code>self</code>.</p></dd></dl><dl><dtclass="spec value"id="val-is_at_selector_with_name"><ahref="#val-is_at_selector_with_name"class="anchor"></a><code><spanclass="keyword">val</span> is_at_selector_with_name : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>an is an expression <code>@selector</code> with whose name in the language of re</p></dd></dl><dl><dtclass="spec value"id="val-has_visibility_attribute"><ahref="#val-has_visibility_attribute"class="anchor"></a><code><spanclass="keyword">val</span> has_visibility_attribute : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-cxx_construct_expr_has_name"><ahref="#val-cxx_construct_expr_has_name"class="anchor"></a><code><spanclass="keyword">val</span> cxx_construct_expr_has_name : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>true if the node is a CXXConstruct with name matching the provided REGEXP</p></dd></dl><dl><dtclass="spec value"id="val-has_used_attribute"><ahref="#val-has_used_attribute"class="anchor"></a><code><spanclass="keyword">val</span> has_used_attribute : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-has_no_escape_attribute"><ahref="#val-has_no_escape_attribute"class="anchor"></a><code><spanclass="keyword">val</span> has_no_escape_attribute : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-within_available_class_block"><ahref="#val-within_available_class_block"class="anchor"></a><code><spanclass="keyword">val</span> within_available_class_block : <ahref="../CLintersContext/index.html#type-context">CLintersContext.context</a><span>-></span><ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-has_type_const_ptr_to_objc_class"><ahref="#val-has_type_const_ptr_to_objc_class"class="anchor"></a><code><spanclass="keyword">val</span> has_type_const_ptr_to_objc_class : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-is_decl"><ahref="#val-is_decl"class="anchor"></a><code><spanclass="keyword">val</span> is_decl : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p>is_decl an is true iff an is a node denoting a declaration</p></dd></dl><dl><dtclass="spec value"id="val-get_ast_node_type_ptr"><ahref="#val-get_ast_node_type_ptr"class="anchor"></a><code><spanclass="keyword">val</span> get_ast_node_type_ptr : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><span><ahref="../../ATDGenerated/Clang_ast_t/index.html#type-type_ptr">ATDGenerated.Clang_ast_t.type_ptr</a> option</span></code></dt><dtclass="spec value"id="val-is_method_called_by_superclass"><ahref="#val-is_method_called_by_superclass"class="anchor"></a><code><spanclass="keyword">val</span> is_method_called_by_superclass : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-is_cxx_copy_constructor"><ahref="#val-is_cxx_copy_constructor"class="anchor"></a><code><spanclass="keyword">val</span> is_cxx_copy_constructor : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p>true if the current node is a C++ copy constructor</p></dd></dl><dl><dtclass="spec value"id="val-has_cxx_fully_qualified_name"><ahref="#val-has_cxx_fully_qualified_name"class="anchor"></a><code><spanclass="keyword">val</span> has_cxx_fully_qualified_name : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>true iff node has C++ fully qualified name (w/class and namespace) matching the given regexp</p></dd></dl><dl><dtclass="spec value"id="val-has_cxx_fully_qualified_name_in_custom_symbols"><ahref="#val-has_cxx_fully_qualified_name_in_custom_symbols"class="anchor"></a><code><spanclass="keyword">val</span> has_cxx_fully_qualified_name_in_custom_symbols : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> string <span>-></span> bool</code></dt><dd><p>true iff node has C++ fully qualified name (w/class and namespace) matching a prefix on the given named custom symbol list</p></dd></dl><dl><dtclass="spec value"id="val-is_in_source_file"><ahref="#val-is_in_source_file"class="anchor"></a><code><spanclass="keyword">val</span> is_in_source_file : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>True iff the source file path of the given node matches the given regexp or string.</p></dd></dl><dl><dtclass="spec value"id="val-is_referencing_decl_from_source_file"><ahref="#val-is_referencing_decl_from_source_file"class="anchor"></a><code><spanclass="keyword">val</span> is_referencing_decl_from_source_file : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a><span>-></span> bool</code></dt><dd><p>True iff the given node is a DeclRefExpr referencing a decl whose source file path matches the given regexp or string.</p></dd></dl><dl><dtclass="spec value"id="val-is_cxx_method_overriding"><ahref="#val-is_cxx_method_overriding"class="anchor"></a><code><spanclass="keyword">val</span> is_cxx_method_overriding : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span><span><ahref="../ALVar/index.html#type-alexp">ALVar.alexp</a> option</span><span>-></span> bool</code></dt><dd><p>True iff the current node is a CXXMethodDecl node and is overriding a method whose fully-qualified name (with class and namespace) matches the given regexp (if given, otherwise any overriding method satisfies).</p></dd></dl><dl><dtclass="spec value"id="val-is_init_expr_cxx11_constant"><ahref="#val-is_init_expr_cxx11_constant"class="anchor"></a><code><spanclass="keyword">val</span> is_init_expr_cxx11_constant : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p>true if the current node is classified as C++11 constant expression by the AST. It works only for VarDecl init expr</p></dd></dl><dl><dtclass="spec value"id="val-cxx_construct_expr_has_no_parameters"><ahref="#val-cxx_construct_expr_has_no_parameters"class="anchor"></a><code><spanclass="keyword">val</span> cxx_construct_expr_has_no_parameters : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p>true if a construct expr has no subexpressions</p></dd></dl><dl><dtclass="spec value"id="val-has_unavailable_attribute"><ahref="#val-has_unavailable_attribute"class="anchor"></a><code><spanclass="keyword">val</span> has_unavailable_attribute : <ahref="../Ctl_parser_types/index.html#type-ast_node">Ctl_parser_types.ast_node</a><span>-></span> bool</code></dt><dd><p>true is a declaration has an Unavailable attribute</p></dd></dl></div></body></html>