You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
5.9 KiB

This file contains ambiguous Unicode characters!

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>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CLintersContext (infer.ASTLanguage.CLintersContext)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../../index.html">infer</a> &#x00BB; <a href="../index.html">ASTLanguage</a> &#x00BB; CLintersContext</nav><h1>Module <code>ASTLanguage.CLintersContext</code></h1></header><dl><dt class="spec type" id="type-if_context"><a href="#type-if_context" class="anchor"></a><code><span class="keyword">type</span> if_context</code><code> = </code><code>{</code><table class="record"><tr id="type-if_context.within_responds_to_selector_block" class="anchored"><td class="def field"><a href="#type-if_context.within_responds_to_selector_block" class="anchor"></a><code>within_responds_to_selector_block : <span>string list</span>;</code></td></tr><tr id="type-if_context.within_available_class_block" class="anchored"><td class="def field"><a href="#type-if_context.within_available_class_block" class="anchor"></a><code>within_available_class_block : <span>string list</span>;</code></td></tr><tr id="type-if_context.ios_version_guard" class="anchored"><td class="def field"><a href="#type-if_context.ios_version_guard" class="anchor"></a><code>ios_version_guard : <span>string list</span>;</code></td></tr></table><code>}</code></dt><dt class="spec type" id="type-context"><a href="#type-context" class="anchor"></a><code><span class="keyword">type</span> context</code><code> = </code><code>{</code><table class="record"><tr id="type-context.translation_unit_context" class="anchored"><td class="def field"><a href="#type-context.translation_unit_context" class="anchor"></a><code>translation_unit_context : <a href="../../ClangFrontend/CFrontend_config/index.html#type-translation_unit_context">ClangFrontend.CFrontend_config.translation_unit_context</a>;</code></td></tr><tr id="type-context.current_method" class="anchored"><td class="def field"><a href="#type-context.current_method" class="anchor"></a><code>current_method : <span><a href="../../ATDGenerated/Clang_ast_t/index.html#type-decl">ATDGenerated.Clang_ast_t.decl</a> option</span>;</code></td></tr><tr id="type-context.parent_methods" class="anchored"><td class="def field"><a href="#type-context.parent_methods" class="anchor"></a><code>parent_methods : <span><a href="../../ATDGenerated/Clang_ast_t/index.html#type-decl">ATDGenerated.Clang_ast_t.decl</a> list</span>;</code></td></tr><tr id="type-context.in_synchronized_block" class="anchored"><td class="def field"><a href="#type-context.in_synchronized_block" class="anchor"></a><code>in_synchronized_block : bool;</code></td></tr><tr id="type-context.is_ck_translation_unit" class="anchored"><td class="def field"><a href="#type-context.is_ck_translation_unit" class="anchor"></a><code>is_ck_translation_unit : bool;</code></td><td class="doc"><p>True if the translation unit contains an ObjC class impl that's a subclass of CKComponent or CKComponentController.</p></td></tr><tr id="type-context.current_objc_class" class="anchored"><td class="def field"><a href="#type-context.current_objc_class" class="anchor"></a><code>current_objc_class : <span><a href="../../ATDGenerated/Clang_ast_t/index.html#type-decl">ATDGenerated.Clang_ast_t.decl</a> option</span>;</code></td><td class="doc"><p>If inside an objc class, contains the objc class (impl or interface) decl.</p></td></tr><tr id="type-context.current_objc_category" class="anchored"><td class="def field"><a href="#type-context.current_objc_category" class="anchor"></a><code>current_objc_category : <span><a href="../../ATDGenerated/Clang_ast_t/index.html#type-decl">ATDGenerated.Clang_ast_t.decl</a> option</span>;</code></td><td class="doc"><p>If inside an objc category, contains the objc category (impl or interface) decl.</p></td></tr><tr id="type-context.current_objc_protocol" class="anchored"><td class="def field"><a href="#type-context.current_objc_protocol" class="anchor"></a><code>current_objc_protocol : <span><a href="../../ATDGenerated/Clang_ast_t/index.html#type-decl">ATDGenerated.Clang_ast_t.decl</a> option</span>;</code></td><td class="doc"><p>If inside an objc protocol, contains the objc protocol decl.</p></td></tr><tr id="type-context.et_evaluation_node" class="anchored"><td class="def field"><a href="#type-context.et_evaluation_node" class="anchor"></a><code>et_evaluation_node : <span>string option</span>;</code></td></tr><tr id="type-context.if_context" class="anchored"><td class="def field"><a href="#type-context.if_context" class="anchor"></a><code>if_context : <span><a href="index.html#type-if_context">if_context</a> option</span>;</code></td></tr><tr id="type-context.in_for_loop_declaration" class="anchored"><td class="def field"><a href="#type-context.in_for_loop_declaration" class="anchor"></a><code>in_for_loop_declaration : bool;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-empty"><a href="#val-empty" class="anchor"></a><code><span class="keyword">val</span> empty : <a href="../../ClangFrontend/CFrontend_config/index.html#type-translation_unit_context">ClangFrontend.CFrontend_config.translation_unit_context</a> <span>&#45;&gt;</span> <a href="index.html#type-context">context</a></code></dt><dt class="spec value" id="val-update_current_method"><a href="#val-update_current_method" class="anchor"></a><code><span class="keyword">val</span> update_current_method : <a href="index.html#type-context">context</a> <span>&#45;&gt;</span> <a href="../../ATDGenerated/Clang_ast_t/index.html#type-decl">ATDGenerated.Clang_ast_t.decl</a> <span>&#45;&gt;</span> <a href="index.html#type-context">context</a></code></dt></dl></div></body></html>