Skip to content

Commit

Permalink
Deploying to gh-pages from @ 203cf40 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
oxisto committed Jan 8, 2024
1 parent 609fad5 commit 23ba51d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<div class="cover ">
<h1 class="cover"><span>apply</span><wbr><span><span>Metadata</span></span></h1>
</div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":cpg-core:dokkaHtmlPartial/main"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="-node/index.html">Node</a><span class="token punctuation">.</span><a href="apply-metadata.html"><span class="token function">applyMetadata</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">provider<span class="token operator">: </span><a href="-metadata-provider/index.html">MetadataProvider</a><span class="token operator">?</span><span class="token punctuation">, </span></span><span class="parameter ">name<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char-sequence/index.html">CharSequence</a><span class="token operator">?</span><span class="token operator"> = </span>EMPTY_NAME<span class="token punctuation">, </span></span><span class="parameter ">rawNode<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">localNameOnly<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator"> = </span><span class="token boolean">false</span><span class="token punctuation">, </span></span><span class="parameter ">defaultNamespace<span class="token operator">: </span><a href="-name/index.html">Name</a><span class="token operator">?</span><span class="token operator"> = </span>null</span></span><span class="token punctuation">)</span></div><p class="paragraph">Applies various metadata on this <a href="-node/index.html">Node</a>, based on the kind of provider in <a href="apply-metadata.html">provider</a>. This can include:</p><ul><li><p class="paragraph">Setting <a href="-node/code.html">Node.code</a> and <a href="-node/location.html">Node.location</a>, if a <a href="-code-and-location-provider/index.html">CodeAndLocationProvider</a> is given</p></li><li><p class="paragraph">Setting <a href="-node/location.html">Node.location</a>, if a <a href="-language-provider/index.html">LanguageProvider</a> is given</p></li><li><p class="paragraph">Setting <a href="-node/scope.html">Node.scope</a>. if a <a href="-scope-provider/index.html">ScopeProvider</a> is given</p></li><li><p class="paragraph">Setting <a href="-node/is-inferred.html">Node.isInferred</a>, if an <a href="../de.fraunhofer.aisec.cpg.passes.inference/-is-inferred-provider/index.html">IsInferredProvider</a> is given</p></li></ul><p class="paragraph">Note, that one provider can implement multiple provider interfaces. Additionally, if codeOverride is specified, the supplied source code is used to override anything from the provider.</p></div></div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":cpg-core:dokkaHtmlPartial/main"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="-node/index.html">Node</a><span class="token punctuation">.</span><a href="apply-metadata.html"><span class="token function">applyMetadata</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">provider<span class="token operator">: </span><a href="-metadata-provider/index.html">MetadataProvider</a><span class="token operator">?</span><span class="token punctuation">, </span></span><span class="parameter ">name<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char-sequence/index.html">CharSequence</a><span class="token operator">?</span><span class="token operator"> = </span>EMPTY_NAME<span class="token punctuation">, </span></span><span class="parameter ">rawNode<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">localNameOnly<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator"> = </span><span class="token boolean">false</span><span class="token punctuation">, </span></span><span class="parameter ">defaultNamespace<span class="token operator">: </span><a href="-name/index.html">Name</a><span class="token operator">?</span><span class="token operator"> = </span>null</span></span><span class="token punctuation">)</span></div><p class="paragraph">Applies various metadata on this <a href="-node/index.html">Node</a>, based on the kind of provider in <a href="apply-metadata.html">provider</a>. This can include:</p><ul><li><p class="paragraph">Setting <a href="-node/code.html">Node.code</a> and <a href="-node/location.html">Node.location</a>, if a <a href="-code-and-location-provider/index.html">CodeAndLocationProvider</a> is given</p></li><li><p class="paragraph">Setting <a href="-node/location.html">Node.location</a>, if a <a href="-language-provider/index.html">LanguageProvider</a> is given</p></li><li><p class="paragraph">Setting <a href="-node/scope.html">Node.scope</a>. if a <a href="-scope-provider/index.html">ScopeProvider</a> is given</p></li><li><p class="paragraph">Setting <a href="-node/is-inferred.html">Node.isInferred</a>, if an <a href="../de.fraunhofer.aisec.cpg.passes.inference/-is-inferred-provider/index.html">IsInferredProvider</a> is given</p></li></ul><p class="paragraph">Note, that one provider can implement multiple provider interfaces.</p></div></div>
</div>
<div class="footer">
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2024 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
Expand Down

0 comments on commit 23ba51d

Please sign in to comment.