<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div>
<div id="main">
<div id="navigation">
<br/>
<h1>c2rust-refactor</h1>
<h2>Contents</h2>
<ul>
<li><a href="#Functions">Functions</a></li>
<li><a href="#Fields">Fields</a></li>
<li><a href="#Class_RefactorState">Class RefactorState </a></li>
<li><a href="#Class_MatchCtxt">Class MatchCtxt </a></li>
<li><a href="#Class_TransformCtxt">Class TransformCtxt </a></li>
<li><a href="#scripting_into_lua_ast_Functions">scripting.into_lua_ast Functions</a></li>
<li><a href="#Class_Crate">Class Crate </a></li>
<li><a href="#Class_Mod">Class Mod </a></li>
<li><a href="#Class_Item">Class Item </a></li>
<li><a href="#Class_ItemKind">Class ItemKind </a></li>
<li><a href="#Class_UseTreeKind">Class UseTreeKind </a></li>
<li><a href="#Class_UseTree">Class UseTree </a></li>
<li><a href="#Class_TraitItem">Class TraitItem </a></li>
<li><a href="#Class_TraitItemKind">Class TraitItemKind </a></li>
<li><a href="#Class_ImplItem">Class ImplItem </a></li>
<li><a href="#Class_ImplItemKind">Class ImplItemKind </a></li>
<li><a href="#Class_TraitRef">Class TraitRef </a></li>
<li><a href="#Class_EnumDef">Class EnumDef </a></li>
<li><a href="#Class_Variant">Class Variant </a></li>
<li><a href="#Class_VariantData">Class VariantData </a></li>
<li><a href="#Class_StructField">Class StructField </a></li>
<li><a href="#Class_MethodSig">Class MethodSig </a></li>
<li><a href="#Class_ForeignMod">Class ForeignMod </a></li>
<li><a href="#Class_ForeignItem">Class ForeignItem </a></li>
<li><a href="#Class_ForeignItemKind">Class ForeignItemKind </a></li>
<li><a href="#Class_Generics">Class Generics </a></li>
<li><a href="#Class_GenericParam">Class GenericParam </a></li>
<li><a href="#Class_GenericParamKind">Class GenericParamKind </a></li>
<li><a href="#Class_WhereClause">Class WhereClause </a></li>
<li><a href="#Class_WherePredicate">Class WherePredicate </a></li>
<li><a href="#Class_WhereBoundPredicate">Class WhereBoundPredicate </a></li>
<li><a href="#Class_WhereRegionPredicate">Class WhereRegionPredicate </a></li>
<li><a href="#Class_WhereEqPredicate">Class WhereEqPredicate </a></li>
<li><a href="#Class_TraitBoundModifier">Class TraitBoundModifier </a></li>
<li><a href="#Class_VisibilityKind">Class VisibilityKind </a></li>
<li><a href="#Class_CrateSugar">Class CrateSugar </a></li>
<li><a href="#Class_Ty">Class Ty </a></li>
<li><a href="#Class_MutTy">Class MutTy </a></li>
<li><a href="#Class_TyKind">Class TyKind </a></li>
<li><a href="#Class_TraitObjectSyntax">Class TraitObjectSyntax </a></li>
<li><a href="#Class_LitIntType">Class LitIntType </a></li>
<li><a href="#Class_IntTy">Class IntTy </a></li>
<li><a href="#Class_UintTy">Class UintTy </a></li>
<li><a href="#Class_FloatTy">Class FloatTy </a></li>
<li><a href="#Class_BareFnTy">Class BareFnTy </a></li>
<li><a href="#Class_Lifetime">Class Lifetime </a></li>
<li><a href="#Class_GenericBound">Class GenericBound </a></li>
<li><a href="#Class_PolyTraitRef">Class PolyTraitRef </a></li>
<li><a href="#Class_FnDecl">Class FnDecl </a></li>
<li><a href="#Class_FnHeader">Class FnHeader </a></li>
<li><a href="#Class_Param">Class Param </a></li>
<li><a href="#Class_FunctionRetTy">Class FunctionRetTy </a></li>
<li><a href="#Class_Stmt">Class Stmt </a></li>
<li><a href="#Class_StmtKind">Class StmtKind </a></li>
<li><a href="#Class_Local">Class Local </a></li>
<li><a href="#Class_Expr">Class Expr </a></li>
<li><a href="#Class_ExprKind">Class ExprKind </a></li>
<li><a href="#Class_IsAsync">Class IsAsync </a></li>
<li><a href="#Class_Movability">Class Movability </a></li>
<li><a href="#Class_UnOp">Class UnOp </a></li>
<li><a href="#Class_BinOpKind">Class BinOpKind </a></li>
<li><a href="#Class_Field">Class Field </a></li>
<li><a href="#Class_Arm">Class Arm </a></li>
<li><a href="#Class_Block">Class Block </a></li>
<li><a href="#Class_Pat">Class Pat </a></li>
<li><a href="#Class_PatKind">Class PatKind </a></li>
<li><a href="#Class_FieldPat">Class FieldPat </a></li>
<li><a href="#Class_Lit">Class Lit </a></li>
<li><a href="#Class_LitKind">Class LitKind </a></li>
<li><a href="#Class_TokenLit">Class TokenLit </a></li>
<li><a href="#Class_TokenLitKind">Class TokenLitKind </a></li>
<li><a href="#Class_Defaultness">Class Defaultness </a></li>
<li><a href="#Class_Constness">Class Constness </a></li>
<li><a href="#Class_ImplPolarity">Class ImplPolarity </a></li>
<li><a href="#Class_IsAuto">Class IsAuto </a></li>
<li><a href="#Class_Unsafety">Class Unsafety </a></li>
<li><a href="#Class_Mutability">Class Mutability </a></li>
<li><a href="#Class_RangeEnd">Class RangeEnd </a></li>
<li><a href="#Class_RangeSyntax">Class RangeSyntax </a></li>
<li><a href="#Class_BindingMode">Class BindingMode </a></li>
<li><a href="#Class_CaptureBy">Class CaptureBy </a></li>
<li><a href="#Class_BlockCheckMode">Class BlockCheckMode </a></li>
<li><a href="#Class_UnsafeSource">Class UnsafeSource </a></li>
<li><a href="#Class_StrStyle">Class StrStyle </a></li>
<li><a href="#Class_AsmDialect">Class AsmDialect </a></li>
<li><a href="#Class_RangeLimits">Class RangeLimits </a></li>
<li><a href="#Class_Attribute">Class Attribute </a></li>
<li><a href="#Class_AttrItem">Class AttrItem </a></li>
<li><a href="#Class_AttrStyle">Class AttrStyle </a></li>
<li><a href="#Class_Path">Class Path </a></li>
<li><a href="#Class_PathSegment">Class PathSegment </a></li>
<li><a href="#Class_GenericArgs">Class GenericArgs </a></li>
<li><a href="#Class_AngleBracketedArgs">Class AngleBracketedArgs </a></li>
<li><a href="#Class_ParenthesizedArgs">Class ParenthesizedArgs </a></li>
<li><a href="#Class_GenericArg">Class GenericArg </a></li>
<li><a href="#Class_QSelf">Class QSelf </a></li>
<li><a href="#Class_AssocTyConstraint">Class AssocTyConstraint </a></li>
<li><a href="#Class_AssocTyConstraintKind">Class AssocTyConstraintKind </a></li>
<li><a href="#Class_Mac">Class Mac </a></li>
<li><a href="#Class_MacStmtStyle">Class MacStmtStyle </a></li>
<li><a href="#Class_MacroDef">Class MacroDef </a></li>
<li><a href="#Class_InlineAsm">Class InlineAsm </a></li>
<li><a href="#Class_GlobalAsm">Class GlobalAsm </a></li>
<li><a href="#Class_InlineAsmOutput">Class InlineAsmOutput </a></li>
<li><a href="#Class_Label">Class Label </a></li>
<li><a href="#Class_MacDelimiter">Class MacDelimiter </a></li>
<li><a href="#Class_AnonConst">Class AnonConst </a></li>
<li><a href="#Class_Ident">Class Ident </a></li>
<li><a href="#Class_Nonterminal">Class Nonterminal </a></li>
<li><a href="#Class_TokenTree">Class TokenTree </a></li>
<li><a href="#Class_DelimSpan">Class DelimSpan </a></li>
<li><a href="#Class_DelimToken">Class DelimToken </a></li>
<li><a href="#Class_Token">Class Token </a></li>
<li><a href="#Class_TokenKind">Class TokenKind </a></li>
<li><a href="#Class_BinOpToken">Class BinOpToken </a></li>
<li><a href="#Class_MetaItem">Class MetaItem </a></li>
<li><a href="#Class_MetaItemKind">Class MetaItemKind </a></li>
<li><a href="#Class_NestedMetaItem">Class NestedMetaItem </a></li>
<li><a href="#Class_LuaTy">Class LuaTy </a></li>
</ul>
<h2>Modules</h2>
<ul class="nowrap">
<li><strong>Refactor</strong></li>
</ul>
</div>
<div id="content">
<h1>Module <code>Refactor</code></h1>
<p>Refactoring module</p>
<p>
</p>
<h2><a href="#Functions">Functions</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#visit_stmts">visit_stmts (callback)</a></td>
<td class="summary">Visit statements</td>
</tr>
</table>
<h2><a href="#Fields">Fields</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#refactor">refactor</a></td>
<td class="summary">Global refactoring state</td>
</tr>
</table>
<h2><a href="#Class_RefactorState">Class RefactorState </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#RefactorState:run_command">RefactorState:run_command (name, args)</a></td>
<td class="summary">Run a builtin refactoring command</td>
</tr>
<tr>
<td class="name" nowrap><a href="#RefactorState:transform">RefactorState:transform (callback)</a></td>
<td class="summary">Run a custom refactoring transformation</td>
</tr>
</table>
<h2><a href="#Class_MatchCtxt">Class MatchCtxt </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#MatchCtxt:parse_stmts">MatchCtxt:parse_stmts (pat)</a></td>
<td class="summary">Parse statements and add them to this MatchCtxt</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MatchCtxt:parse_expr">MatchCtxt:parse_expr (pat)</a></td>
<td class="summary">Parse an expression and add it to this MatchCtxt</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MatchCtxt:fold_with">MatchCtxt:fold_with (needle, callback)</a></td>
<td class="summary">Find matches of <code>pattern</code> and rewrite using <code>callback</code></td>
</tr>
<tr>
<td class="name" nowrap><a href="#MatchCtxt:get_lit">MatchCtxt:get_lit (pattern)</a></td>
<td class="summary">Get matched binding for a literal variable</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MatchCtxt:get_expr">MatchCtxt:get_expr (pattern)</a></td>
<td class="summary">Get matched binding for an expression variable</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MatchCtxt:get_ty">MatchCtxt:get_ty (pattern)</a></td>
<td class="summary">Get matched binding for a type variable</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MatchCtxt:get_stmt">MatchCtxt:get_stmt (pattern)</a></td>
<td class="summary">Get matched binding for a statement variable</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MatchCtxt:get_multistmt">MatchCtxt:get_multistmt (pattern)</a></td>
<td class="summary">Get matched binding for a multistmt variable</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MatchCtxt:try_match">MatchCtxt:try_match (pat, target)</a></td>
<td class="summary">Attempt to match <code>target</code> against <code>pat</code>, updating bindings if matched.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MatchCtxt:find_first">MatchCtxt:find_first (pat, target)</a></td>
<td class="summary">Attempt to find <code>pat</code> inside <code>target</code>, updating bindings if matched.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MatchCtxt:subst">MatchCtxt:subst (replacement)</a></td>
<td class="summary">Substitute the currently matched AST node with a new AST node</td>
</tr>
</table>
<h2><a href="#Class_TransformCtxt">Class TransformCtxt </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#TransformCtxt:replace_stmts_with">TransformCtxt:replace_stmts_with (needle, callback)</a></td>
<td class="summary">Replace matching statements using given callback</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TransformCtxt:replace_expr_with">TransformCtxt:replace_expr_with (needle, haystack)</a></td>
<td class="summary">Replace matching expressions using given replacements</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TransformCtxt:replace_expr_with">TransformCtxt:replace_expr_with (needle, callback)</a></td>
<td class="summary">Replace matching expressions using given callback</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TransformCtxt:match">TransformCtxt:match (callback)</a></td>
<td class="summary">Create a new, empty <a href="scripting_api.html#MatchCtxt">MatchCtxt</a></td>
</tr>
<tr>
<td class="name" nowrap><a href="#TransformCtxt:visit_crate">TransformCtxt:visit_crate (object)</a></td>
<td class="summary">Visits an entire crate via a lua object's methods</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TransformCtxt:visit_crate">TransformCtxt:visit_crate (object)</a></td>
<td class="summary">Visits an entire crate via a lua object's methods</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TransformCtxt:visit_fn_like">TransformCtxt:visit_fn_like (object)</a></td>
<td class="summary">Visits every fn like via a lua object's methods</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TransformCtxt:visit_paths">TransformCtxt:visit_paths (node, QSelf)</a></td>
<td class="summary">Rewrite all paths in a crate</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TransformCtxt:create_use">TransformCtxt:create_use (Tree)</a></td>
<td class="summary">Create a new use item</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TransformCtxt:get_node_type">TransformCtxt:get_node_type (node_id)</a></td>
<td class="summary">Get the node type of the node with the given id</td>
</tr>
</table>
<h2><a href="#scripting_into_lua_ast_Functions">scripting.into_lua_ast Functions</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Stmt">Stmt</a></td>
<td class="summary">AST Stmt</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Expr">Expr</a></td>
<td class="summary">AST Expr</td>
</tr>
</table>
<h2><a href="#Class_Crate">Class Crate </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Crate:get_module">Crate:get_module ()</a></td>
<td class="summary">Return the "module" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Crate:set_module">Crate:set_module (value)</a></td>
<td class="summary">Set the "module" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Crate:get_attrs">Crate:get_attrs ()</a></td>
<td class="summary">Return the "attrs" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Crate:set_attrs">Crate:set_attrs (value)</a></td>
<td class="summary">Set the "attrs" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Crate:get_span">Crate:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Crate:set_span">Crate:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_Mod">Class Mod </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Mod:get_inner">Mod:get_inner ()</a></td>
<td class="summary">Return the "inner" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Mod:set_inner">Mod:set_inner (value)</a></td>
<td class="summary">Set the "inner" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Mod:get_items">Mod:get_items ()</a></td>
<td class="summary">Return the "items" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Mod:set_items">Mod:set_items (value)</a></td>
<td class="summary">Set the "items" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Mod:get_inline">Mod:get_inline ()</a></td>
<td class="summary">Return the "inline" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Mod:set_inline">Mod:set_inline (value)</a></td>
<td class="summary">Set the "inline" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_Item">Class Item </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Item:get_ident">Item:get_ident ()</a></td>
<td class="summary">Return the "ident" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Item:set_ident">Item:set_ident (value)</a></td>
<td class="summary">Set the "ident" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Item:get_attrs">Item:get_attrs ()</a></td>
<td class="summary">Return the "attrs" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Item:set_attrs">Item:set_attrs (value)</a></td>
<td class="summary">Set the "attrs" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Item:get_id">Item:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Item:set_id">Item:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Item:get_kind">Item:get_kind ()</a></td>
<td class="summary">Return the "kind" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Item:set_kind">Item:set_kind (value)</a></td>
<td class="summary">Set the "kind" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Item:get_vis">Item:get_vis ()</a></td>
<td class="summary">Return the "vis" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Item:set_vis">Item:set_vis (value)</a></td>
<td class="summary">Set the "vis" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Item:get_span">Item:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Item:set_span">Item:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Item:get_tokens">Item:get_tokens ()</a></td>
<td class="summary">Return the "tokens" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Item:set_tokens">Item:set_tokens (value)</a></td>
<td class="summary">Set the "tokens" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Item:kind_name">Item:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Item:children">Item:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Item:child">Item:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Item:replace_child">Item:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_ItemKind">Class ItemKind </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#ItemKind:kind_name">ItemKind:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ItemKind:children">ItemKind:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ItemKind:child">ItemKind:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ItemKind:replace_child">ItemKind:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_UseTreeKind">Class UseTreeKind </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#UseTreeKind:kind_name">UseTreeKind:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#UseTreeKind:children">UseTreeKind:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#UseTreeKind:child">UseTreeKind:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#UseTreeKind:replace_child">UseTreeKind:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_UseTree">Class UseTree </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#UseTree:get_kind">UseTree:get_kind ()</a></td>
<td class="summary">Return the "kind" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#UseTree:set_kind">UseTree:set_kind (value)</a></td>
<td class="summary">Set the "kind" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#UseTree:get_prefix">UseTree:get_prefix ()</a></td>
<td class="summary">Return the "prefix" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#UseTree:set_prefix">UseTree:set_prefix (value)</a></td>
<td class="summary">Set the "prefix" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#UseTree:get_span">UseTree:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#UseTree:set_span">UseTree:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#UseTree:kind_name">UseTree:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#UseTree:children">UseTree:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#UseTree:child">UseTree:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#UseTree:replace_child">UseTree:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_TraitItem">Class TraitItem </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#TraitItem:get_id">TraitItem:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitItem:set_id">TraitItem:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitItem:get_ident">TraitItem:get_ident ()</a></td>
<td class="summary">Return the "ident" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitItem:set_ident">TraitItem:set_ident (value)</a></td>
<td class="summary">Set the "ident" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitItem:get_attrs">TraitItem:get_attrs ()</a></td>
<td class="summary">Return the "attrs" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitItem:set_attrs">TraitItem:set_attrs (value)</a></td>
<td class="summary">Set the "attrs" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitItem:get_generics">TraitItem:get_generics ()</a></td>
<td class="summary">Return the "generics" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitItem:set_generics">TraitItem:set_generics (value)</a></td>
<td class="summary">Set the "generics" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitItem:get_kind">TraitItem:get_kind ()</a></td>
<td class="summary">Return the "kind" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitItem:set_kind">TraitItem:set_kind (value)</a></td>
<td class="summary">Set the "kind" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitItem:get_span">TraitItem:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitItem:set_span">TraitItem:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitItem:get_tokens">TraitItem:get_tokens ()</a></td>
<td class="summary">Return the "tokens" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitItem:set_tokens">TraitItem:set_tokens (value)</a></td>
<td class="summary">Set the "tokens" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitItem:kind_name">TraitItem:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitItem:children">TraitItem:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitItem:child">TraitItem:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitItem:replace_child">TraitItem:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_TraitItemKind">Class TraitItemKind </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#TraitItemKind:kind_name">TraitItemKind:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitItemKind:children">TraitItemKind:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitItemKind:child">TraitItemKind:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitItemKind:replace_child">TraitItemKind:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_ImplItem">Class ImplItem </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#ImplItem:get_id">ImplItem:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplItem:set_id">ImplItem:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplItem:get_ident">ImplItem:get_ident ()</a></td>
<td class="summary">Return the "ident" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplItem:set_ident">ImplItem:set_ident (value)</a></td>
<td class="summary">Set the "ident" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplItem:get_vis">ImplItem:get_vis ()</a></td>
<td class="summary">Return the "vis" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplItem:set_vis">ImplItem:set_vis (value)</a></td>
<td class="summary">Set the "vis" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplItem:get_defaultness">ImplItem:get_defaultness ()</a></td>
<td class="summary">Return the "defaultness" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplItem:set_defaultness">ImplItem:set_defaultness (value)</a></td>
<td class="summary">Set the "defaultness" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplItem:get_attrs">ImplItem:get_attrs ()</a></td>
<td class="summary">Return the "attrs" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplItem:set_attrs">ImplItem:set_attrs (value)</a></td>
<td class="summary">Set the "attrs" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplItem:get_generics">ImplItem:get_generics ()</a></td>
<td class="summary">Return the "generics" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplItem:set_generics">ImplItem:set_generics (value)</a></td>
<td class="summary">Set the "generics" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplItem:get_kind">ImplItem:get_kind ()</a></td>
<td class="summary">Return the "kind" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplItem:set_kind">ImplItem:set_kind (value)</a></td>
<td class="summary">Set the "kind" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplItem:get_span">ImplItem:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplItem:set_span">ImplItem:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplItem:get_tokens">ImplItem:get_tokens ()</a></td>
<td class="summary">Return the "tokens" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplItem:set_tokens">ImplItem:set_tokens (value)</a></td>
<td class="summary">Set the "tokens" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_ImplItemKind">Class ImplItemKind </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#ImplItemKind:kind_name">ImplItemKind:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplItemKind:children">ImplItemKind:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplItemKind:child">ImplItemKind:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplItemKind:replace_child">ImplItemKind:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_TraitRef">Class TraitRef </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#TraitRef:get_path">TraitRef:get_path ()</a></td>
<td class="summary">Return the "path" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitRef:set_path">TraitRef:set_path (value)</a></td>
<td class="summary">Set the "path" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitRef:get_ref_id">TraitRef:get_ref_id ()</a></td>
<td class="summary">Return the "ref_id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitRef:set_ref_id">TraitRef:set_ref_id (value)</a></td>
<td class="summary">Set the "ref_id" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_EnumDef">Class EnumDef </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#EnumDef:get_variants">EnumDef:get_variants ()</a></td>
<td class="summary">Return the "variants" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#EnumDef:set_variants">EnumDef:set_variants (value)</a></td>
<td class="summary">Set the "variants" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_Variant">Class Variant </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Variant:get_ident">Variant:get_ident ()</a></td>
<td class="summary">Return the "ident" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Variant:set_ident">Variant:set_ident (value)</a></td>
<td class="summary">Set the "ident" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Variant:get_attrs">Variant:get_attrs ()</a></td>
<td class="summary">Return the "attrs" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Variant:set_attrs">Variant:set_attrs (value)</a></td>
<td class="summary">Set the "attrs" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Variant:get_id">Variant:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Variant:set_id">Variant:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Variant:get_data">Variant:get_data ()</a></td>
<td class="summary">Return the "data" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Variant:set_data">Variant:set_data (value)</a></td>
<td class="summary">Set the "data" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Variant:get_disr_expr">Variant:get_disr_expr ()</a></td>
<td class="summary">Return the "disr_expr" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Variant:set_disr_expr">Variant:set_disr_expr (value)</a></td>
<td class="summary">Set the "disr_expr" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Variant:get_span">Variant:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Variant:set_span">Variant:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Variant:get_is_placeholder">Variant:get_is_placeholder ()</a></td>
<td class="summary">Return the "is_placeholder" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Variant:set_is_placeholder">Variant:set_is_placeholder (value)</a></td>
<td class="summary">Set the "is_placeholder" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_VariantData">Class VariantData </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#VariantData:kind_name">VariantData:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#VariantData:children">VariantData:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#VariantData:child">VariantData:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#VariantData:replace_child">VariantData:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_StructField">Class StructField </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#StructField:get_span">StructField:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#StructField:set_span">StructField:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#StructField:get_ident">StructField:get_ident ()</a></td>
<td class="summary">Return the "ident" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#StructField:set_ident">StructField:set_ident (value)</a></td>
<td class="summary">Set the "ident" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#StructField:get_vis">StructField:get_vis ()</a></td>
<td class="summary">Return the "vis" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#StructField:set_vis">StructField:set_vis (value)</a></td>
<td class="summary">Set the "vis" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#StructField:get_id">StructField:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#StructField:set_id">StructField:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#StructField:get_ty">StructField:get_ty ()</a></td>
<td class="summary">Return the "ty" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#StructField:set_ty">StructField:set_ty (value)</a></td>
<td class="summary">Set the "ty" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#StructField:get_attrs">StructField:get_attrs ()</a></td>
<td class="summary">Return the "attrs" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#StructField:set_attrs">StructField:set_attrs (value)</a></td>
<td class="summary">Set the "attrs" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#StructField:get_is_placeholder">StructField:get_is_placeholder ()</a></td>
<td class="summary">Return the "is_placeholder" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#StructField:set_is_placeholder">StructField:set_is_placeholder (value)</a></td>
<td class="summary">Set the "is_placeholder" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_MethodSig">Class MethodSig </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#MethodSig:get_header">MethodSig:get_header ()</a></td>
<td class="summary">Return the "header" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MethodSig:set_header">MethodSig:set_header (value)</a></td>
<td class="summary">Set the "header" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MethodSig:get_decl">MethodSig:get_decl ()</a></td>
<td class="summary">Return the "decl" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MethodSig:set_decl">MethodSig:set_decl (value)</a></td>
<td class="summary">Set the "decl" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_ForeignMod">Class ForeignMod </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#ForeignMod:get_abi">ForeignMod:get_abi ()</a></td>
<td class="summary">Return the "abi" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ForeignMod:set_abi">ForeignMod:set_abi (value)</a></td>
<td class="summary">Set the "abi" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ForeignMod:get_items">ForeignMod:get_items ()</a></td>
<td class="summary">Return the "items" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ForeignMod:set_items">ForeignMod:set_items (value)</a></td>
<td class="summary">Set the "items" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_ForeignItem">Class ForeignItem </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#ForeignItem:get_ident">ForeignItem:get_ident ()</a></td>
<td class="summary">Return the "ident" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ForeignItem:set_ident">ForeignItem:set_ident (value)</a></td>
<td class="summary">Set the "ident" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ForeignItem:get_attrs">ForeignItem:get_attrs ()</a></td>
<td class="summary">Return the "attrs" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ForeignItem:set_attrs">ForeignItem:set_attrs (value)</a></td>
<td class="summary">Set the "attrs" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ForeignItem:get_kind">ForeignItem:get_kind ()</a></td>
<td class="summary">Return the "kind" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ForeignItem:set_kind">ForeignItem:set_kind (value)</a></td>
<td class="summary">Set the "kind" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ForeignItem:get_id">ForeignItem:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ForeignItem:set_id">ForeignItem:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ForeignItem:get_span">ForeignItem:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ForeignItem:set_span">ForeignItem:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ForeignItem:get_vis">ForeignItem:get_vis ()</a></td>
<td class="summary">Return the "vis" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ForeignItem:set_vis">ForeignItem:set_vis (value)</a></td>
<td class="summary">Set the "vis" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ForeignItem:kind_name">ForeignItem:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ForeignItem:children">ForeignItem:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ForeignItem:child">ForeignItem:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ForeignItem:replace_child">ForeignItem:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_ForeignItemKind">Class ForeignItemKind </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#ForeignItemKind:kind_name">ForeignItemKind:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ForeignItemKind:children">ForeignItemKind:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ForeignItemKind:child">ForeignItemKind:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ForeignItemKind:replace_child">ForeignItemKind:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_Generics">Class Generics </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Generics:get_params">Generics:get_params ()</a></td>
<td class="summary">Return the "params" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Generics:set_params">Generics:set_params (value)</a></td>
<td class="summary">Set the "params" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Generics:get_where_clause">Generics:get_where_clause ()</a></td>
<td class="summary">Return the "where_clause" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Generics:set_where_clause">Generics:set_where_clause (value)</a></td>
<td class="summary">Set the "where_clause" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Generics:get_span">Generics:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Generics:set_span">Generics:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_GenericParam">Class GenericParam </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#GenericParam:get_id">GenericParam:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericParam:set_id">GenericParam:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericParam:get_ident">GenericParam:get_ident ()</a></td>
<td class="summary">Return the "ident" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericParam:set_ident">GenericParam:set_ident (value)</a></td>
<td class="summary">Set the "ident" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericParam:get_attrs">GenericParam:get_attrs ()</a></td>
<td class="summary">Return the "attrs" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericParam:set_attrs">GenericParam:set_attrs (value)</a></td>
<td class="summary">Set the "attrs" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericParam:get_bounds">GenericParam:get_bounds ()</a></td>
<td class="summary">Return the "bounds" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericParam:set_bounds">GenericParam:set_bounds (value)</a></td>
<td class="summary">Set the "bounds" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericParam:get_kind">GenericParam:get_kind ()</a></td>
<td class="summary">Return the "kind" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericParam:set_kind">GenericParam:set_kind (value)</a></td>
<td class="summary">Set the "kind" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericParam:get_is_placeholder">GenericParam:get_is_placeholder ()</a></td>
<td class="summary">Return the "is_placeholder" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericParam:set_is_placeholder">GenericParam:set_is_placeholder (value)</a></td>
<td class="summary">Set the "is_placeholder" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericParam:kind_name">GenericParam:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericParam:children">GenericParam:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericParam:child">GenericParam:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericParam:replace_child">GenericParam:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_GenericParamKind">Class GenericParamKind </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#GenericParamKind:kind_name">GenericParamKind:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericParamKind:children">GenericParamKind:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericParamKind:child">GenericParamKind:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericParamKind:replace_child">GenericParamKind:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_WhereClause">Class WhereClause </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#WhereClause:get_predicates">WhereClause:get_predicates ()</a></td>
<td class="summary">Return the "predicates" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereClause:set_predicates">WhereClause:set_predicates (value)</a></td>
<td class="summary">Set the "predicates" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereClause:get_span">WhereClause:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereClause:set_span">WhereClause:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_WherePredicate">Class WherePredicate </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#WherePredicate:kind_name">WherePredicate:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WherePredicate:children">WherePredicate:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WherePredicate:child">WherePredicate:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WherePredicate:replace_child">WherePredicate:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_WhereBoundPredicate">Class WhereBoundPredicate </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#WhereBoundPredicate:get_span">WhereBoundPredicate:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereBoundPredicate:set_span">WhereBoundPredicate:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereBoundPredicate:get_bounded_ty">WhereBoundPredicate:get_bounded_ty ()</a></td>
<td class="summary">Return the "bounded_ty" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereBoundPredicate:set_bounded_ty">WhereBoundPredicate:set_bounded_ty (value)</a></td>
<td class="summary">Set the "bounded_ty" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereBoundPredicate:get_bounds">WhereBoundPredicate:get_bounds ()</a></td>
<td class="summary">Return the "bounds" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereBoundPredicate:set_bounds">WhereBoundPredicate:set_bounds (value)</a></td>
<td class="summary">Set the "bounds" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereBoundPredicate:get_bound_generic_params">WhereBoundPredicate:get_bound_generic_params ()</a></td>
<td class="summary">Return the "bound<em>generic</em>params" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereBoundPredicate:set_bound_generic_params">WhereBoundPredicate:set_bound_generic_params (value)</a></td>
<td class="summary">Set the "bound<em>generic</em>params" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_WhereRegionPredicate">Class WhereRegionPredicate </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#WhereRegionPredicate:get_span">WhereRegionPredicate:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereRegionPredicate:set_span">WhereRegionPredicate:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereRegionPredicate:get_lifetime">WhereRegionPredicate:get_lifetime ()</a></td>
<td class="summary">Return the "lifetime" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereRegionPredicate:set_lifetime">WhereRegionPredicate:set_lifetime (value)</a></td>
<td class="summary">Set the "lifetime" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereRegionPredicate:get_bounds">WhereRegionPredicate:get_bounds ()</a></td>
<td class="summary">Return the "bounds" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereRegionPredicate:set_bounds">WhereRegionPredicate:set_bounds (value)</a></td>
<td class="summary">Set the "bounds" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_WhereEqPredicate">Class WhereEqPredicate </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#WhereEqPredicate:get_id">WhereEqPredicate:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereEqPredicate:set_id">WhereEqPredicate:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereEqPredicate:get_span">WhereEqPredicate:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereEqPredicate:set_span">WhereEqPredicate:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereEqPredicate:get_lhs_ty">WhereEqPredicate:get_lhs_ty ()</a></td>
<td class="summary">Return the "lhs_ty" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereEqPredicate:set_lhs_ty">WhereEqPredicate:set_lhs_ty (value)</a></td>
<td class="summary">Set the "lhs_ty" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereEqPredicate:get_rhs_ty">WhereEqPredicate:get_rhs_ty ()</a></td>
<td class="summary">Return the "rhs_ty" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WhereEqPredicate:set_rhs_ty">WhereEqPredicate:set_rhs_ty (value)</a></td>
<td class="summary">Set the "rhs_ty" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_TraitBoundModifier">Class TraitBoundModifier </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#TraitBoundModifier:kind_name">TraitBoundModifier:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitBoundModifier:children">TraitBoundModifier:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitBoundModifier:child">TraitBoundModifier:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitBoundModifier:replace_child">TraitBoundModifier:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_VisibilityKind">Class VisibilityKind </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#VisibilityKind:kind_name">VisibilityKind:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#VisibilityKind:children">VisibilityKind:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#VisibilityKind:child">VisibilityKind:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#VisibilityKind:replace_child">VisibilityKind:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_CrateSugar">Class CrateSugar </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#CrateSugar:kind_name">CrateSugar:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CrateSugar:children">CrateSugar:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CrateSugar:child">CrateSugar:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CrateSugar:replace_child">CrateSugar:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_Ty">Class Ty </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Ty:get_id">Ty:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Ty:set_id">Ty:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Ty:get_kind">Ty:get_kind ()</a></td>
<td class="summary">Return the "kind" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Ty:set_kind">Ty:set_kind (value)</a></td>
<td class="summary">Set the "kind" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Ty:get_span">Ty:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Ty:set_span">Ty:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Ty:kind_name">Ty:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Ty:children">Ty:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Ty:child">Ty:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Ty:replace_child">Ty:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_MutTy">Class MutTy </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#MutTy:get_ty">MutTy:get_ty ()</a></td>
<td class="summary">Return the "ty" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MutTy:set_ty">MutTy:set_ty (value)</a></td>
<td class="summary">Set the "ty" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MutTy:get_mutbl">MutTy:get_mutbl ()</a></td>
<td class="summary">Return the "mutbl" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MutTy:set_mutbl">MutTy:set_mutbl (value)</a></td>
<td class="summary">Set the "mutbl" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_TyKind">Class TyKind </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#TyKind:kind_name">TyKind:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TyKind:children">TyKind:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TyKind:child">TyKind:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TyKind:replace_child">TyKind:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_TraitObjectSyntax">Class TraitObjectSyntax </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#TraitObjectSyntax:kind_name">TraitObjectSyntax:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitObjectSyntax:children">TraitObjectSyntax:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitObjectSyntax:child">TraitObjectSyntax:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TraitObjectSyntax:replace_child">TraitObjectSyntax:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_LitIntType">Class LitIntType </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#LitIntType:kind_name">LitIntType:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#LitIntType:children">LitIntType:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#LitIntType:child">LitIntType:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#LitIntType:replace_child">LitIntType:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_IntTy">Class IntTy </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#IntTy:kind_name">IntTy:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#IntTy:children">IntTy:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#IntTy:child">IntTy:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#IntTy:replace_child">IntTy:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_UintTy">Class UintTy </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#UintTy:kind_name">UintTy:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#UintTy:children">UintTy:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#UintTy:child">UintTy:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#UintTy:replace_child">UintTy:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_FloatTy">Class FloatTy </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#FloatTy:kind_name">FloatTy:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FloatTy:children">FloatTy:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FloatTy:child">FloatTy:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FloatTy:replace_child">FloatTy:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_BareFnTy">Class BareFnTy </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#BareFnTy:get_unsafety">BareFnTy:get_unsafety ()</a></td>
<td class="summary">Return the "unsafety" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#BareFnTy:set_unsafety">BareFnTy:set_unsafety (value)</a></td>
<td class="summary">Set the "unsafety" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#BareFnTy:get_abi">BareFnTy:get_abi ()</a></td>
<td class="summary">Return the "abi" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#BareFnTy:set_abi">BareFnTy:set_abi (value)</a></td>
<td class="summary">Set the "abi" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#BareFnTy:get_decl">BareFnTy:get_decl ()</a></td>
<td class="summary">Return the "decl" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#BareFnTy:set_decl">BareFnTy:set_decl (value)</a></td>
<td class="summary">Set the "decl" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#BareFnTy:get_generic_params">BareFnTy:get_generic_params ()</a></td>
<td class="summary">Return the "generic_params" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#BareFnTy:set_generic_params">BareFnTy:set_generic_params (value)</a></td>
<td class="summary">Set the "generic_params" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_Lifetime">Class Lifetime </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Lifetime:get_id">Lifetime:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Lifetime:set_id">Lifetime:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Lifetime:get_ident">Lifetime:get_ident ()</a></td>
<td class="summary">Return the "ident" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Lifetime:set_ident">Lifetime:set_ident (value)</a></td>
<td class="summary">Set the "ident" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_GenericBound">Class GenericBound </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#GenericBound:kind_name">GenericBound:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericBound:children">GenericBound:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericBound:child">GenericBound:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericBound:replace_child">GenericBound:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_PolyTraitRef">Class PolyTraitRef </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#PolyTraitRef:get_trait_ref">PolyTraitRef:get_trait_ref ()</a></td>
<td class="summary">Return the "trait_ref" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#PolyTraitRef:set_trait_ref">PolyTraitRef:set_trait_ref (value)</a></td>
<td class="summary">Set the "trait_ref" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#PolyTraitRef:get_span">PolyTraitRef:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#PolyTraitRef:set_span">PolyTraitRef:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#PolyTraitRef:get_bound_generic_params">PolyTraitRef:get_bound_generic_params ()</a></td>
<td class="summary">Return the "bound<em>generic</em>params" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#PolyTraitRef:set_bound_generic_params">PolyTraitRef:set_bound_generic_params (value)</a></td>
<td class="summary">Set the "bound<em>generic</em>params" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_FnDecl">Class FnDecl </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#FnDecl:get_inputs">FnDecl:get_inputs ()</a></td>
<td class="summary">Return the "inputs" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FnDecl:set_inputs">FnDecl:set_inputs (value)</a></td>
<td class="summary">Set the "inputs" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FnDecl:get_output">FnDecl:get_output ()</a></td>
<td class="summary">Return the "output" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FnDecl:set_output">FnDecl:set_output (value)</a></td>
<td class="summary">Set the "output" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_FnHeader">Class FnHeader </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#FnHeader:get_unsafety">FnHeader:get_unsafety ()</a></td>
<td class="summary">Return the "unsafety" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FnHeader:set_unsafety">FnHeader:set_unsafety (value)</a></td>
<td class="summary">Set the "unsafety" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FnHeader:get_asyncness">FnHeader:get_asyncness ()</a></td>
<td class="summary">Return the "asyncness" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FnHeader:set_asyncness">FnHeader:set_asyncness (value)</a></td>
<td class="summary">Set the "asyncness" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FnHeader:get_constness">FnHeader:get_constness ()</a></td>
<td class="summary">Return the "constness" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FnHeader:set_constness">FnHeader:set_constness (value)</a></td>
<td class="summary">Set the "constness" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FnHeader:get_abi">FnHeader:get_abi ()</a></td>
<td class="summary">Return the "abi" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FnHeader:set_abi">FnHeader:set_abi (value)</a></td>
<td class="summary">Set the "abi" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_Param">Class Param </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Param:get_attrs">Param:get_attrs ()</a></td>
<td class="summary">Return the "attrs" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Param:set_attrs">Param:set_attrs (value)</a></td>
<td class="summary">Set the "attrs" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Param:get_ty">Param:get_ty ()</a></td>
<td class="summary">Return the "ty" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Param:set_ty">Param:set_ty (value)</a></td>
<td class="summary">Set the "ty" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Param:get_pat">Param:get_pat ()</a></td>
<td class="summary">Return the "pat" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Param:set_pat">Param:set_pat (value)</a></td>
<td class="summary">Set the "pat" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Param:get_id">Param:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Param:set_id">Param:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Param:get_span">Param:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Param:set_span">Param:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Param:get_is_placeholder">Param:get_is_placeholder ()</a></td>
<td class="summary">Return the "is_placeholder" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Param:set_is_placeholder">Param:set_is_placeholder (value)</a></td>
<td class="summary">Set the "is_placeholder" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_FunctionRetTy">Class FunctionRetTy </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#FunctionRetTy:kind_name">FunctionRetTy:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FunctionRetTy:children">FunctionRetTy:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FunctionRetTy:child">FunctionRetTy:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FunctionRetTy:replace_child">FunctionRetTy:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_Stmt">Class Stmt </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Stmt:get_id">Stmt:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Stmt:set_id">Stmt:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Stmt:get_kind">Stmt:get_kind ()</a></td>
<td class="summary">Return the "kind" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Stmt:set_kind">Stmt:set_kind (value)</a></td>
<td class="summary">Set the "kind" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Stmt:get_span">Stmt:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Stmt:set_span">Stmt:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Stmt:kind_name">Stmt:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Stmt:children">Stmt:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Stmt:child">Stmt:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Stmt:replace_child">Stmt:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_StmtKind">Class StmtKind </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#StmtKind:kind_name">StmtKind:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#StmtKind:children">StmtKind:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#StmtKind:child">StmtKind:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#StmtKind:replace_child">StmtKind:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_Local">Class Local </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Local:get_pat">Local:get_pat ()</a></td>
<td class="summary">Return the "pat" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Local:set_pat">Local:set_pat (value)</a></td>
<td class="summary">Set the "pat" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Local:get_ty">Local:get_ty ()</a></td>
<td class="summary">Return the "ty" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Local:set_ty">Local:set_ty (value)</a></td>
<td class="summary">Set the "ty" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Local:get_init">Local:get_init ()</a></td>
<td class="summary">Return the "init" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Local:set_init">Local:set_init (value)</a></td>
<td class="summary">Set the "init" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Local:get_id">Local:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Local:set_id">Local:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Local:get_span">Local:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Local:set_span">Local:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Local:get_attrs">Local:get_attrs ()</a></td>
<td class="summary">Return the "attrs" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Local:set_attrs">Local:set_attrs (value)</a></td>
<td class="summary">Set the "attrs" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_Expr">Class Expr </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Expr:get_id">Expr:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Expr:set_id">Expr:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Expr:get_kind">Expr:get_kind ()</a></td>
<td class="summary">Return the "kind" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Expr:set_kind">Expr:set_kind (value)</a></td>
<td class="summary">Set the "kind" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Expr:get_span">Expr:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Expr:set_span">Expr:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Expr:get_attrs">Expr:get_attrs ()</a></td>
<td class="summary">Return the "attrs" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Expr:set_attrs">Expr:set_attrs (value)</a></td>
<td class="summary">Set the "attrs" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Expr:kind_name">Expr:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Expr:children">Expr:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Expr:child">Expr:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Expr:replace_child">Expr:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_ExprKind">Class ExprKind </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#ExprKind:kind_name">ExprKind:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ExprKind:children">ExprKind:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ExprKind:child">ExprKind:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ExprKind:replace_child">ExprKind:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_IsAsync">Class IsAsync </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#IsAsync:kind_name">IsAsync:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#IsAsync:children">IsAsync:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#IsAsync:child">IsAsync:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#IsAsync:replace_child">IsAsync:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_Movability">Class Movability </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Movability:kind_name">Movability:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Movability:children">Movability:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Movability:child">Movability:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Movability:replace_child">Movability:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_UnOp">Class UnOp </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#UnOp:kind_name">UnOp:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#UnOp:children">UnOp:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#UnOp:child">UnOp:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#UnOp:replace_child">UnOp:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_BinOpKind">Class BinOpKind </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#BinOpKind:kind_name">BinOpKind:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#BinOpKind:children">BinOpKind:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#BinOpKind:child">BinOpKind:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#BinOpKind:replace_child">BinOpKind:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_Field">Class Field </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Field:get_id">Field:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Field:set_id">Field:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Field:get_ident">Field:get_ident ()</a></td>
<td class="summary">Return the "ident" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Field:set_ident">Field:set_ident (value)</a></td>
<td class="summary">Set the "ident" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Field:get_expr">Field:get_expr ()</a></td>
<td class="summary">Return the "expr" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Field:set_expr">Field:set_expr (value)</a></td>
<td class="summary">Set the "expr" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Field:get_span">Field:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Field:set_span">Field:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Field:get_is_shorthand">Field:get_is_shorthand ()</a></td>
<td class="summary">Return the "is_shorthand" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Field:set_is_shorthand">Field:set_is_shorthand (value)</a></td>
<td class="summary">Set the "is_shorthand" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Field:get_attrs">Field:get_attrs ()</a></td>
<td class="summary">Return the "attrs" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Field:set_attrs">Field:set_attrs (value)</a></td>
<td class="summary">Set the "attrs" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Field:get_is_placeholder">Field:get_is_placeholder ()</a></td>
<td class="summary">Return the "is_placeholder" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Field:set_is_placeholder">Field:set_is_placeholder (value)</a></td>
<td class="summary">Set the "is_placeholder" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_Arm">Class Arm </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Arm:get_id">Arm:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Arm:set_id">Arm:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Arm:get_attrs">Arm:get_attrs ()</a></td>
<td class="summary">Return the "attrs" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Arm:set_attrs">Arm:set_attrs (value)</a></td>
<td class="summary">Set the "attrs" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Arm:get_pat">Arm:get_pat ()</a></td>
<td class="summary">Return the "pat" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Arm:set_pat">Arm:set_pat (value)</a></td>
<td class="summary">Set the "pat" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Arm:get_guard">Arm:get_guard ()</a></td>
<td class="summary">Return the "guard" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Arm:set_guard">Arm:set_guard (value)</a></td>
<td class="summary">Set the "guard" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Arm:get_body">Arm:get_body ()</a></td>
<td class="summary">Return the "body" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Arm:set_body">Arm:set_body (value)</a></td>
<td class="summary">Set the "body" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Arm:get_span">Arm:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Arm:set_span">Arm:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Arm:get_is_placeholder">Arm:get_is_placeholder ()</a></td>
<td class="summary">Return the "is_placeholder" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Arm:set_is_placeholder">Arm:set_is_placeholder (value)</a></td>
<td class="summary">Set the "is_placeholder" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_Block">Class Block </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Block:get_stmts">Block:get_stmts ()</a></td>
<td class="summary">Return the "stmts" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Block:set_stmts">Block:set_stmts (value)</a></td>
<td class="summary">Set the "stmts" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Block:get_id">Block:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Block:set_id">Block:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Block:get_rules">Block:get_rules ()</a></td>
<td class="summary">Return the "rules" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Block:set_rules">Block:set_rules (value)</a></td>
<td class="summary">Set the "rules" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Block:get_span">Block:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Block:set_span">Block:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_Pat">Class Pat </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Pat:get_id">Pat:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Pat:set_id">Pat:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Pat:get_kind">Pat:get_kind ()</a></td>
<td class="summary">Return the "kind" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Pat:set_kind">Pat:set_kind (value)</a></td>
<td class="summary">Set the "kind" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Pat:get_span">Pat:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Pat:set_span">Pat:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Pat:kind_name">Pat:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Pat:children">Pat:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Pat:child">Pat:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Pat:replace_child">Pat:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_PatKind">Class PatKind </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#PatKind:kind_name">PatKind:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#PatKind:children">PatKind:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#PatKind:child">PatKind:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#PatKind:replace_child">PatKind:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_FieldPat">Class FieldPat </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#FieldPat:get_id">FieldPat:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FieldPat:set_id">FieldPat:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FieldPat:get_ident">FieldPat:get_ident ()</a></td>
<td class="summary">Return the "ident" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FieldPat:set_ident">FieldPat:set_ident (value)</a></td>
<td class="summary">Set the "ident" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FieldPat:get_pat">FieldPat:get_pat ()</a></td>
<td class="summary">Return the "pat" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FieldPat:set_pat">FieldPat:set_pat (value)</a></td>
<td class="summary">Set the "pat" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FieldPat:get_is_shorthand">FieldPat:get_is_shorthand ()</a></td>
<td class="summary">Return the "is_shorthand" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FieldPat:set_is_shorthand">FieldPat:set_is_shorthand (value)</a></td>
<td class="summary">Set the "is_shorthand" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FieldPat:get_attrs">FieldPat:get_attrs ()</a></td>
<td class="summary">Return the "attrs" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FieldPat:set_attrs">FieldPat:set_attrs (value)</a></td>
<td class="summary">Set the "attrs" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FieldPat:get_span">FieldPat:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FieldPat:set_span">FieldPat:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FieldPat:get_is_placeholder">FieldPat:get_is_placeholder ()</a></td>
<td class="summary">Return the "is_placeholder" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#FieldPat:set_is_placeholder">FieldPat:set_is_placeholder (value)</a></td>
<td class="summary">Set the "is_placeholder" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_Lit">Class Lit </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Lit:get_token">Lit:get_token ()</a></td>
<td class="summary">Return the "token" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Lit:set_token">Lit:set_token (value)</a></td>
<td class="summary">Set the "token" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Lit:get_kind">Lit:get_kind ()</a></td>
<td class="summary">Return the "kind" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Lit:set_kind">Lit:set_kind (value)</a></td>
<td class="summary">Set the "kind" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Lit:get_span">Lit:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Lit:set_span">Lit:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Lit:kind_name">Lit:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Lit:children">Lit:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Lit:child">Lit:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Lit:replace_child">Lit:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_LitKind">Class LitKind </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#LitKind:kind_name">LitKind:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#LitKind:children">LitKind:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#LitKind:child">LitKind:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#LitKind:replace_child">LitKind:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_TokenLit">Class TokenLit </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#TokenLit:get_kind">TokenLit:get_kind ()</a></td>
<td class="summary">Return the "kind" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TokenLit:set_kind">TokenLit:set_kind (value)</a></td>
<td class="summary">Set the "kind" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TokenLit:get_symbol">TokenLit:get_symbol ()</a></td>
<td class="summary">Return the "symbol" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TokenLit:set_symbol">TokenLit:set_symbol (value)</a></td>
<td class="summary">Set the "symbol" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TokenLit:get_suffix">TokenLit:get_suffix ()</a></td>
<td class="summary">Return the "suffix" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TokenLit:set_suffix">TokenLit:set_suffix (value)</a></td>
<td class="summary">Set the "suffix" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TokenLit:kind_name">TokenLit:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TokenLit:children">TokenLit:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TokenLit:child">TokenLit:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TokenLit:replace_child">TokenLit:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_TokenLitKind">Class TokenLitKind </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#TokenLitKind:kind_name">TokenLitKind:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TokenLitKind:children">TokenLitKind:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TokenLitKind:child">TokenLitKind:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TokenLitKind:replace_child">TokenLitKind:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_Defaultness">Class Defaultness </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Defaultness:kind_name">Defaultness:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Defaultness:children">Defaultness:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Defaultness:child">Defaultness:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Defaultness:replace_child">Defaultness:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_Constness">Class Constness </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Constness:kind_name">Constness:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Constness:children">Constness:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Constness:child">Constness:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Constness:replace_child">Constness:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_ImplPolarity">Class ImplPolarity </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#ImplPolarity:kind_name">ImplPolarity:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplPolarity:children">ImplPolarity:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplPolarity:child">ImplPolarity:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ImplPolarity:replace_child">ImplPolarity:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_IsAuto">Class IsAuto </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#IsAuto:kind_name">IsAuto:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#IsAuto:children">IsAuto:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#IsAuto:child">IsAuto:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#IsAuto:replace_child">IsAuto:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_Unsafety">Class Unsafety </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Unsafety:kind_name">Unsafety:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Unsafety:children">Unsafety:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Unsafety:child">Unsafety:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Unsafety:replace_child">Unsafety:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_Mutability">Class Mutability </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Mutability:kind_name">Mutability:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Mutability:children">Mutability:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Mutability:child">Mutability:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Mutability:replace_child">Mutability:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_RangeEnd">Class RangeEnd </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#RangeEnd:kind_name">RangeEnd:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#RangeEnd:children">RangeEnd:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#RangeEnd:child">RangeEnd:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#RangeEnd:replace_child">RangeEnd:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_RangeSyntax">Class RangeSyntax </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#RangeSyntax:kind_name">RangeSyntax:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#RangeSyntax:children">RangeSyntax:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#RangeSyntax:child">RangeSyntax:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#RangeSyntax:replace_child">RangeSyntax:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_BindingMode">Class BindingMode </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#BindingMode:kind_name">BindingMode:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#BindingMode:children">BindingMode:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#BindingMode:child">BindingMode:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#BindingMode:replace_child">BindingMode:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_CaptureBy">Class CaptureBy </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#CaptureBy:kind_name">CaptureBy:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CaptureBy:children">CaptureBy:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CaptureBy:child">CaptureBy:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CaptureBy:replace_child">CaptureBy:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_BlockCheckMode">Class BlockCheckMode </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#BlockCheckMode:kind_name">BlockCheckMode:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#BlockCheckMode:children">BlockCheckMode:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#BlockCheckMode:child">BlockCheckMode:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#BlockCheckMode:replace_child">BlockCheckMode:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_UnsafeSource">Class UnsafeSource </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#UnsafeSource:kind_name">UnsafeSource:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#UnsafeSource:children">UnsafeSource:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#UnsafeSource:child">UnsafeSource:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#UnsafeSource:replace_child">UnsafeSource:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_StrStyle">Class StrStyle </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#StrStyle:kind_name">StrStyle:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#StrStyle:children">StrStyle:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#StrStyle:child">StrStyle:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#StrStyle:replace_child">StrStyle:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_AsmDialect">Class AsmDialect </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#AsmDialect:kind_name">AsmDialect:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AsmDialect:children">AsmDialect:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AsmDialect:child">AsmDialect:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AsmDialect:replace_child">AsmDialect:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_RangeLimits">Class RangeLimits </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#RangeLimits:kind_name">RangeLimits:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#RangeLimits:children">RangeLimits:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#RangeLimits:child">RangeLimits:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#RangeLimits:replace_child">RangeLimits:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_Attribute">Class Attribute </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Attribute:get_id">Attribute:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Attribute:set_id">Attribute:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Attribute:get_style">Attribute:get_style ()</a></td>
<td class="summary">Return the "style" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Attribute:set_style">Attribute:set_style (value)</a></td>
<td class="summary">Set the "style" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Attribute:get_item">Attribute:get_item ()</a></td>
<td class="summary">Return the "item" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Attribute:set_item">Attribute:set_item (value)</a></td>
<td class="summary">Set the "item" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Attribute:get_is_sugared_doc">Attribute:get_is_sugared_doc ()</a></td>
<td class="summary">Return the "is<em>sugared</em>doc" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Attribute:set_is_sugared_doc">Attribute:set_is_sugared_doc (value)</a></td>
<td class="summary">Set the "is<em>sugared</em>doc" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Attribute:get_span">Attribute:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Attribute:set_span">Attribute:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_AttrItem">Class AttrItem </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#AttrItem:get_path">AttrItem:get_path ()</a></td>
<td class="summary">Return the "path" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AttrItem:set_path">AttrItem:set_path (value)</a></td>
<td class="summary">Set the "path" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AttrItem:get_tokens">AttrItem:get_tokens ()</a></td>
<td class="summary">Return the "tokens" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AttrItem:set_tokens">AttrItem:set_tokens (value)</a></td>
<td class="summary">Set the "tokens" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_AttrStyle">Class AttrStyle </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#AttrStyle:kind_name">AttrStyle:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AttrStyle:children">AttrStyle:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AttrStyle:child">AttrStyle:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AttrStyle:replace_child">AttrStyle:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_Path">Class Path </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Path:get_span">Path:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Path:set_span">Path:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Path:get_segments">Path:get_segments ()</a></td>
<td class="summary">Return the "segments" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Path:set_segments">Path:set_segments (value)</a></td>
<td class="summary">Set the "segments" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_PathSegment">Class PathSegment </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#PathSegment:get_ident">PathSegment:get_ident ()</a></td>
<td class="summary">Return the "ident" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#PathSegment:set_ident">PathSegment:set_ident (value)</a></td>
<td class="summary">Set the "ident" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#PathSegment:get_id">PathSegment:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#PathSegment:set_id">PathSegment:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#PathSegment:get_args">PathSegment:get_args ()</a></td>
<td class="summary">Return the "args" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#PathSegment:set_args">PathSegment:set_args (value)</a></td>
<td class="summary">Set the "args" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_GenericArgs">Class GenericArgs </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#GenericArgs:kind_name">GenericArgs:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericArgs:children">GenericArgs:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericArgs:child">GenericArgs:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericArgs:replace_child">GenericArgs:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_AngleBracketedArgs">Class AngleBracketedArgs </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#AngleBracketedArgs:get_span">AngleBracketedArgs:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AngleBracketedArgs:set_span">AngleBracketedArgs:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AngleBracketedArgs:get_args">AngleBracketedArgs:get_args ()</a></td>
<td class="summary">Return the "args" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AngleBracketedArgs:set_args">AngleBracketedArgs:set_args (value)</a></td>
<td class="summary">Set the "args" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AngleBracketedArgs:get_constraints">AngleBracketedArgs:get_constraints ()</a></td>
<td class="summary">Return the "constraints" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AngleBracketedArgs:set_constraints">AngleBracketedArgs:set_constraints (value)</a></td>
<td class="summary">Set the "constraints" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_ParenthesizedArgs">Class ParenthesizedArgs </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#ParenthesizedArgs:get_span">ParenthesizedArgs:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ParenthesizedArgs:set_span">ParenthesizedArgs:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ParenthesizedArgs:get_inputs">ParenthesizedArgs:get_inputs ()</a></td>
<td class="summary">Return the "inputs" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ParenthesizedArgs:set_inputs">ParenthesizedArgs:set_inputs (value)</a></td>
<td class="summary">Set the "inputs" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ParenthesizedArgs:get_output">ParenthesizedArgs:get_output ()</a></td>
<td class="summary">Return the "output" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ParenthesizedArgs:set_output">ParenthesizedArgs:set_output (value)</a></td>
<td class="summary">Set the "output" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_GenericArg">Class GenericArg </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#GenericArg:kind_name">GenericArg:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericArg:children">GenericArg:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericArg:child">GenericArg:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GenericArg:replace_child">GenericArg:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_QSelf">Class QSelf </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#QSelf:get_ty">QSelf:get_ty ()</a></td>
<td class="summary">Return the "ty" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#QSelf:set_ty">QSelf:set_ty (value)</a></td>
<td class="summary">Set the "ty" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#QSelf:get_path_span">QSelf:get_path_span ()</a></td>
<td class="summary">Return the "path_span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#QSelf:set_path_span">QSelf:set_path_span (value)</a></td>
<td class="summary">Set the "path_span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#QSelf:get_position">QSelf:get_position ()</a></td>
<td class="summary">Return the "position" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#QSelf:set_position">QSelf:set_position (value)</a></td>
<td class="summary">Set the "position" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_AssocTyConstraint">Class AssocTyConstraint </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#AssocTyConstraint:get_id">AssocTyConstraint:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AssocTyConstraint:set_id">AssocTyConstraint:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AssocTyConstraint:get_ident">AssocTyConstraint:get_ident ()</a></td>
<td class="summary">Return the "ident" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AssocTyConstraint:set_ident">AssocTyConstraint:set_ident (value)</a></td>
<td class="summary">Set the "ident" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AssocTyConstraint:get_kind">AssocTyConstraint:get_kind ()</a></td>
<td class="summary">Return the "kind" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AssocTyConstraint:set_kind">AssocTyConstraint:set_kind (value)</a></td>
<td class="summary">Set the "kind" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AssocTyConstraint:get_span">AssocTyConstraint:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AssocTyConstraint:set_span">AssocTyConstraint:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_AssocTyConstraintKind">Class AssocTyConstraintKind </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#AssocTyConstraintKind:kind_name">AssocTyConstraintKind:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AssocTyConstraintKind:children">AssocTyConstraintKind:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AssocTyConstraintKind:child">AssocTyConstraintKind:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AssocTyConstraintKind:replace_child">AssocTyConstraintKind:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_Mac">Class Mac </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Mac:get_path">Mac:get_path ()</a></td>
<td class="summary">Return the "path" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Mac:set_path">Mac:set_path (value)</a></td>
<td class="summary">Set the "path" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Mac:get_delim">Mac:get_delim ()</a></td>
<td class="summary">Return the "delim" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Mac:set_delim">Mac:set_delim (value)</a></td>
<td class="summary">Set the "delim" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Mac:get_tts">Mac:get_tts ()</a></td>
<td class="summary">Return the "tts" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Mac:set_tts">Mac:set_tts (value)</a></td>
<td class="summary">Set the "tts" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Mac:get_span">Mac:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Mac:set_span">Mac:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Mac:get_prior_type_ascription">Mac:get_prior_type_ascription ()</a></td>
<td class="summary">Return the "prior<em>type</em>ascription" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Mac:set_prior_type_ascription">Mac:set_prior_type_ascription (value)</a></td>
<td class="summary">Set the "prior<em>type</em>ascription" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_MacStmtStyle">Class MacStmtStyle </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#MacStmtStyle:kind_name">MacStmtStyle:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MacStmtStyle:children">MacStmtStyle:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MacStmtStyle:child">MacStmtStyle:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MacStmtStyle:replace_child">MacStmtStyle:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_MacroDef">Class MacroDef </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#MacroDef:get_tokens">MacroDef:get_tokens ()</a></td>
<td class="summary">Return the "tokens" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MacroDef:set_tokens">MacroDef:set_tokens (value)</a></td>
<td class="summary">Set the "tokens" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MacroDef:get_legacy">MacroDef:get_legacy ()</a></td>
<td class="summary">Return the "legacy" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MacroDef:set_legacy">MacroDef:set_legacy (value)</a></td>
<td class="summary">Set the "legacy" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_InlineAsm">Class InlineAsm </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#InlineAsm:get_asm">InlineAsm:get_asm ()</a></td>
<td class="summary">Return the "asm" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsm:set_asm">InlineAsm:set_asm (value)</a></td>
<td class="summary">Set the "asm" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsm:get_asm_str_style">InlineAsm:get_asm_str_style ()</a></td>
<td class="summary">Return the "asm<em>str</em>style" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsm:set_asm_str_style">InlineAsm:set_asm_str_style (value)</a></td>
<td class="summary">Set the "asm<em>str</em>style" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsm:get_outputs">InlineAsm:get_outputs ()</a></td>
<td class="summary">Return the "outputs" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsm:set_outputs">InlineAsm:set_outputs (value)</a></td>
<td class="summary">Set the "outputs" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsm:get_inputs">InlineAsm:get_inputs ()</a></td>
<td class="summary">Return the "inputs" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsm:set_inputs">InlineAsm:set_inputs (value)</a></td>
<td class="summary">Set the "inputs" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsm:get_clobbers">InlineAsm:get_clobbers ()</a></td>
<td class="summary">Return the "clobbers" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsm:set_clobbers">InlineAsm:set_clobbers (value)</a></td>
<td class="summary">Set the "clobbers" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsm:get_volatile">InlineAsm:get_volatile ()</a></td>
<td class="summary">Return the "volatile" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsm:set_volatile">InlineAsm:set_volatile (value)</a></td>
<td class="summary">Set the "volatile" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsm:get_alignstack">InlineAsm:get_alignstack ()</a></td>
<td class="summary">Return the "alignstack" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsm:set_alignstack">InlineAsm:set_alignstack (value)</a></td>
<td class="summary">Set the "alignstack" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsm:get_dialect">InlineAsm:get_dialect ()</a></td>
<td class="summary">Return the "dialect" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsm:set_dialect">InlineAsm:set_dialect (value)</a></td>
<td class="summary">Set the "dialect" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_GlobalAsm">Class GlobalAsm </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#GlobalAsm:get_asm">GlobalAsm:get_asm ()</a></td>
<td class="summary">Return the "asm" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#GlobalAsm:set_asm">GlobalAsm:set_asm (value)</a></td>
<td class="summary">Set the "asm" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_InlineAsmOutput">Class InlineAsmOutput </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#InlineAsmOutput:get_constraint">InlineAsmOutput:get_constraint ()</a></td>
<td class="summary">Return the "constraint" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsmOutput:set_constraint">InlineAsmOutput:set_constraint (value)</a></td>
<td class="summary">Set the "constraint" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsmOutput:get_expr">InlineAsmOutput:get_expr ()</a></td>
<td class="summary">Return the "expr" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsmOutput:set_expr">InlineAsmOutput:set_expr (value)</a></td>
<td class="summary">Set the "expr" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsmOutput:get_is_rw">InlineAsmOutput:get_is_rw ()</a></td>
<td class="summary">Return the "is_rw" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsmOutput:set_is_rw">InlineAsmOutput:set_is_rw (value)</a></td>
<td class="summary">Set the "is_rw" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsmOutput:get_is_indirect">InlineAsmOutput:get_is_indirect ()</a></td>
<td class="summary">Return the "is_indirect" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#InlineAsmOutput:set_is_indirect">InlineAsmOutput:set_is_indirect (value)</a></td>
<td class="summary">Set the "is_indirect" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_Label">Class Label </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Label:get_ident">Label:get_ident ()</a></td>
<td class="summary">Return the "ident" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Label:set_ident">Label:set_ident (value)</a></td>
<td class="summary">Set the "ident" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_MacDelimiter">Class MacDelimiter </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#MacDelimiter:kind_name">MacDelimiter:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MacDelimiter:children">MacDelimiter:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MacDelimiter:child">MacDelimiter:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MacDelimiter:replace_child">MacDelimiter:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_AnonConst">Class AnonConst </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#AnonConst:get_id">AnonConst:get_id ()</a></td>
<td class="summary">Return the "id" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AnonConst:set_id">AnonConst:set_id (value)</a></td>
<td class="summary">Set the "id" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AnonConst:get_value">AnonConst:get_value ()</a></td>
<td class="summary">Return the "value" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#AnonConst:set_value">AnonConst:set_value (value)</a></td>
<td class="summary">Set the "value" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_Ident">Class Ident </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Ident:get_name">Ident:get_name ()</a></td>
<td class="summary">Return the "name" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Ident:set_name">Ident:set_name (value)</a></td>
<td class="summary">Set the "name" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Ident:get_span">Ident:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Ident:set_span">Ident:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_Nonterminal">Class Nonterminal </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Nonterminal:kind_name">Nonterminal:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Nonterminal:children">Nonterminal:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Nonterminal:child">Nonterminal:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Nonterminal:replace_child">Nonterminal:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_TokenTree">Class TokenTree </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#TokenTree:kind_name">TokenTree:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TokenTree:children">TokenTree:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TokenTree:child">TokenTree:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TokenTree:replace_child">TokenTree:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_DelimSpan">Class DelimSpan </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#DelimSpan:get_open">DelimSpan:get_open ()</a></td>
<td class="summary">Return the "open" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#DelimSpan:set_open">DelimSpan:set_open (value)</a></td>
<td class="summary">Set the "open" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#DelimSpan:get_close">DelimSpan:get_close ()</a></td>
<td class="summary">Return the "close" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#DelimSpan:set_close">DelimSpan:set_close (value)</a></td>
<td class="summary">Set the "close" field of the current node to a new value</td>
</tr>
</table>
<h2><a href="#Class_DelimToken">Class DelimToken </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#DelimToken:kind_name">DelimToken:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#DelimToken:children">DelimToken:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#DelimToken:child">DelimToken:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#DelimToken:replace_child">DelimToken:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_Token">Class Token </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Token:get_kind">Token:get_kind ()</a></td>
<td class="summary">Return the "kind" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Token:set_kind">Token:set_kind (value)</a></td>
<td class="summary">Set the "kind" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Token:get_span">Token:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Token:set_span">Token:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Token:kind_name">Token:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Token:children">Token:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Token:child">Token:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Token:replace_child">Token:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_TokenKind">Class TokenKind </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#TokenKind:kind_name">TokenKind:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TokenKind:children">TokenKind:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TokenKind:child">TokenKind:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TokenKind:replace_child">TokenKind:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_BinOpToken">Class BinOpToken </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#BinOpToken:kind_name">BinOpToken:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#BinOpToken:children">BinOpToken:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#BinOpToken:child">BinOpToken:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#BinOpToken:replace_child">BinOpToken:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_MetaItem">Class MetaItem </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#MetaItem:get_path">MetaItem:get_path ()</a></td>
<td class="summary">Return the "path" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MetaItem:set_path">MetaItem:set_path (value)</a></td>
<td class="summary">Set the "path" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MetaItem:get_kind">MetaItem:get_kind ()</a></td>
<td class="summary">Return the "kind" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MetaItem:set_kind">MetaItem:set_kind (value)</a></td>
<td class="summary">Set the "kind" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MetaItem:get_span">MetaItem:get_span ()</a></td>
<td class="summary">Return the "span" field of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MetaItem:set_span">MetaItem:set_span (value)</a></td>
<td class="summary">Set the "span" field of the current node to a new value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MetaItem:kind_name">MetaItem:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MetaItem:children">MetaItem:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MetaItem:child">MetaItem:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MetaItem:replace_child">MetaItem:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_MetaItemKind">Class MetaItemKind </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#MetaItemKind:kind_name">MetaItemKind:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MetaItemKind:children">MetaItemKind:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MetaItemKind:child">MetaItemKind:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MetaItemKind:replace_child">MetaItemKind:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_NestedMetaItem">Class NestedMetaItem </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#NestedMetaItem:kind_name">NestedMetaItem:kind_name ()</a></td>
<td class="summary">Return the kind of the current node as a string</td>
</tr>
<tr>
<td class="name" nowrap><a href="#NestedMetaItem:children">NestedMetaItem:children ()</a></td>
<td class="summary">Return the children of the current node</td>
</tr>
<tr>
<td class="name" nowrap><a href="#NestedMetaItem:child">NestedMetaItem:child (idx)</a></td>
<td class="summary">Return a copy of the given child</td>
</tr>
<tr>
<td class="name" nowrap><a href="#NestedMetaItem:replace_child">NestedMetaItem:replace_child (idx, value)</a></td>
<td class="summary">Replace a child of the current node with a new value</td>
</tr>
</table>
<h2><a href="#Class_LuaTy">Class LuaTy </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#LuaTy:kind_name">LuaTy:kind_name ()</a></td>
<td class="summary">Return the kind of this type</td>
</tr>
</table>
<br/>
<br/>
<h2 class="section-header "><a name="Functions"></a>Functions</h2>
<dl class="function">
<dt>
<a name = "visit_stmts"></a>
<strong>visit_stmts (callback)</strong>
</dt>
<dd>
Visit statements
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">callback</span>
<span class="types"><span class="type">function(LuaAstNode)</span></span>
Function to call when visiting each statement
</li>
</ul>
</dd>
</dl>
<h2 class="section-header "><a name="Fields"></a>Fields</h2>
<dl class="function">
<dt>
<a name = "refactor"></a>
<strong>refactor</strong>
</dt>
<dd>
Global refactoring state
<ul>
<li><span class="parameter">refactor</span>
RefactorState object
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_RefactorState"></a>Class RefactorState </h2>
<div class="section-description">
Refactoring context
</div>
<dl class="function">
<dt>
<a name = "RefactorState:run_command"></a>
<strong>RefactorState:run_command (name, args)</strong>
</dt>
<dd>
Run a builtin refactoring command
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">name</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
Command to run
</li>
<li><span class="parameter">args</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">{string,...}</a></span>
List of arguments for the command
</li>
</ul>
</dd>
<dt>
<a name = "RefactorState:transform"></a>
<strong>RefactorState:transform (callback)</strong>
</dt>
<dd>
Run a custom refactoring transformation
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">callback</span>
<span class="types"><span class="type">function(TransformCtxt)</span></span>
Transformation function called with a fresh <a href="scripting_api.html#TransformCtxt">TransformCtxt</a>. This <a href="scripting_api.html#TransformCtxt">TransformCtxt</a> can operate on the crate to implement transformations.
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_MatchCtxt"></a>Class MatchCtxt </h2>
<div class="section-description">
A match context
</div>
<dl class="function">
<dt>
<a name = "MatchCtxt:parse_stmts"></a>
<strong>MatchCtxt:parse_stmts (pat)</strong>
</dt>
<dd>
Parse statements and add them to this MatchCtxt
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">pat</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
Pattern to parse
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
The parsed statements
</ol>
</dd>
<dt>
<a name = "MatchCtxt:parse_expr"></a>
<strong>MatchCtxt:parse_expr (pat)</strong>
</dt>
<dd>
Parse an expression and add it to this MatchCtxt
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">pat</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
Pattern to parse
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
The parsed expression
</ol>
</dd>
<dt>
<a name = "MatchCtxt:fold_with"></a>
<strong>MatchCtxt:fold_with (needle, callback)</strong>
</dt>
<dd>
Find matches of <code>pattern</code> and rewrite using <code>callback</code>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">needle</span>
<span class="types"><span class="type">LuaAstNode</span></span>
Pattern to search for
</li>
<li><span class="parameter">callback</span>
<span class="types"><span class="type">function(LuaAstNode,MatchCtxt)</span></span>
Function called for each match. Takes the matching node and a new <a href="scripting_api.html#MatchCtxt">MatchCtxt</a> for that match.
</li>
</ul>
</dd>
<dt>
<a name = "MatchCtxt:get_lit"></a>
<strong>MatchCtxt:get_lit (pattern)</strong>
</dt>
<dd>
Get matched binding for a literal variable
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">pattern</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
Literal variable pattern
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
Literal matched by this binding
</ol>
</dd>
<dt>
<a name = "MatchCtxt:get_expr"></a>
<strong>MatchCtxt:get_expr (pattern)</strong>
</dt>
<dd>
Get matched binding for an expression variable
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">pattern</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
Expression variable pattern
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
Expression matched by this binding
</ol>
</dd>
<dt>
<a name = "MatchCtxt:get_ty"></a>
<strong>MatchCtxt:get_ty (pattern)</strong>
</dt>
<dd>
Get matched binding for a type variable
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">pattern</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
Type variable pattern
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
Type matched by this binding
</ol>
</dd>
<dt>
<a name = "MatchCtxt:get_stmt"></a>
<strong>MatchCtxt:get_stmt (pattern)</strong>
</dt>
<dd>
Get matched binding for a statement variable
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">pattern</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
Statement variable pattern
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
Statement matched by this binding
</ol>
</dd>
<dt>
<a name = "MatchCtxt:get_multistmt"></a>
<strong>MatchCtxt:get_multistmt (pattern)</strong>
</dt>
<dd>
Get matched binding for a multistmt variable
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">pattern</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
Statement variable pattern
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
Statement matched by this binding
</ol>
</dd>
<dt>
<a name = "MatchCtxt:try_match"></a>
<strong>MatchCtxt:try_match (pat, target)</strong>
</dt>
<dd>
Attempt to match <code>target</code> against <code>pat</code>, updating bindings if matched.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">pat</span>
<span class="types"><span class="type">LuaAstNode</span></span>
AST (potentially with variable bindings) to match with
</li>
<li><span class="parameter">target</span>
<span class="types"><span class="type">LuaAstNode</span></span>
AST to match against
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">bool</span></span>
true if match was successful
</ol>
</dd>
<dt>
<a name = "MatchCtxt:find_first"></a>
<strong>MatchCtxt:find_first (pat, target)</strong>
</dt>
<dd>
Attempt to find <code>pat</code> inside <code>target</code>, updating bindings if matched.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">pat</span>
<span class="types"><span class="type">LuaAstNode</span></span>
AST (potentially with variable bindings) to find
</li>
<li><span class="parameter">target</span>
<span class="types"><span class="type">LuaAstNode</span></span>
AST to match inside
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">bool</span></span>
true if target was found
</ol>
</dd>
<dt>
<a name = "MatchCtxt:subst"></a>
<strong>MatchCtxt:subst (replacement)</strong>
</dt>
<dd>
Substitute the currently matched AST node with a new AST node
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">replacement</span>
<span class="types"><span class="type">LuaAstNode</span></span>
New AST node to replace the currently matched AST. May include variable bindings if these bindings were matched by the search pattern.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
New AST node with variable bindings replaced by their matched values
</ol>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_TransformCtxt"></a>Class TransformCtxt </h2>
<div class="section-description">
Transformation context
</div>
<dl class="function">
<dt>
<a name = "TransformCtxt:replace_stmts_with"></a>
<strong>TransformCtxt:replace_stmts_with (needle, callback)</strong>
</dt>
<dd>
Replace matching statements using given callback
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">needle</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
Statements pattern to search for, may include variable bindings
</li>
<li><span class="parameter">callback</span>
<span class="types"><span class="type">function(LuaAstNode,MatchCtxt)</span></span>
Function called for each match. Takes the matching node and a new <a href="scripting_api.html#MatchCtxt">MatchCtxt</a> for that match. See <a href="scripting_api.html#MatchCtxt:fold_with">MatchCtxt:fold_with</a>
</li>
</ul>
</dd>
<dt>
<a name = "TransformCtxt:replace_expr_with"></a>
<strong>TransformCtxt:replace_expr_with (needle, haystack)</strong>
</dt>
<dd>
Replace matching expressions using given replacements
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">needle</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
Expression pattern to search for, may include variable bindings
</li>
<li><span class="parameter">haystack</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
Expression to replace needle with
</li>
</ul>
</dd>
<dt>
<a name = "TransformCtxt:replace_expr_with"></a>
<strong>TransformCtxt:replace_expr_with (needle, callback)</strong>
</dt>
<dd>
Replace matching expressions using given callback
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">needle</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
Expression pattern to search for, may include variable bindings
</li>
<li><span class="parameter">callback</span>
<span class="types"><span class="type">function(LuaAstNode,MatchCtxt)</span></span>
Function called for each match. Takes the matching node and a new <a href="scripting_api.html#MatchCtxt">MatchCtxt</a> for that match. See <a href="scripting_api.html#MatchCtxt:fold_with">MatchCtxt:fold_with</a>
</li>
</ul>
</dd>
<dt>
<a name = "TransformCtxt:match"></a>
<strong>TransformCtxt:match (callback)</strong>
</dt>
<dd>
Create a new, empty <a href="scripting_api.html#MatchCtxt">MatchCtxt</a>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">callback</span>
<span class="types"><span class="type">function(MatchCtxt)</span></span>
Function called with the new match context
</li>
</ul>
</dd>
<dt>
<a name = "TransformCtxt:visit_crate"></a>
<strong>TransformCtxt:visit_crate (object)</strong>
</dt>
<dd>
Visits an entire crate via a lua object's methods
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">object</span>
<span class="types"><span class="type">Visitor</span></span>
Visitor whose methods will be called during the traversal
</li>
</ul>
</dd>
<dt>
<a name = "TransformCtxt:visit_crate"></a>
<strong>TransformCtxt:visit_crate (object)</strong>
</dt>
<dd>
Visits an entire crate via a lua object's methods
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">object</span>
<span class="types"><span class="type">Visitor</span></span>
Visitor whose methods will be called during the traversal
</li>
</ul>
</dd>
<dt>
<a name = "TransformCtxt:visit_fn_like"></a>
<strong>TransformCtxt:visit_fn_like (object)</strong>
</dt>
<dd>
Visits every fn like via a lua object's methods
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">object</span>
<span class="types"><span class="type">Visitor</span></span>
Visitor whose methods will be called during the traversal
</li>
</ul>
</dd>
<dt>
<a name = "TransformCtxt:visit_paths"></a>
<strong>TransformCtxt:visit_paths (node, QSelf)</strong>
</dt>
<dd>
Rewrite all paths in a crate
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">node</span>
<span class="types"><span class="type">LuaAstNode</span></span>
AST node to visit. Valid node types: {P<Item>}.
</li>
<li><span class="parameter">QSelf</span>
<span class="types"><span class="type">function(NodeId,</span></span>
, Path, Def) callback Function called for each path. Can modify QSelf and/or Path to rewrite the path.
</li>
</ul>
</dd>
<dt>
<a name = "TransformCtxt:create_use"></a>
<strong>TransformCtxt:create_use (Tree)</strong>
</dt>
<dd>
Create a new use item
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">Tree</span>
<span class="types"><span class="type">tab</span></span>
of paths to convert into a UseTree. Each leaf of the tree corresponds to a UseTree and is an array of items to import. Each of these items may be a string (the item name), an array with two values: the item name and an identifier to rebind the item name to (i.e. <code>a as b</code>), or the literal string '*' indicating a glob import from that module. The prefix for each UseTree is the sequence of keys in the map along the path to that leaf array.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
New use item node
</ol>
</dd>
<dt>
<a name = "TransformCtxt:get_node_type"></a>
<strong>TransformCtxt:get_node_type (node_id)</strong>
</dt>
<dd>
Get the node type of the node with the given id
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">node_id</span>
<span class="types"><span class="type">int</span></span>
the NodeId
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="scripting_api.html#LuaTy">LuaTy</a></span>
the type of that node (or nil)
</ol>
</dd>
</dl>
<h2 class="section-header "><a name="scripting_into_lua_ast_Functions"></a>scripting.into_lua_ast Functions</h2>
<dl class="function">
<dt>
<a name = "Stmt"></a>
<strong>Stmt</strong>
</dt>
<dd>
AST Stmt
<h3>Fields:</h3>
<ul>
<li><span class="parameter">type</span>
"Stmt"
</li>
<li><span class="parameter">kind</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<a href="scripting_api.html#StmtKind">StmtKind</a> of this statement</p>
<p> <code>StmtKind::Local</code> only:
</li>
<li><span class="parameter">ty</span>
<span class="types"><span class="type">LuaAstNode</span></span>
Type of local
(<em>optional</em>)
</li>
<li><span class="parameter">init</span>
<span class="types"><span class="type">LuaAstNode</span></span>
Initializer of local
(<em>optional</em>)
</li>
<li><span class="parameter">pat</span>
<span class="types"><span class="type">LuaAstNode</span></span>
Name of local</p>
<p> <code>StmtKind::Item</code> only:
</li>
<li><span class="parameter">item</span>
<span class="types"><span class="type">LuaAstNode</span></span>
Item node</p>
<p> <code>StmtKind::Semi</code> and <code>StmtKind::Expr</code> only:
</li>
<li><span class="parameter">expr</span>
<span class="types"><span class="type">LuaAstNode</span></span>
Expression in this statement
</li>
</ul>
</dd>
<dt>
<a name = "Expr"></a>
<strong>Expr</strong>
</dt>
<dd>
AST Expr
<h3>Fields:</h3>
<ul>
<li><span class="parameter">type</span>
"Expr"
</li>
<li><span class="parameter">kind</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
<a href="scripting_api.html#ExprKind">ExprKind</a> of this expression</p>
<p> <code>ExprKind::Lit</code> only:
</li>
<li><span class="parameter">value</span>
Literal value of this expression
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Crate"></a>Class Crate </h2>
<div class="section-description">
Crate AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Crate:get_module"></a>
<strong>Crate:get_module ()</strong>
</dt>
<dd>
Return the "module" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Crate:set_module"></a>
<strong>Crate:set_module (value)</strong>
</dt>
<dd>
Set the "module" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Crate:get_attrs"></a>
<strong>Crate:get_attrs ()</strong>
</dt>
<dd>
Return the "attrs" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Crate:set_attrs"></a>
<strong>Crate:set_attrs (value)</strong>
</dt>
<dd>
Set the "attrs" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Crate:get_span"></a>
<strong>Crate:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Crate:set_span"></a>
<strong>Crate:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Mod"></a>Class Mod </h2>
<div class="section-description">
Mod AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Mod:get_inner"></a>
<strong>Mod:get_inner ()</strong>
</dt>
<dd>
Return the "inner" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Mod:set_inner"></a>
<strong>Mod:set_inner (value)</strong>
</dt>
<dd>
Set the "inner" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Mod:get_items"></a>
<strong>Mod:get_items ()</strong>
</dt>
<dd>
Return the "items" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Mod:set_items"></a>
<strong>Mod:set_items (value)</strong>
</dt>
<dd>
Set the "items" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Mod:get_inline"></a>
<strong>Mod:get_inline ()</strong>
</dt>
<dd>
Return the "inline" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Mod:set_inline"></a>
<strong>Mod:set_inline (value)</strong>
</dt>
<dd>
Set the "inline" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Item"></a>Class Item </h2>
<div class="section-description">
Item AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Item:get_ident"></a>
<strong>Item:get_ident ()</strong>
</dt>
<dd>
Return the "ident" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Item:set_ident"></a>
<strong>Item:set_ident (value)</strong>
</dt>
<dd>
Set the "ident" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Item:get_attrs"></a>
<strong>Item:get_attrs ()</strong>
</dt>
<dd>
Return the "attrs" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Item:set_attrs"></a>
<strong>Item:set_attrs (value)</strong>
</dt>
<dd>
Set the "attrs" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Item:get_id"></a>
<strong>Item:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Item:set_id"></a>
<strong>Item:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Item:get_kind"></a>
<strong>Item:get_kind ()</strong>
</dt>
<dd>
Return the "kind" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Item:set_kind"></a>
<strong>Item:set_kind (value)</strong>
</dt>
<dd>
Set the "kind" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Item:get_vis"></a>
<strong>Item:get_vis ()</strong>
</dt>
<dd>
Return the "vis" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Item:set_vis"></a>
<strong>Item:set_vis (value)</strong>
</dt>
<dd>
Set the "vis" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Item:get_span"></a>
<strong>Item:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Item:set_span"></a>
<strong>Item:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Item:get_tokens"></a>
<strong>Item:get_tokens ()</strong>
</dt>
<dd>
Return the "tokens" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Item:set_tokens"></a>
<strong>Item:set_tokens (value)</strong>
</dt>
<dd>
Set the "tokens" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Item:kind_name"></a>
<strong>Item:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "Item:children"></a>
<strong>Item:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "Item:child"></a>
<strong>Item:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "Item:replace_child"></a>
<strong>Item:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_ItemKind"></a>Class ItemKind </h2>
<div class="section-description">
ItemKind AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "ItemKind:kind_name"></a>
<strong>ItemKind:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "ItemKind:children"></a>
<strong>ItemKind:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "ItemKind:child"></a>
<strong>ItemKind:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "ItemKind:replace_child"></a>
<strong>ItemKind:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_UseTreeKind"></a>Class UseTreeKind </h2>
<div class="section-description">
UseTreeKind AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "UseTreeKind:kind_name"></a>
<strong>UseTreeKind:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "UseTreeKind:children"></a>
<strong>UseTreeKind:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "UseTreeKind:child"></a>
<strong>UseTreeKind:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "UseTreeKind:replace_child"></a>
<strong>UseTreeKind:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_UseTree"></a>Class UseTree </h2>
<div class="section-description">
UseTree AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "UseTree:get_kind"></a>
<strong>UseTree:get_kind ()</strong>
</dt>
<dd>
Return the "kind" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "UseTree:set_kind"></a>
<strong>UseTree:set_kind (value)</strong>
</dt>
<dd>
Set the "kind" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "UseTree:get_prefix"></a>
<strong>UseTree:get_prefix ()</strong>
</dt>
<dd>
Return the "prefix" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "UseTree:set_prefix"></a>
<strong>UseTree:set_prefix (value)</strong>
</dt>
<dd>
Set the "prefix" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "UseTree:get_span"></a>
<strong>UseTree:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "UseTree:set_span"></a>
<strong>UseTree:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "UseTree:kind_name"></a>
<strong>UseTree:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "UseTree:children"></a>
<strong>UseTree:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "UseTree:child"></a>
<strong>UseTree:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "UseTree:replace_child"></a>
<strong>UseTree:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_TraitItem"></a>Class TraitItem </h2>
<div class="section-description">
TraitItem AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "TraitItem:get_id"></a>
<strong>TraitItem:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "TraitItem:set_id"></a>
<strong>TraitItem:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "TraitItem:get_ident"></a>
<strong>TraitItem:get_ident ()</strong>
</dt>
<dd>
Return the "ident" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "TraitItem:set_ident"></a>
<strong>TraitItem:set_ident (value)</strong>
</dt>
<dd>
Set the "ident" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "TraitItem:get_attrs"></a>
<strong>TraitItem:get_attrs ()</strong>
</dt>
<dd>
Return the "attrs" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "TraitItem:set_attrs"></a>
<strong>TraitItem:set_attrs (value)</strong>
</dt>
<dd>
Set the "attrs" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "TraitItem:get_generics"></a>
<strong>TraitItem:get_generics ()</strong>
</dt>
<dd>
Return the "generics" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "TraitItem:set_generics"></a>
<strong>TraitItem:set_generics (value)</strong>
</dt>
<dd>
Set the "generics" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "TraitItem:get_kind"></a>
<strong>TraitItem:get_kind ()</strong>
</dt>
<dd>
Return the "kind" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "TraitItem:set_kind"></a>
<strong>TraitItem:set_kind (value)</strong>
</dt>
<dd>
Set the "kind" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "TraitItem:get_span"></a>
<strong>TraitItem:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "TraitItem:set_span"></a>
<strong>TraitItem:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "TraitItem:get_tokens"></a>
<strong>TraitItem:get_tokens ()</strong>
</dt>
<dd>
Return the "tokens" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "TraitItem:set_tokens"></a>
<strong>TraitItem:set_tokens (value)</strong>
</dt>
<dd>
Set the "tokens" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "TraitItem:kind_name"></a>
<strong>TraitItem:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "TraitItem:children"></a>
<strong>TraitItem:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "TraitItem:child"></a>
<strong>TraitItem:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "TraitItem:replace_child"></a>
<strong>TraitItem:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_TraitItemKind"></a>Class TraitItemKind </h2>
<div class="section-description">
TraitItemKind AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "TraitItemKind:kind_name"></a>
<strong>TraitItemKind:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "TraitItemKind:children"></a>
<strong>TraitItemKind:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "TraitItemKind:child"></a>
<strong>TraitItemKind:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "TraitItemKind:replace_child"></a>
<strong>TraitItemKind:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_ImplItem"></a>Class ImplItem </h2>
<div class="section-description">
ImplItem AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "ImplItem:get_id"></a>
<strong>ImplItem:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "ImplItem:set_id"></a>
<strong>ImplItem:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "ImplItem:get_ident"></a>
<strong>ImplItem:get_ident ()</strong>
</dt>
<dd>
Return the "ident" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "ImplItem:set_ident"></a>
<strong>ImplItem:set_ident (value)</strong>
</dt>
<dd>
Set the "ident" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "ImplItem:get_vis"></a>
<strong>ImplItem:get_vis ()</strong>
</dt>
<dd>
Return the "vis" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "ImplItem:set_vis"></a>
<strong>ImplItem:set_vis (value)</strong>
</dt>
<dd>
Set the "vis" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "ImplItem:get_defaultness"></a>
<strong>ImplItem:get_defaultness ()</strong>
</dt>
<dd>
Return the "defaultness" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "ImplItem:set_defaultness"></a>
<strong>ImplItem:set_defaultness (value)</strong>
</dt>
<dd>
Set the "defaultness" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "ImplItem:get_attrs"></a>
<strong>ImplItem:get_attrs ()</strong>
</dt>
<dd>
Return the "attrs" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "ImplItem:set_attrs"></a>
<strong>ImplItem:set_attrs (value)</strong>
</dt>
<dd>
Set the "attrs" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "ImplItem:get_generics"></a>
<strong>ImplItem:get_generics ()</strong>
</dt>
<dd>
Return the "generics" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "ImplItem:set_generics"></a>
<strong>ImplItem:set_generics (value)</strong>
</dt>
<dd>
Set the "generics" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "ImplItem:get_kind"></a>
<strong>ImplItem:get_kind ()</strong>
</dt>
<dd>
Return the "kind" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "ImplItem:set_kind"></a>
<strong>ImplItem:set_kind (value)</strong>
</dt>
<dd>
Set the "kind" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "ImplItem:get_span"></a>
<strong>ImplItem:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "ImplItem:set_span"></a>
<strong>ImplItem:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "ImplItem:get_tokens"></a>
<strong>ImplItem:get_tokens ()</strong>
</dt>
<dd>
Return the "tokens" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "ImplItem:set_tokens"></a>
<strong>ImplItem:set_tokens (value)</strong>
</dt>
<dd>
Set the "tokens" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_ImplItemKind"></a>Class ImplItemKind </h2>
<div class="section-description">
ImplItemKind AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "ImplItemKind:kind_name"></a>
<strong>ImplItemKind:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "ImplItemKind:children"></a>
<strong>ImplItemKind:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "ImplItemKind:child"></a>
<strong>ImplItemKind:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "ImplItemKind:replace_child"></a>
<strong>ImplItemKind:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_TraitRef"></a>Class TraitRef </h2>
<div class="section-description">
TraitRef AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "TraitRef:get_path"></a>
<strong>TraitRef:get_path ()</strong>
</dt>
<dd>
Return the "path" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "TraitRef:set_path"></a>
<strong>TraitRef:set_path (value)</strong>
</dt>
<dd>
Set the "path" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "TraitRef:get_ref_id"></a>
<strong>TraitRef:get_ref_id ()</strong>
</dt>
<dd>
Return the "ref_id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "TraitRef:set_ref_id"></a>
<strong>TraitRef:set_ref_id (value)</strong>
</dt>
<dd>
Set the "ref_id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_EnumDef"></a>Class EnumDef </h2>
<div class="section-description">
EnumDef AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "EnumDef:get_variants"></a>
<strong>EnumDef:get_variants ()</strong>
</dt>
<dd>
Return the "variants" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "EnumDef:set_variants"></a>
<strong>EnumDef:set_variants (value)</strong>
</dt>
<dd>
Set the "variants" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Variant"></a>Class Variant </h2>
<div class="section-description">
Variant AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Variant:get_ident"></a>
<strong>Variant:get_ident ()</strong>
</dt>
<dd>
Return the "ident" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Variant:set_ident"></a>
<strong>Variant:set_ident (value)</strong>
</dt>
<dd>
Set the "ident" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Variant:get_attrs"></a>
<strong>Variant:get_attrs ()</strong>
</dt>
<dd>
Return the "attrs" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Variant:set_attrs"></a>
<strong>Variant:set_attrs (value)</strong>
</dt>
<dd>
Set the "attrs" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Variant:get_id"></a>
<strong>Variant:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Variant:set_id"></a>
<strong>Variant:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Variant:get_data"></a>
<strong>Variant:get_data ()</strong>
</dt>
<dd>
Return the "data" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Variant:set_data"></a>
<strong>Variant:set_data (value)</strong>
</dt>
<dd>
Set the "data" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Variant:get_disr_expr"></a>
<strong>Variant:get_disr_expr ()</strong>
</dt>
<dd>
Return the "disr_expr" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Variant:set_disr_expr"></a>
<strong>Variant:set_disr_expr (value)</strong>
</dt>
<dd>
Set the "disr_expr" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Variant:get_span"></a>
<strong>Variant:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Variant:set_span"></a>
<strong>Variant:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Variant:get_is_placeholder"></a>
<strong>Variant:get_is_placeholder ()</strong>
</dt>
<dd>
Return the "is_placeholder" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Variant:set_is_placeholder"></a>
<strong>Variant:set_is_placeholder (value)</strong>
</dt>
<dd>
Set the "is_placeholder" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_VariantData"></a>Class VariantData </h2>
<div class="section-description">
VariantData AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "VariantData:kind_name"></a>
<strong>VariantData:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "VariantData:children"></a>
<strong>VariantData:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "VariantData:child"></a>
<strong>VariantData:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "VariantData:replace_child"></a>
<strong>VariantData:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_StructField"></a>Class StructField </h2>
<div class="section-description">
StructField AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "StructField:get_span"></a>
<strong>StructField:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "StructField:set_span"></a>
<strong>StructField:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "StructField:get_ident"></a>
<strong>StructField:get_ident ()</strong>
</dt>
<dd>
Return the "ident" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "StructField:set_ident"></a>
<strong>StructField:set_ident (value)</strong>
</dt>
<dd>
Set the "ident" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "StructField:get_vis"></a>
<strong>StructField:get_vis ()</strong>
</dt>
<dd>
Return the "vis" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "StructField:set_vis"></a>
<strong>StructField:set_vis (value)</strong>
</dt>
<dd>
Set the "vis" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "StructField:get_id"></a>
<strong>StructField:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "StructField:set_id"></a>
<strong>StructField:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "StructField:get_ty"></a>
<strong>StructField:get_ty ()</strong>
</dt>
<dd>
Return the "ty" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "StructField:set_ty"></a>
<strong>StructField:set_ty (value)</strong>
</dt>
<dd>
Set the "ty" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "StructField:get_attrs"></a>
<strong>StructField:get_attrs ()</strong>
</dt>
<dd>
Return the "attrs" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "StructField:set_attrs"></a>
<strong>StructField:set_attrs (value)</strong>
</dt>
<dd>
Set the "attrs" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "StructField:get_is_placeholder"></a>
<strong>StructField:get_is_placeholder ()</strong>
</dt>
<dd>
Return the "is_placeholder" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "StructField:set_is_placeholder"></a>
<strong>StructField:set_is_placeholder (value)</strong>
</dt>
<dd>
Set the "is_placeholder" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_MethodSig"></a>Class MethodSig </h2>
<div class="section-description">
MethodSig AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "MethodSig:get_header"></a>
<strong>MethodSig:get_header ()</strong>
</dt>
<dd>
Return the "header" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "MethodSig:set_header"></a>
<strong>MethodSig:set_header (value)</strong>
</dt>
<dd>
Set the "header" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "MethodSig:get_decl"></a>
<strong>MethodSig:get_decl ()</strong>
</dt>
<dd>
Return the "decl" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "MethodSig:set_decl"></a>
<strong>MethodSig:set_decl (value)</strong>
</dt>
<dd>
Set the "decl" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_ForeignMod"></a>Class ForeignMod </h2>
<div class="section-description">
ForeignMod AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "ForeignMod:get_abi"></a>
<strong>ForeignMod:get_abi ()</strong>
</dt>
<dd>
Return the "abi" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "ForeignMod:set_abi"></a>
<strong>ForeignMod:set_abi (value)</strong>
</dt>
<dd>
Set the "abi" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "ForeignMod:get_items"></a>
<strong>ForeignMod:get_items ()</strong>
</dt>
<dd>
Return the "items" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "ForeignMod:set_items"></a>
<strong>ForeignMod:set_items (value)</strong>
</dt>
<dd>
Set the "items" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_ForeignItem"></a>Class ForeignItem </h2>
<div class="section-description">
ForeignItem AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "ForeignItem:get_ident"></a>
<strong>ForeignItem:get_ident ()</strong>
</dt>
<dd>
Return the "ident" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "ForeignItem:set_ident"></a>
<strong>ForeignItem:set_ident (value)</strong>
</dt>
<dd>
Set the "ident" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "ForeignItem:get_attrs"></a>
<strong>ForeignItem:get_attrs ()</strong>
</dt>
<dd>
Return the "attrs" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "ForeignItem:set_attrs"></a>
<strong>ForeignItem:set_attrs (value)</strong>
</dt>
<dd>
Set the "attrs" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "ForeignItem:get_kind"></a>
<strong>ForeignItem:get_kind ()</strong>
</dt>
<dd>
Return the "kind" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "ForeignItem:set_kind"></a>
<strong>ForeignItem:set_kind (value)</strong>
</dt>
<dd>
Set the "kind" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "ForeignItem:get_id"></a>
<strong>ForeignItem:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "ForeignItem:set_id"></a>
<strong>ForeignItem:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "ForeignItem:get_span"></a>
<strong>ForeignItem:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "ForeignItem:set_span"></a>
<strong>ForeignItem:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "ForeignItem:get_vis"></a>
<strong>ForeignItem:get_vis ()</strong>
</dt>
<dd>
Return the "vis" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "ForeignItem:set_vis"></a>
<strong>ForeignItem:set_vis (value)</strong>
</dt>
<dd>
Set the "vis" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "ForeignItem:kind_name"></a>
<strong>ForeignItem:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "ForeignItem:children"></a>
<strong>ForeignItem:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "ForeignItem:child"></a>
<strong>ForeignItem:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "ForeignItem:replace_child"></a>
<strong>ForeignItem:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_ForeignItemKind"></a>Class ForeignItemKind </h2>
<div class="section-description">
ForeignItemKind AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "ForeignItemKind:kind_name"></a>
<strong>ForeignItemKind:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "ForeignItemKind:children"></a>
<strong>ForeignItemKind:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "ForeignItemKind:child"></a>
<strong>ForeignItemKind:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "ForeignItemKind:replace_child"></a>
<strong>ForeignItemKind:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Generics"></a>Class Generics </h2>
<div class="section-description">
Generics AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Generics:get_params"></a>
<strong>Generics:get_params ()</strong>
</dt>
<dd>
Return the "params" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Generics:set_params"></a>
<strong>Generics:set_params (value)</strong>
</dt>
<dd>
Set the "params" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Generics:get_where_clause"></a>
<strong>Generics:get_where_clause ()</strong>
</dt>
<dd>
Return the "where_clause" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Generics:set_where_clause"></a>
<strong>Generics:set_where_clause (value)</strong>
</dt>
<dd>
Set the "where_clause" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Generics:get_span"></a>
<strong>Generics:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Generics:set_span"></a>
<strong>Generics:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_GenericParam"></a>Class GenericParam </h2>
<div class="section-description">
GenericParam AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "GenericParam:get_id"></a>
<strong>GenericParam:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "GenericParam:set_id"></a>
<strong>GenericParam:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "GenericParam:get_ident"></a>
<strong>GenericParam:get_ident ()</strong>
</dt>
<dd>
Return the "ident" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "GenericParam:set_ident"></a>
<strong>GenericParam:set_ident (value)</strong>
</dt>
<dd>
Set the "ident" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "GenericParam:get_attrs"></a>
<strong>GenericParam:get_attrs ()</strong>
</dt>
<dd>
Return the "attrs" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "GenericParam:set_attrs"></a>
<strong>GenericParam:set_attrs (value)</strong>
</dt>
<dd>
Set the "attrs" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "GenericParam:get_bounds"></a>
<strong>GenericParam:get_bounds ()</strong>
</dt>
<dd>
Return the "bounds" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "GenericParam:set_bounds"></a>
<strong>GenericParam:set_bounds (value)</strong>
</dt>
<dd>
Set the "bounds" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "GenericParam:get_kind"></a>
<strong>GenericParam:get_kind ()</strong>
</dt>
<dd>
Return the "kind" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "GenericParam:set_kind"></a>
<strong>GenericParam:set_kind (value)</strong>
</dt>
<dd>
Set the "kind" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "GenericParam:get_is_placeholder"></a>
<strong>GenericParam:get_is_placeholder ()</strong>
</dt>
<dd>
Return the "is_placeholder" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "GenericParam:set_is_placeholder"></a>
<strong>GenericParam:set_is_placeholder (value)</strong>
</dt>
<dd>
Set the "is_placeholder" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "GenericParam:kind_name"></a>
<strong>GenericParam:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "GenericParam:children"></a>
<strong>GenericParam:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "GenericParam:child"></a>
<strong>GenericParam:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "GenericParam:replace_child"></a>
<strong>GenericParam:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_GenericParamKind"></a>Class GenericParamKind </h2>
<div class="section-description">
GenericParamKind AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "GenericParamKind:kind_name"></a>
<strong>GenericParamKind:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "GenericParamKind:children"></a>
<strong>GenericParamKind:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "GenericParamKind:child"></a>
<strong>GenericParamKind:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "GenericParamKind:replace_child"></a>
<strong>GenericParamKind:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_WhereClause"></a>Class WhereClause </h2>
<div class="section-description">
WhereClause AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "WhereClause:get_predicates"></a>
<strong>WhereClause:get_predicates ()</strong>
</dt>
<dd>
Return the "predicates" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "WhereClause:set_predicates"></a>
<strong>WhereClause:set_predicates (value)</strong>
</dt>
<dd>
Set the "predicates" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "WhereClause:get_span"></a>
<strong>WhereClause:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "WhereClause:set_span"></a>
<strong>WhereClause:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_WherePredicate"></a>Class WherePredicate </h2>
<div class="section-description">
WherePredicate AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "WherePredicate:kind_name"></a>
<strong>WherePredicate:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "WherePredicate:children"></a>
<strong>WherePredicate:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "WherePredicate:child"></a>
<strong>WherePredicate:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "WherePredicate:replace_child"></a>
<strong>WherePredicate:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_WhereBoundPredicate"></a>Class WhereBoundPredicate </h2>
<div class="section-description">
WhereBoundPredicate AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "WhereBoundPredicate:get_span"></a>
<strong>WhereBoundPredicate:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "WhereBoundPredicate:set_span"></a>
<strong>WhereBoundPredicate:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "WhereBoundPredicate:get_bounded_ty"></a>
<strong>WhereBoundPredicate:get_bounded_ty ()</strong>
</dt>
<dd>
Return the "bounded_ty" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "WhereBoundPredicate:set_bounded_ty"></a>
<strong>WhereBoundPredicate:set_bounded_ty (value)</strong>
</dt>
<dd>
Set the "bounded_ty" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "WhereBoundPredicate:get_bounds"></a>
<strong>WhereBoundPredicate:get_bounds ()</strong>
</dt>
<dd>
Return the "bounds" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "WhereBoundPredicate:set_bounds"></a>
<strong>WhereBoundPredicate:set_bounds (value)</strong>
</dt>
<dd>
Set the "bounds" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "WhereBoundPredicate:get_bound_generic_params"></a>
<strong>WhereBoundPredicate:get_bound_generic_params ()</strong>
</dt>
<dd>
Return the "bound<em>generic</em>params" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "WhereBoundPredicate:set_bound_generic_params"></a>
<strong>WhereBoundPredicate:set_bound_generic_params (value)</strong>
</dt>
<dd>
Set the "bound<em>generic</em>params" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_WhereRegionPredicate"></a>Class WhereRegionPredicate </h2>
<div class="section-description">
WhereRegionPredicate AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "WhereRegionPredicate:get_span"></a>
<strong>WhereRegionPredicate:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "WhereRegionPredicate:set_span"></a>
<strong>WhereRegionPredicate:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "WhereRegionPredicate:get_lifetime"></a>
<strong>WhereRegionPredicate:get_lifetime ()</strong>
</dt>
<dd>
Return the "lifetime" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "WhereRegionPredicate:set_lifetime"></a>
<strong>WhereRegionPredicate:set_lifetime (value)</strong>
</dt>
<dd>
Set the "lifetime" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "WhereRegionPredicate:get_bounds"></a>
<strong>WhereRegionPredicate:get_bounds ()</strong>
</dt>
<dd>
Return the "bounds" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "WhereRegionPredicate:set_bounds"></a>
<strong>WhereRegionPredicate:set_bounds (value)</strong>
</dt>
<dd>
Set the "bounds" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_WhereEqPredicate"></a>Class WhereEqPredicate </h2>
<div class="section-description">
WhereEqPredicate AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "WhereEqPredicate:get_id"></a>
<strong>WhereEqPredicate:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "WhereEqPredicate:set_id"></a>
<strong>WhereEqPredicate:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "WhereEqPredicate:get_span"></a>
<strong>WhereEqPredicate:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "WhereEqPredicate:set_span"></a>
<strong>WhereEqPredicate:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "WhereEqPredicate:get_lhs_ty"></a>
<strong>WhereEqPredicate:get_lhs_ty ()</strong>
</dt>
<dd>
Return the "lhs_ty" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "WhereEqPredicate:set_lhs_ty"></a>
<strong>WhereEqPredicate:set_lhs_ty (value)</strong>
</dt>
<dd>
Set the "lhs_ty" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "WhereEqPredicate:get_rhs_ty"></a>
<strong>WhereEqPredicate:get_rhs_ty ()</strong>
</dt>
<dd>
Return the "rhs_ty" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "WhereEqPredicate:set_rhs_ty"></a>
<strong>WhereEqPredicate:set_rhs_ty (value)</strong>
</dt>
<dd>
Set the "rhs_ty" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_TraitBoundModifier"></a>Class TraitBoundModifier </h2>
<div class="section-description">
TraitBoundModifier AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "TraitBoundModifier:kind_name"></a>
<strong>TraitBoundModifier:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "TraitBoundModifier:children"></a>
<strong>TraitBoundModifier:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "TraitBoundModifier:child"></a>
<strong>TraitBoundModifier:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "TraitBoundModifier:replace_child"></a>
<strong>TraitBoundModifier:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_VisibilityKind"></a>Class VisibilityKind </h2>
<div class="section-description">
VisibilityKind AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "VisibilityKind:kind_name"></a>
<strong>VisibilityKind:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "VisibilityKind:children"></a>
<strong>VisibilityKind:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "VisibilityKind:child"></a>
<strong>VisibilityKind:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "VisibilityKind:replace_child"></a>
<strong>VisibilityKind:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_CrateSugar"></a>Class CrateSugar </h2>
<div class="section-description">
CrateSugar AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "CrateSugar:kind_name"></a>
<strong>CrateSugar:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "CrateSugar:children"></a>
<strong>CrateSugar:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "CrateSugar:child"></a>
<strong>CrateSugar:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "CrateSugar:replace_child"></a>
<strong>CrateSugar:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Ty"></a>Class Ty </h2>
<div class="section-description">
Ty AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Ty:get_id"></a>
<strong>Ty:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Ty:set_id"></a>
<strong>Ty:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Ty:get_kind"></a>
<strong>Ty:get_kind ()</strong>
</dt>
<dd>
Return the "kind" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Ty:set_kind"></a>
<strong>Ty:set_kind (value)</strong>
</dt>
<dd>
Set the "kind" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Ty:get_span"></a>
<strong>Ty:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Ty:set_span"></a>
<strong>Ty:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Ty:kind_name"></a>
<strong>Ty:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "Ty:children"></a>
<strong>Ty:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "Ty:child"></a>
<strong>Ty:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "Ty:replace_child"></a>
<strong>Ty:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_MutTy"></a>Class MutTy </h2>
<div class="section-description">
MutTy AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "MutTy:get_ty"></a>
<strong>MutTy:get_ty ()</strong>
</dt>
<dd>
Return the "ty" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "MutTy:set_ty"></a>
<strong>MutTy:set_ty (value)</strong>
</dt>
<dd>
Set the "ty" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "MutTy:get_mutbl"></a>
<strong>MutTy:get_mutbl ()</strong>
</dt>
<dd>
Return the "mutbl" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "MutTy:set_mutbl"></a>
<strong>MutTy:set_mutbl (value)</strong>
</dt>
<dd>
Set the "mutbl" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_TyKind"></a>Class TyKind </h2>
<div class="section-description">
TyKind AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "TyKind:kind_name"></a>
<strong>TyKind:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "TyKind:children"></a>
<strong>TyKind:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "TyKind:child"></a>
<strong>TyKind:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "TyKind:replace_child"></a>
<strong>TyKind:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_TraitObjectSyntax"></a>Class TraitObjectSyntax </h2>
<div class="section-description">
TraitObjectSyntax AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "TraitObjectSyntax:kind_name"></a>
<strong>TraitObjectSyntax:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "TraitObjectSyntax:children"></a>
<strong>TraitObjectSyntax:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "TraitObjectSyntax:child"></a>
<strong>TraitObjectSyntax:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "TraitObjectSyntax:replace_child"></a>
<strong>TraitObjectSyntax:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_LitIntType"></a>Class LitIntType </h2>
<div class="section-description">
LitIntType AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "LitIntType:kind_name"></a>
<strong>LitIntType:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "LitIntType:children"></a>
<strong>LitIntType:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "LitIntType:child"></a>
<strong>LitIntType:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "LitIntType:replace_child"></a>
<strong>LitIntType:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_IntTy"></a>Class IntTy </h2>
<div class="section-description">
IntTy AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "IntTy:kind_name"></a>
<strong>IntTy:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "IntTy:children"></a>
<strong>IntTy:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "IntTy:child"></a>
<strong>IntTy:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "IntTy:replace_child"></a>
<strong>IntTy:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_UintTy"></a>Class UintTy </h2>
<div class="section-description">
UintTy AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "UintTy:kind_name"></a>
<strong>UintTy:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "UintTy:children"></a>
<strong>UintTy:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "UintTy:child"></a>
<strong>UintTy:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "UintTy:replace_child"></a>
<strong>UintTy:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_FloatTy"></a>Class FloatTy </h2>
<div class="section-description">
FloatTy AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "FloatTy:kind_name"></a>
<strong>FloatTy:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "FloatTy:children"></a>
<strong>FloatTy:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "FloatTy:child"></a>
<strong>FloatTy:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "FloatTy:replace_child"></a>
<strong>FloatTy:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_BareFnTy"></a>Class BareFnTy </h2>
<div class="section-description">
BareFnTy AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "BareFnTy:get_unsafety"></a>
<strong>BareFnTy:get_unsafety ()</strong>
</dt>
<dd>
Return the "unsafety" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "BareFnTy:set_unsafety"></a>
<strong>BareFnTy:set_unsafety (value)</strong>
</dt>
<dd>
Set the "unsafety" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "BareFnTy:get_abi"></a>
<strong>BareFnTy:get_abi ()</strong>
</dt>
<dd>
Return the "abi" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "BareFnTy:set_abi"></a>
<strong>BareFnTy:set_abi (value)</strong>
</dt>
<dd>
Set the "abi" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "BareFnTy:get_decl"></a>
<strong>BareFnTy:get_decl ()</strong>
</dt>
<dd>
Return the "decl" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "BareFnTy:set_decl"></a>
<strong>BareFnTy:set_decl (value)</strong>
</dt>
<dd>
Set the "decl" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "BareFnTy:get_generic_params"></a>
<strong>BareFnTy:get_generic_params ()</strong>
</dt>
<dd>
Return the "generic_params" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "BareFnTy:set_generic_params"></a>
<strong>BareFnTy:set_generic_params (value)</strong>
</dt>
<dd>
Set the "generic_params" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Lifetime"></a>Class Lifetime </h2>
<div class="section-description">
Lifetime AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Lifetime:get_id"></a>
<strong>Lifetime:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Lifetime:set_id"></a>
<strong>Lifetime:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Lifetime:get_ident"></a>
<strong>Lifetime:get_ident ()</strong>
</dt>
<dd>
Return the "ident" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Lifetime:set_ident"></a>
<strong>Lifetime:set_ident (value)</strong>
</dt>
<dd>
Set the "ident" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_GenericBound"></a>Class GenericBound </h2>
<div class="section-description">
GenericBound AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "GenericBound:kind_name"></a>
<strong>GenericBound:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "GenericBound:children"></a>
<strong>GenericBound:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "GenericBound:child"></a>
<strong>GenericBound:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "GenericBound:replace_child"></a>
<strong>GenericBound:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_PolyTraitRef"></a>Class PolyTraitRef </h2>
<div class="section-description">
PolyTraitRef AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "PolyTraitRef:get_trait_ref"></a>
<strong>PolyTraitRef:get_trait_ref ()</strong>
</dt>
<dd>
Return the "trait_ref" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "PolyTraitRef:set_trait_ref"></a>
<strong>PolyTraitRef:set_trait_ref (value)</strong>
</dt>
<dd>
Set the "trait_ref" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "PolyTraitRef:get_span"></a>
<strong>PolyTraitRef:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "PolyTraitRef:set_span"></a>
<strong>PolyTraitRef:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "PolyTraitRef:get_bound_generic_params"></a>
<strong>PolyTraitRef:get_bound_generic_params ()</strong>
</dt>
<dd>
Return the "bound<em>generic</em>params" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "PolyTraitRef:set_bound_generic_params"></a>
<strong>PolyTraitRef:set_bound_generic_params (value)</strong>
</dt>
<dd>
Set the "bound<em>generic</em>params" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_FnDecl"></a>Class FnDecl </h2>
<div class="section-description">
FnDecl AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "FnDecl:get_inputs"></a>
<strong>FnDecl:get_inputs ()</strong>
</dt>
<dd>
Return the "inputs" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "FnDecl:set_inputs"></a>
<strong>FnDecl:set_inputs (value)</strong>
</dt>
<dd>
Set the "inputs" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "FnDecl:get_output"></a>
<strong>FnDecl:get_output ()</strong>
</dt>
<dd>
Return the "output" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "FnDecl:set_output"></a>
<strong>FnDecl:set_output (value)</strong>
</dt>
<dd>
Set the "output" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_FnHeader"></a>Class FnHeader </h2>
<div class="section-description">
FnHeader AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "FnHeader:get_unsafety"></a>
<strong>FnHeader:get_unsafety ()</strong>
</dt>
<dd>
Return the "unsafety" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "FnHeader:set_unsafety"></a>
<strong>FnHeader:set_unsafety (value)</strong>
</dt>
<dd>
Set the "unsafety" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "FnHeader:get_asyncness"></a>
<strong>FnHeader:get_asyncness ()</strong>
</dt>
<dd>
Return the "asyncness" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "FnHeader:set_asyncness"></a>
<strong>FnHeader:set_asyncness (value)</strong>
</dt>
<dd>
Set the "asyncness" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "FnHeader:get_constness"></a>
<strong>FnHeader:get_constness ()</strong>
</dt>
<dd>
Return the "constness" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "FnHeader:set_constness"></a>
<strong>FnHeader:set_constness (value)</strong>
</dt>
<dd>
Set the "constness" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "FnHeader:get_abi"></a>
<strong>FnHeader:get_abi ()</strong>
</dt>
<dd>
Return the "abi" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "FnHeader:set_abi"></a>
<strong>FnHeader:set_abi (value)</strong>
</dt>
<dd>
Set the "abi" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Param"></a>Class Param </h2>
<div class="section-description">
Param AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Param:get_attrs"></a>
<strong>Param:get_attrs ()</strong>
</dt>
<dd>
Return the "attrs" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Param:set_attrs"></a>
<strong>Param:set_attrs (value)</strong>
</dt>
<dd>
Set the "attrs" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Param:get_ty"></a>
<strong>Param:get_ty ()</strong>
</dt>
<dd>
Return the "ty" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Param:set_ty"></a>
<strong>Param:set_ty (value)</strong>
</dt>
<dd>
Set the "ty" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Param:get_pat"></a>
<strong>Param:get_pat ()</strong>
</dt>
<dd>
Return the "pat" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Param:set_pat"></a>
<strong>Param:set_pat (value)</strong>
</dt>
<dd>
Set the "pat" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Param:get_id"></a>
<strong>Param:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Param:set_id"></a>
<strong>Param:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Param:get_span"></a>
<strong>Param:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Param:set_span"></a>
<strong>Param:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Param:get_is_placeholder"></a>
<strong>Param:get_is_placeholder ()</strong>
</dt>
<dd>
Return the "is_placeholder" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Param:set_is_placeholder"></a>
<strong>Param:set_is_placeholder (value)</strong>
</dt>
<dd>
Set the "is_placeholder" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_FunctionRetTy"></a>Class FunctionRetTy </h2>
<div class="section-description">
FunctionRetTy AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "FunctionRetTy:kind_name"></a>
<strong>FunctionRetTy:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "FunctionRetTy:children"></a>
<strong>FunctionRetTy:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "FunctionRetTy:child"></a>
<strong>FunctionRetTy:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "FunctionRetTy:replace_child"></a>
<strong>FunctionRetTy:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Stmt"></a>Class Stmt </h2>
<div class="section-description">
Stmt AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Stmt:get_id"></a>
<strong>Stmt:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Stmt:set_id"></a>
<strong>Stmt:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Stmt:get_kind"></a>
<strong>Stmt:get_kind ()</strong>
</dt>
<dd>
Return the "kind" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Stmt:set_kind"></a>
<strong>Stmt:set_kind (value)</strong>
</dt>
<dd>
Set the "kind" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Stmt:get_span"></a>
<strong>Stmt:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Stmt:set_span"></a>
<strong>Stmt:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Stmt:kind_name"></a>
<strong>Stmt:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "Stmt:children"></a>
<strong>Stmt:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "Stmt:child"></a>
<strong>Stmt:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "Stmt:replace_child"></a>
<strong>Stmt:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_StmtKind"></a>Class StmtKind </h2>
<div class="section-description">
StmtKind AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "StmtKind:kind_name"></a>
<strong>StmtKind:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "StmtKind:children"></a>
<strong>StmtKind:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "StmtKind:child"></a>
<strong>StmtKind:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "StmtKind:replace_child"></a>
<strong>StmtKind:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Local"></a>Class Local </h2>
<div class="section-description">
Local AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Local:get_pat"></a>
<strong>Local:get_pat ()</strong>
</dt>
<dd>
Return the "pat" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Local:set_pat"></a>
<strong>Local:set_pat (value)</strong>
</dt>
<dd>
Set the "pat" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Local:get_ty"></a>
<strong>Local:get_ty ()</strong>
</dt>
<dd>
Return the "ty" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Local:set_ty"></a>
<strong>Local:set_ty (value)</strong>
</dt>
<dd>
Set the "ty" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Local:get_init"></a>
<strong>Local:get_init ()</strong>
</dt>
<dd>
Return the "init" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Local:set_init"></a>
<strong>Local:set_init (value)</strong>
</dt>
<dd>
Set the "init" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Local:get_id"></a>
<strong>Local:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Local:set_id"></a>
<strong>Local:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Local:get_span"></a>
<strong>Local:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Local:set_span"></a>
<strong>Local:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Local:get_attrs"></a>
<strong>Local:get_attrs ()</strong>
</dt>
<dd>
Return the "attrs" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Local:set_attrs"></a>
<strong>Local:set_attrs (value)</strong>
</dt>
<dd>
Set the "attrs" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Expr"></a>Class Expr </h2>
<div class="section-description">
Expr AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Expr:get_id"></a>
<strong>Expr:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Expr:set_id"></a>
<strong>Expr:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Expr:get_kind"></a>
<strong>Expr:get_kind ()</strong>
</dt>
<dd>
Return the "kind" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Expr:set_kind"></a>
<strong>Expr:set_kind (value)</strong>
</dt>
<dd>
Set the "kind" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Expr:get_span"></a>
<strong>Expr:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Expr:set_span"></a>
<strong>Expr:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Expr:get_attrs"></a>
<strong>Expr:get_attrs ()</strong>
</dt>
<dd>
Return the "attrs" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Expr:set_attrs"></a>
<strong>Expr:set_attrs (value)</strong>
</dt>
<dd>
Set the "attrs" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Expr:kind_name"></a>
<strong>Expr:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "Expr:children"></a>
<strong>Expr:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "Expr:child"></a>
<strong>Expr:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "Expr:replace_child"></a>
<strong>Expr:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_ExprKind"></a>Class ExprKind </h2>
<div class="section-description">
ExprKind AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "ExprKind:kind_name"></a>
<strong>ExprKind:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "ExprKind:children"></a>
<strong>ExprKind:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "ExprKind:child"></a>
<strong>ExprKind:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "ExprKind:replace_child"></a>
<strong>ExprKind:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_IsAsync"></a>Class IsAsync </h2>
<div class="section-description">
IsAsync AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "IsAsync:kind_name"></a>
<strong>IsAsync:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "IsAsync:children"></a>
<strong>IsAsync:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "IsAsync:child"></a>
<strong>IsAsync:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "IsAsync:replace_child"></a>
<strong>IsAsync:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Movability"></a>Class Movability </h2>
<div class="section-description">
Movability AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Movability:kind_name"></a>
<strong>Movability:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "Movability:children"></a>
<strong>Movability:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "Movability:child"></a>
<strong>Movability:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "Movability:replace_child"></a>
<strong>Movability:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_UnOp"></a>Class UnOp </h2>
<div class="section-description">
UnOp AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "UnOp:kind_name"></a>
<strong>UnOp:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "UnOp:children"></a>
<strong>UnOp:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "UnOp:child"></a>
<strong>UnOp:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "UnOp:replace_child"></a>
<strong>UnOp:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_BinOpKind"></a>Class BinOpKind </h2>
<div class="section-description">
BinOpKind AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "BinOpKind:kind_name"></a>
<strong>BinOpKind:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "BinOpKind:children"></a>
<strong>BinOpKind:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "BinOpKind:child"></a>
<strong>BinOpKind:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "BinOpKind:replace_child"></a>
<strong>BinOpKind:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Field"></a>Class Field </h2>
<div class="section-description">
Field AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Field:get_id"></a>
<strong>Field:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Field:set_id"></a>
<strong>Field:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Field:get_ident"></a>
<strong>Field:get_ident ()</strong>
</dt>
<dd>
Return the "ident" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Field:set_ident"></a>
<strong>Field:set_ident (value)</strong>
</dt>
<dd>
Set the "ident" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Field:get_expr"></a>
<strong>Field:get_expr ()</strong>
</dt>
<dd>
Return the "expr" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Field:set_expr"></a>
<strong>Field:set_expr (value)</strong>
</dt>
<dd>
Set the "expr" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Field:get_span"></a>
<strong>Field:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Field:set_span"></a>
<strong>Field:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Field:get_is_shorthand"></a>
<strong>Field:get_is_shorthand ()</strong>
</dt>
<dd>
Return the "is_shorthand" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Field:set_is_shorthand"></a>
<strong>Field:set_is_shorthand (value)</strong>
</dt>
<dd>
Set the "is_shorthand" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Field:get_attrs"></a>
<strong>Field:get_attrs ()</strong>
</dt>
<dd>
Return the "attrs" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Field:set_attrs"></a>
<strong>Field:set_attrs (value)</strong>
</dt>
<dd>
Set the "attrs" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Field:get_is_placeholder"></a>
<strong>Field:get_is_placeholder ()</strong>
</dt>
<dd>
Return the "is_placeholder" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Field:set_is_placeholder"></a>
<strong>Field:set_is_placeholder (value)</strong>
</dt>
<dd>
Set the "is_placeholder" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Arm"></a>Class Arm </h2>
<div class="section-description">
Arm AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Arm:get_id"></a>
<strong>Arm:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Arm:set_id"></a>
<strong>Arm:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Arm:get_attrs"></a>
<strong>Arm:get_attrs ()</strong>
</dt>
<dd>
Return the "attrs" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Arm:set_attrs"></a>
<strong>Arm:set_attrs (value)</strong>
</dt>
<dd>
Set the "attrs" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Arm:get_pat"></a>
<strong>Arm:get_pat ()</strong>
</dt>
<dd>
Return the "pat" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Arm:set_pat"></a>
<strong>Arm:set_pat (value)</strong>
</dt>
<dd>
Set the "pat" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Arm:get_guard"></a>
<strong>Arm:get_guard ()</strong>
</dt>
<dd>
Return the "guard" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Arm:set_guard"></a>
<strong>Arm:set_guard (value)</strong>
</dt>
<dd>
Set the "guard" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Arm:get_body"></a>
<strong>Arm:get_body ()</strong>
</dt>
<dd>
Return the "body" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Arm:set_body"></a>
<strong>Arm:set_body (value)</strong>
</dt>
<dd>
Set the "body" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Arm:get_span"></a>
<strong>Arm:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Arm:set_span"></a>
<strong>Arm:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Arm:get_is_placeholder"></a>
<strong>Arm:get_is_placeholder ()</strong>
</dt>
<dd>
Return the "is_placeholder" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Arm:set_is_placeholder"></a>
<strong>Arm:set_is_placeholder (value)</strong>
</dt>
<dd>
Set the "is_placeholder" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Block"></a>Class Block </h2>
<div class="section-description">
Block AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Block:get_stmts"></a>
<strong>Block:get_stmts ()</strong>
</dt>
<dd>
Return the "stmts" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Block:set_stmts"></a>
<strong>Block:set_stmts (value)</strong>
</dt>
<dd>
Set the "stmts" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Block:get_id"></a>
<strong>Block:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Block:set_id"></a>
<strong>Block:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Block:get_rules"></a>
<strong>Block:get_rules ()</strong>
</dt>
<dd>
Return the "rules" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Block:set_rules"></a>
<strong>Block:set_rules (value)</strong>
</dt>
<dd>
Set the "rules" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Block:get_span"></a>
<strong>Block:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Block:set_span"></a>
<strong>Block:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Pat"></a>Class Pat </h2>
<div class="section-description">
Pat AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Pat:get_id"></a>
<strong>Pat:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Pat:set_id"></a>
<strong>Pat:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Pat:get_kind"></a>
<strong>Pat:get_kind ()</strong>
</dt>
<dd>
Return the "kind" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Pat:set_kind"></a>
<strong>Pat:set_kind (value)</strong>
</dt>
<dd>
Set the "kind" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Pat:get_span"></a>
<strong>Pat:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Pat:set_span"></a>
<strong>Pat:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Pat:kind_name"></a>
<strong>Pat:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "Pat:children"></a>
<strong>Pat:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "Pat:child"></a>
<strong>Pat:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "Pat:replace_child"></a>
<strong>Pat:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_PatKind"></a>Class PatKind </h2>
<div class="section-description">
PatKind AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "PatKind:kind_name"></a>
<strong>PatKind:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "PatKind:children"></a>
<strong>PatKind:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "PatKind:child"></a>
<strong>PatKind:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "PatKind:replace_child"></a>
<strong>PatKind:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_FieldPat"></a>Class FieldPat </h2>
<div class="section-description">
FieldPat AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "FieldPat:get_id"></a>
<strong>FieldPat:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "FieldPat:set_id"></a>
<strong>FieldPat:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "FieldPat:get_ident"></a>
<strong>FieldPat:get_ident ()</strong>
</dt>
<dd>
Return the "ident" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "FieldPat:set_ident"></a>
<strong>FieldPat:set_ident (value)</strong>
</dt>
<dd>
Set the "ident" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "FieldPat:get_pat"></a>
<strong>FieldPat:get_pat ()</strong>
</dt>
<dd>
Return the "pat" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "FieldPat:set_pat"></a>
<strong>FieldPat:set_pat (value)</strong>
</dt>
<dd>
Set the "pat" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "FieldPat:get_is_shorthand"></a>
<strong>FieldPat:get_is_shorthand ()</strong>
</dt>
<dd>
Return the "is_shorthand" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "FieldPat:set_is_shorthand"></a>
<strong>FieldPat:set_is_shorthand (value)</strong>
</dt>
<dd>
Set the "is_shorthand" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "FieldPat:get_attrs"></a>
<strong>FieldPat:get_attrs ()</strong>
</dt>
<dd>
Return the "attrs" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "FieldPat:set_attrs"></a>
<strong>FieldPat:set_attrs (value)</strong>
</dt>
<dd>
Set the "attrs" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "FieldPat:get_span"></a>
<strong>FieldPat:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "FieldPat:set_span"></a>
<strong>FieldPat:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "FieldPat:get_is_placeholder"></a>
<strong>FieldPat:get_is_placeholder ()</strong>
</dt>
<dd>
Return the "is_placeholder" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "FieldPat:set_is_placeholder"></a>
<strong>FieldPat:set_is_placeholder (value)</strong>
</dt>
<dd>
Set the "is_placeholder" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Lit"></a>Class Lit </h2>
<div class="section-description">
Lit AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Lit:get_token"></a>
<strong>Lit:get_token ()</strong>
</dt>
<dd>
Return the "token" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Lit:set_token"></a>
<strong>Lit:set_token (value)</strong>
</dt>
<dd>
Set the "token" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Lit:get_kind"></a>
<strong>Lit:get_kind ()</strong>
</dt>
<dd>
Return the "kind" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Lit:set_kind"></a>
<strong>Lit:set_kind (value)</strong>
</dt>
<dd>
Set the "kind" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Lit:get_span"></a>
<strong>Lit:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Lit:set_span"></a>
<strong>Lit:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Lit:kind_name"></a>
<strong>Lit:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "Lit:children"></a>
<strong>Lit:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "Lit:child"></a>
<strong>Lit:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "Lit:replace_child"></a>
<strong>Lit:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_LitKind"></a>Class LitKind </h2>
<div class="section-description">
LitKind AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "LitKind:kind_name"></a>
<strong>LitKind:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "LitKind:children"></a>
<strong>LitKind:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "LitKind:child"></a>
<strong>LitKind:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "LitKind:replace_child"></a>
<strong>LitKind:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_TokenLit"></a>Class TokenLit </h2>
<div class="section-description">
TokenLit AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "TokenLit:get_kind"></a>
<strong>TokenLit:get_kind ()</strong>
</dt>
<dd>
Return the "kind" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "TokenLit:set_kind"></a>
<strong>TokenLit:set_kind (value)</strong>
</dt>
<dd>
Set the "kind" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "TokenLit:get_symbol"></a>
<strong>TokenLit:get_symbol ()</strong>
</dt>
<dd>
Return the "symbol" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "TokenLit:set_symbol"></a>
<strong>TokenLit:set_symbol (value)</strong>
</dt>
<dd>
Set the "symbol" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "TokenLit:get_suffix"></a>
<strong>TokenLit:get_suffix ()</strong>
</dt>
<dd>
Return the "suffix" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "TokenLit:set_suffix"></a>
<strong>TokenLit:set_suffix (value)</strong>
</dt>
<dd>
Set the "suffix" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "TokenLit:kind_name"></a>
<strong>TokenLit:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "TokenLit:children"></a>
<strong>TokenLit:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "TokenLit:child"></a>
<strong>TokenLit:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "TokenLit:replace_child"></a>
<strong>TokenLit:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_TokenLitKind"></a>Class TokenLitKind </h2>
<div class="section-description">
TokenLitKind AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "TokenLitKind:kind_name"></a>
<strong>TokenLitKind:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "TokenLitKind:children"></a>
<strong>TokenLitKind:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "TokenLitKind:child"></a>
<strong>TokenLitKind:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "TokenLitKind:replace_child"></a>
<strong>TokenLitKind:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Defaultness"></a>Class Defaultness </h2>
<div class="section-description">
Defaultness AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Defaultness:kind_name"></a>
<strong>Defaultness:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "Defaultness:children"></a>
<strong>Defaultness:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "Defaultness:child"></a>
<strong>Defaultness:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "Defaultness:replace_child"></a>
<strong>Defaultness:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Constness"></a>Class Constness </h2>
<div class="section-description">
Constness AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Constness:kind_name"></a>
<strong>Constness:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "Constness:children"></a>
<strong>Constness:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "Constness:child"></a>
<strong>Constness:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "Constness:replace_child"></a>
<strong>Constness:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_ImplPolarity"></a>Class ImplPolarity </h2>
<div class="section-description">
ImplPolarity AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "ImplPolarity:kind_name"></a>
<strong>ImplPolarity:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "ImplPolarity:children"></a>
<strong>ImplPolarity:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "ImplPolarity:child"></a>
<strong>ImplPolarity:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "ImplPolarity:replace_child"></a>
<strong>ImplPolarity:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_IsAuto"></a>Class IsAuto </h2>
<div class="section-description">
IsAuto AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "IsAuto:kind_name"></a>
<strong>IsAuto:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "IsAuto:children"></a>
<strong>IsAuto:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "IsAuto:child"></a>
<strong>IsAuto:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "IsAuto:replace_child"></a>
<strong>IsAuto:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Unsafety"></a>Class Unsafety </h2>
<div class="section-description">
Unsafety AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Unsafety:kind_name"></a>
<strong>Unsafety:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "Unsafety:children"></a>
<strong>Unsafety:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "Unsafety:child"></a>
<strong>Unsafety:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "Unsafety:replace_child"></a>
<strong>Unsafety:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Mutability"></a>Class Mutability </h2>
<div class="section-description">
Mutability AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Mutability:kind_name"></a>
<strong>Mutability:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "Mutability:children"></a>
<strong>Mutability:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "Mutability:child"></a>
<strong>Mutability:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "Mutability:replace_child"></a>
<strong>Mutability:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_RangeEnd"></a>Class RangeEnd </h2>
<div class="section-description">
RangeEnd AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "RangeEnd:kind_name"></a>
<strong>RangeEnd:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "RangeEnd:children"></a>
<strong>RangeEnd:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "RangeEnd:child"></a>
<strong>RangeEnd:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "RangeEnd:replace_child"></a>
<strong>RangeEnd:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_RangeSyntax"></a>Class RangeSyntax </h2>
<div class="section-description">
RangeSyntax AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "RangeSyntax:kind_name"></a>
<strong>RangeSyntax:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "RangeSyntax:children"></a>
<strong>RangeSyntax:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "RangeSyntax:child"></a>
<strong>RangeSyntax:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "RangeSyntax:replace_child"></a>
<strong>RangeSyntax:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_BindingMode"></a>Class BindingMode </h2>
<div class="section-description">
BindingMode AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "BindingMode:kind_name"></a>
<strong>BindingMode:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "BindingMode:children"></a>
<strong>BindingMode:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "BindingMode:child"></a>
<strong>BindingMode:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "BindingMode:replace_child"></a>
<strong>BindingMode:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_CaptureBy"></a>Class CaptureBy </h2>
<div class="section-description">
CaptureBy AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "CaptureBy:kind_name"></a>
<strong>CaptureBy:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "CaptureBy:children"></a>
<strong>CaptureBy:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "CaptureBy:child"></a>
<strong>CaptureBy:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "CaptureBy:replace_child"></a>
<strong>CaptureBy:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_BlockCheckMode"></a>Class BlockCheckMode </h2>
<div class="section-description">
BlockCheckMode AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "BlockCheckMode:kind_name"></a>
<strong>BlockCheckMode:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "BlockCheckMode:children"></a>
<strong>BlockCheckMode:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "BlockCheckMode:child"></a>
<strong>BlockCheckMode:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "BlockCheckMode:replace_child"></a>
<strong>BlockCheckMode:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_UnsafeSource"></a>Class UnsafeSource </h2>
<div class="section-description">
UnsafeSource AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "UnsafeSource:kind_name"></a>
<strong>UnsafeSource:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "UnsafeSource:children"></a>
<strong>UnsafeSource:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "UnsafeSource:child"></a>
<strong>UnsafeSource:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "UnsafeSource:replace_child"></a>
<strong>UnsafeSource:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_StrStyle"></a>Class StrStyle </h2>
<div class="section-description">
StrStyle AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "StrStyle:kind_name"></a>
<strong>StrStyle:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "StrStyle:children"></a>
<strong>StrStyle:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "StrStyle:child"></a>
<strong>StrStyle:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "StrStyle:replace_child"></a>
<strong>StrStyle:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_AsmDialect"></a>Class AsmDialect </h2>
<div class="section-description">
AsmDialect AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "AsmDialect:kind_name"></a>
<strong>AsmDialect:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "AsmDialect:children"></a>
<strong>AsmDialect:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "AsmDialect:child"></a>
<strong>AsmDialect:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "AsmDialect:replace_child"></a>
<strong>AsmDialect:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_RangeLimits"></a>Class RangeLimits </h2>
<div class="section-description">
RangeLimits AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "RangeLimits:kind_name"></a>
<strong>RangeLimits:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "RangeLimits:children"></a>
<strong>RangeLimits:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "RangeLimits:child"></a>
<strong>RangeLimits:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "RangeLimits:replace_child"></a>
<strong>RangeLimits:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Attribute"></a>Class Attribute </h2>
<div class="section-description">
Attribute AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Attribute:get_id"></a>
<strong>Attribute:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Attribute:set_id"></a>
<strong>Attribute:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Attribute:get_style"></a>
<strong>Attribute:get_style ()</strong>
</dt>
<dd>
Return the "style" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Attribute:set_style"></a>
<strong>Attribute:set_style (value)</strong>
</dt>
<dd>
Set the "style" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Attribute:get_item"></a>
<strong>Attribute:get_item ()</strong>
</dt>
<dd>
Return the "item" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Attribute:set_item"></a>
<strong>Attribute:set_item (value)</strong>
</dt>
<dd>
Set the "item" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Attribute:get_is_sugared_doc"></a>
<strong>Attribute:get_is_sugared_doc ()</strong>
</dt>
<dd>
Return the "is<em>sugared</em>doc" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Attribute:set_is_sugared_doc"></a>
<strong>Attribute:set_is_sugared_doc (value)</strong>
</dt>
<dd>
Set the "is<em>sugared</em>doc" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Attribute:get_span"></a>
<strong>Attribute:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Attribute:set_span"></a>
<strong>Attribute:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_AttrItem"></a>Class AttrItem </h2>
<div class="section-description">
AttrItem AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "AttrItem:get_path"></a>
<strong>AttrItem:get_path ()</strong>
</dt>
<dd>
Return the "path" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "AttrItem:set_path"></a>
<strong>AttrItem:set_path (value)</strong>
</dt>
<dd>
Set the "path" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "AttrItem:get_tokens"></a>
<strong>AttrItem:get_tokens ()</strong>
</dt>
<dd>
Return the "tokens" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "AttrItem:set_tokens"></a>
<strong>AttrItem:set_tokens (value)</strong>
</dt>
<dd>
Set the "tokens" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_AttrStyle"></a>Class AttrStyle </h2>
<div class="section-description">
AttrStyle AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "AttrStyle:kind_name"></a>
<strong>AttrStyle:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "AttrStyle:children"></a>
<strong>AttrStyle:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "AttrStyle:child"></a>
<strong>AttrStyle:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "AttrStyle:replace_child"></a>
<strong>AttrStyle:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Path"></a>Class Path </h2>
<div class="section-description">
Path AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Path:get_span"></a>
<strong>Path:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Path:set_span"></a>
<strong>Path:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Path:get_segments"></a>
<strong>Path:get_segments ()</strong>
</dt>
<dd>
Return the "segments" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Path:set_segments"></a>
<strong>Path:set_segments (value)</strong>
</dt>
<dd>
Set the "segments" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_PathSegment"></a>Class PathSegment </h2>
<div class="section-description">
PathSegment AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "PathSegment:get_ident"></a>
<strong>PathSegment:get_ident ()</strong>
</dt>
<dd>
Return the "ident" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "PathSegment:set_ident"></a>
<strong>PathSegment:set_ident (value)</strong>
</dt>
<dd>
Set the "ident" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "PathSegment:get_id"></a>
<strong>PathSegment:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "PathSegment:set_id"></a>
<strong>PathSegment:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "PathSegment:get_args"></a>
<strong>PathSegment:get_args ()</strong>
</dt>
<dd>
Return the "args" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "PathSegment:set_args"></a>
<strong>PathSegment:set_args (value)</strong>
</dt>
<dd>
Set the "args" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_GenericArgs"></a>Class GenericArgs </h2>
<div class="section-description">
GenericArgs AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "GenericArgs:kind_name"></a>
<strong>GenericArgs:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "GenericArgs:children"></a>
<strong>GenericArgs:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "GenericArgs:child"></a>
<strong>GenericArgs:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "GenericArgs:replace_child"></a>
<strong>GenericArgs:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_AngleBracketedArgs"></a>Class AngleBracketedArgs </h2>
<div class="section-description">
AngleBracketedArgs AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "AngleBracketedArgs:get_span"></a>
<strong>AngleBracketedArgs:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "AngleBracketedArgs:set_span"></a>
<strong>AngleBracketedArgs:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "AngleBracketedArgs:get_args"></a>
<strong>AngleBracketedArgs:get_args ()</strong>
</dt>
<dd>
Return the "args" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "AngleBracketedArgs:set_args"></a>
<strong>AngleBracketedArgs:set_args (value)</strong>
</dt>
<dd>
Set the "args" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "AngleBracketedArgs:get_constraints"></a>
<strong>AngleBracketedArgs:get_constraints ()</strong>
</dt>
<dd>
Return the "constraints" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "AngleBracketedArgs:set_constraints"></a>
<strong>AngleBracketedArgs:set_constraints (value)</strong>
</dt>
<dd>
Set the "constraints" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_ParenthesizedArgs"></a>Class ParenthesizedArgs </h2>
<div class="section-description">
ParenthesizedArgs AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "ParenthesizedArgs:get_span"></a>
<strong>ParenthesizedArgs:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "ParenthesizedArgs:set_span"></a>
<strong>ParenthesizedArgs:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "ParenthesizedArgs:get_inputs"></a>
<strong>ParenthesizedArgs:get_inputs ()</strong>
</dt>
<dd>
Return the "inputs" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "ParenthesizedArgs:set_inputs"></a>
<strong>ParenthesizedArgs:set_inputs (value)</strong>
</dt>
<dd>
Set the "inputs" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "ParenthesizedArgs:get_output"></a>
<strong>ParenthesizedArgs:get_output ()</strong>
</dt>
<dd>
Return the "output" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "ParenthesizedArgs:set_output"></a>
<strong>ParenthesizedArgs:set_output (value)</strong>
</dt>
<dd>
Set the "output" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_GenericArg"></a>Class GenericArg </h2>
<div class="section-description">
GenericArg AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "GenericArg:kind_name"></a>
<strong>GenericArg:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "GenericArg:children"></a>
<strong>GenericArg:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "GenericArg:child"></a>
<strong>GenericArg:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "GenericArg:replace_child"></a>
<strong>GenericArg:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_QSelf"></a>Class QSelf </h2>
<div class="section-description">
QSelf AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "QSelf:get_ty"></a>
<strong>QSelf:get_ty ()</strong>
</dt>
<dd>
Return the "ty" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "QSelf:set_ty"></a>
<strong>QSelf:set_ty (value)</strong>
</dt>
<dd>
Set the "ty" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "QSelf:get_path_span"></a>
<strong>QSelf:get_path_span ()</strong>
</dt>
<dd>
Return the "path_span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "QSelf:set_path_span"></a>
<strong>QSelf:set_path_span (value)</strong>
</dt>
<dd>
Set the "path_span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "QSelf:get_position"></a>
<strong>QSelf:get_position ()</strong>
</dt>
<dd>
Return the "position" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "QSelf:set_position"></a>
<strong>QSelf:set_position (value)</strong>
</dt>
<dd>
Set the "position" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_AssocTyConstraint"></a>Class AssocTyConstraint </h2>
<div class="section-description">
AssocTyConstraint AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "AssocTyConstraint:get_id"></a>
<strong>AssocTyConstraint:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "AssocTyConstraint:set_id"></a>
<strong>AssocTyConstraint:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "AssocTyConstraint:get_ident"></a>
<strong>AssocTyConstraint:get_ident ()</strong>
</dt>
<dd>
Return the "ident" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "AssocTyConstraint:set_ident"></a>
<strong>AssocTyConstraint:set_ident (value)</strong>
</dt>
<dd>
Set the "ident" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "AssocTyConstraint:get_kind"></a>
<strong>AssocTyConstraint:get_kind ()</strong>
</dt>
<dd>
Return the "kind" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "AssocTyConstraint:set_kind"></a>
<strong>AssocTyConstraint:set_kind (value)</strong>
</dt>
<dd>
Set the "kind" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "AssocTyConstraint:get_span"></a>
<strong>AssocTyConstraint:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "AssocTyConstraint:set_span"></a>
<strong>AssocTyConstraint:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_AssocTyConstraintKind"></a>Class AssocTyConstraintKind </h2>
<div class="section-description">
AssocTyConstraintKind AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "AssocTyConstraintKind:kind_name"></a>
<strong>AssocTyConstraintKind:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "AssocTyConstraintKind:children"></a>
<strong>AssocTyConstraintKind:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "AssocTyConstraintKind:child"></a>
<strong>AssocTyConstraintKind:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "AssocTyConstraintKind:replace_child"></a>
<strong>AssocTyConstraintKind:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Mac"></a>Class Mac </h2>
<div class="section-description">
Mac AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Mac:get_path"></a>
<strong>Mac:get_path ()</strong>
</dt>
<dd>
Return the "path" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Mac:set_path"></a>
<strong>Mac:set_path (value)</strong>
</dt>
<dd>
Set the "path" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Mac:get_delim"></a>
<strong>Mac:get_delim ()</strong>
</dt>
<dd>
Return the "delim" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Mac:set_delim"></a>
<strong>Mac:set_delim (value)</strong>
</dt>
<dd>
Set the "delim" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Mac:get_tts"></a>
<strong>Mac:get_tts ()</strong>
</dt>
<dd>
Return the "tts" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Mac:set_tts"></a>
<strong>Mac:set_tts (value)</strong>
</dt>
<dd>
Set the "tts" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Mac:get_span"></a>
<strong>Mac:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Mac:set_span"></a>
<strong>Mac:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Mac:get_prior_type_ascription"></a>
<strong>Mac:get_prior_type_ascription ()</strong>
</dt>
<dd>
Return the "prior<em>type</em>ascription" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Mac:set_prior_type_ascription"></a>
<strong>Mac:set_prior_type_ascription (value)</strong>
</dt>
<dd>
Set the "prior<em>type</em>ascription" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_MacStmtStyle"></a>Class MacStmtStyle </h2>
<div class="section-description">
MacStmtStyle AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "MacStmtStyle:kind_name"></a>
<strong>MacStmtStyle:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "MacStmtStyle:children"></a>
<strong>MacStmtStyle:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "MacStmtStyle:child"></a>
<strong>MacStmtStyle:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "MacStmtStyle:replace_child"></a>
<strong>MacStmtStyle:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_MacroDef"></a>Class MacroDef </h2>
<div class="section-description">
MacroDef AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "MacroDef:get_tokens"></a>
<strong>MacroDef:get_tokens ()</strong>
</dt>
<dd>
Return the "tokens" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "MacroDef:set_tokens"></a>
<strong>MacroDef:set_tokens (value)</strong>
</dt>
<dd>
Set the "tokens" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "MacroDef:get_legacy"></a>
<strong>MacroDef:get_legacy ()</strong>
</dt>
<dd>
Return the "legacy" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "MacroDef:set_legacy"></a>
<strong>MacroDef:set_legacy (value)</strong>
</dt>
<dd>
Set the "legacy" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_InlineAsm"></a>Class InlineAsm </h2>
<div class="section-description">
InlineAsm AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "InlineAsm:get_asm"></a>
<strong>InlineAsm:get_asm ()</strong>
</dt>
<dd>
Return the "asm" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "InlineAsm:set_asm"></a>
<strong>InlineAsm:set_asm (value)</strong>
</dt>
<dd>
Set the "asm" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "InlineAsm:get_asm_str_style"></a>
<strong>InlineAsm:get_asm_str_style ()</strong>
</dt>
<dd>
Return the "asm<em>str</em>style" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "InlineAsm:set_asm_str_style"></a>
<strong>InlineAsm:set_asm_str_style (value)</strong>
</dt>
<dd>
Set the "asm<em>str</em>style" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "InlineAsm:get_outputs"></a>
<strong>InlineAsm:get_outputs ()</strong>
</dt>
<dd>
Return the "outputs" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "InlineAsm:set_outputs"></a>
<strong>InlineAsm:set_outputs (value)</strong>
</dt>
<dd>
Set the "outputs" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "InlineAsm:get_inputs"></a>
<strong>InlineAsm:get_inputs ()</strong>
</dt>
<dd>
Return the "inputs" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "InlineAsm:set_inputs"></a>
<strong>InlineAsm:set_inputs (value)</strong>
</dt>
<dd>
Set the "inputs" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "InlineAsm:get_clobbers"></a>
<strong>InlineAsm:get_clobbers ()</strong>
</dt>
<dd>
Return the "clobbers" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "InlineAsm:set_clobbers"></a>
<strong>InlineAsm:set_clobbers (value)</strong>
</dt>
<dd>
Set the "clobbers" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "InlineAsm:get_volatile"></a>
<strong>InlineAsm:get_volatile ()</strong>
</dt>
<dd>
Return the "volatile" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "InlineAsm:set_volatile"></a>
<strong>InlineAsm:set_volatile (value)</strong>
</dt>
<dd>
Set the "volatile" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "InlineAsm:get_alignstack"></a>
<strong>InlineAsm:get_alignstack ()</strong>
</dt>
<dd>
Return the "alignstack" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "InlineAsm:set_alignstack"></a>
<strong>InlineAsm:set_alignstack (value)</strong>
</dt>
<dd>
Set the "alignstack" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "InlineAsm:get_dialect"></a>
<strong>InlineAsm:get_dialect ()</strong>
</dt>
<dd>
Return the "dialect" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "InlineAsm:set_dialect"></a>
<strong>InlineAsm:set_dialect (value)</strong>
</dt>
<dd>
Set the "dialect" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_GlobalAsm"></a>Class GlobalAsm </h2>
<div class="section-description">
GlobalAsm AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "GlobalAsm:get_asm"></a>
<strong>GlobalAsm:get_asm ()</strong>
</dt>
<dd>
Return the "asm" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "GlobalAsm:set_asm"></a>
<strong>GlobalAsm:set_asm (value)</strong>
</dt>
<dd>
Set the "asm" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_InlineAsmOutput"></a>Class InlineAsmOutput </h2>
<div class="section-description">
InlineAsmOutput AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "InlineAsmOutput:get_constraint"></a>
<strong>InlineAsmOutput:get_constraint ()</strong>
</dt>
<dd>
Return the "constraint" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "InlineAsmOutput:set_constraint"></a>
<strong>InlineAsmOutput:set_constraint (value)</strong>
</dt>
<dd>
Set the "constraint" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "InlineAsmOutput:get_expr"></a>
<strong>InlineAsmOutput:get_expr ()</strong>
</dt>
<dd>
Return the "expr" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "InlineAsmOutput:set_expr"></a>
<strong>InlineAsmOutput:set_expr (value)</strong>
</dt>
<dd>
Set the "expr" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "InlineAsmOutput:get_is_rw"></a>
<strong>InlineAsmOutput:get_is_rw ()</strong>
</dt>
<dd>
Return the "is_rw" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "InlineAsmOutput:set_is_rw"></a>
<strong>InlineAsmOutput:set_is_rw (value)</strong>
</dt>
<dd>
Set the "is_rw" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "InlineAsmOutput:get_is_indirect"></a>
<strong>InlineAsmOutput:get_is_indirect ()</strong>
</dt>
<dd>
Return the "is_indirect" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "InlineAsmOutput:set_is_indirect"></a>
<strong>InlineAsmOutput:set_is_indirect (value)</strong>
</dt>
<dd>
Set the "is_indirect" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Label"></a>Class Label </h2>
<div class="section-description">
Label AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Label:get_ident"></a>
<strong>Label:get_ident ()</strong>
</dt>
<dd>
Return the "ident" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Label:set_ident"></a>
<strong>Label:set_ident (value)</strong>
</dt>
<dd>
Set the "ident" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_MacDelimiter"></a>Class MacDelimiter </h2>
<div class="section-description">
MacDelimiter AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "MacDelimiter:kind_name"></a>
<strong>MacDelimiter:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "MacDelimiter:children"></a>
<strong>MacDelimiter:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "MacDelimiter:child"></a>
<strong>MacDelimiter:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "MacDelimiter:replace_child"></a>
<strong>MacDelimiter:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_AnonConst"></a>Class AnonConst </h2>
<div class="section-description">
AnonConst AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "AnonConst:get_id"></a>
<strong>AnonConst:get_id ()</strong>
</dt>
<dd>
Return the "id" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "AnonConst:set_id"></a>
<strong>AnonConst:set_id (value)</strong>
</dt>
<dd>
Set the "id" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "AnonConst:get_value"></a>
<strong>AnonConst:get_value ()</strong>
</dt>
<dd>
Return the "value" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "AnonConst:set_value"></a>
<strong>AnonConst:set_value (value)</strong>
</dt>
<dd>
Set the "value" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Ident"></a>Class Ident </h2>
<div class="section-description">
Ident AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Ident:get_name"></a>
<strong>Ident:get_name ()</strong>
</dt>
<dd>
Return the "name" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Ident:set_name"></a>
<strong>Ident:set_name (value)</strong>
</dt>
<dd>
Set the "name" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Ident:get_span"></a>
<strong>Ident:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Ident:set_span"></a>
<strong>Ident:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Nonterminal"></a>Class Nonterminal </h2>
<div class="section-description">
Nonterminal AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Nonterminal:kind_name"></a>
<strong>Nonterminal:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "Nonterminal:children"></a>
<strong>Nonterminal:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "Nonterminal:child"></a>
<strong>Nonterminal:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "Nonterminal:replace_child"></a>
<strong>Nonterminal:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_TokenTree"></a>Class TokenTree </h2>
<div class="section-description">
TokenTree AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "TokenTree:kind_name"></a>
<strong>TokenTree:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "TokenTree:children"></a>
<strong>TokenTree:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "TokenTree:child"></a>
<strong>TokenTree:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "TokenTree:replace_child"></a>
<strong>TokenTree:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_DelimSpan"></a>Class DelimSpan </h2>
<div class="section-description">
DelimSpan AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "DelimSpan:get_open"></a>
<strong>DelimSpan:get_open ()</strong>
</dt>
<dd>
Return the "open" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "DelimSpan:set_open"></a>
<strong>DelimSpan:set_open (value)</strong>
</dt>
<dd>
Set the "open" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "DelimSpan:get_close"></a>
<strong>DelimSpan:get_close ()</strong>
</dt>
<dd>
Return the "close" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "DelimSpan:set_close"></a>
<strong>DelimSpan:set_close (value)</strong>
</dt>
<dd>
Set the "close" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_DelimToken"></a>Class DelimToken </h2>
<div class="section-description">
DelimToken AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "DelimToken:kind_name"></a>
<strong>DelimToken:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "DelimToken:children"></a>
<strong>DelimToken:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "DelimToken:child"></a>
<strong>DelimToken:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "DelimToken:replace_child"></a>
<strong>DelimToken:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Token"></a>Class Token </h2>
<div class="section-description">
Token AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "Token:get_kind"></a>
<strong>Token:get_kind ()</strong>
</dt>
<dd>
Return the "kind" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Token:set_kind"></a>
<strong>Token:set_kind (value)</strong>
</dt>
<dd>
Set the "kind" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Token:get_span"></a>
<strong>Token:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "Token:set_span"></a>
<strong>Token:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "Token:kind_name"></a>
<strong>Token:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "Token:children"></a>
<strong>Token:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "Token:child"></a>
<strong>Token:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "Token:replace_child"></a>
<strong>Token:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_TokenKind"></a>Class TokenKind </h2>
<div class="section-description">
TokenKind AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "TokenKind:kind_name"></a>
<strong>TokenKind:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "TokenKind:children"></a>
<strong>TokenKind:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "TokenKind:child"></a>
<strong>TokenKind:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "TokenKind:replace_child"></a>
<strong>TokenKind:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_BinOpToken"></a>Class BinOpToken </h2>
<div class="section-description">
BinOpToken AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "BinOpToken:kind_name"></a>
<strong>BinOpToken:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "BinOpToken:children"></a>
<strong>BinOpToken:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "BinOpToken:child"></a>
<strong>BinOpToken:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "BinOpToken:replace_child"></a>
<strong>BinOpToken:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_MetaItem"></a>Class MetaItem </h2>
<div class="section-description">
MetaItem AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "MetaItem:get_path"></a>
<strong>MetaItem:get_path ()</strong>
</dt>
<dd>
Return the "path" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "MetaItem:set_path"></a>
<strong>MetaItem:set_path (value)</strong>
</dt>
<dd>
Set the "path" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "MetaItem:get_kind"></a>
<strong>MetaItem:get_kind ()</strong>
</dt>
<dd>
Return the "kind" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "MetaItem:set_kind"></a>
<strong>MetaItem:set_kind (value)</strong>
</dt>
<dd>
Set the "kind" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "MetaItem:get_span"></a>
<strong>MetaItem:get_span ()</strong>
</dt>
<dd>
Return the "span" field of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the field
</ol>
</dd>
<dt>
<a name = "MetaItem:set_span"></a>
<strong>MetaItem:set_span (value)</strong>
</dt>
<dd>
Set the "span" field of the current node to a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
<dt>
<a name = "MetaItem:kind_name"></a>
<strong>MetaItem:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "MetaItem:children"></a>
<strong>MetaItem:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "MetaItem:child"></a>
<strong>MetaItem:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "MetaItem:replace_child"></a>
<strong>MetaItem:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_MetaItemKind"></a>Class MetaItemKind </h2>
<div class="section-description">
MetaItemKind AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "MetaItemKind:kind_name"></a>
<strong>MetaItemKind:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "MetaItemKind:children"></a>
<strong>MetaItemKind:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "MetaItemKind:child"></a>
<strong>MetaItemKind:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "MetaItemKind:replace_child"></a>
<strong>MetaItemKind:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_NestedMetaItem"></a>Class NestedMetaItem </h2>
<div class="section-description">
NestedMetaItem AST node handle
This object is NOT thread-safe. Do not use an object of this class from a
thread that did not acquire it.
</div>
<dl class="function">
<dt>
<a name = "NestedMetaItem:kind_name"></a>
<strong>NestedMetaItem:kind_name ()</strong>
</dt>
<dd>
Return the kind of the current node as a string
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
string representation of the kind
</ol>
</dd>
<dt>
<a name = "NestedMetaItem:children"></a>
<strong>NestedMetaItem:children ()</strong>
</dt>
<dd>
Return the children of the current node
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Vec<LuaAstNode></span></span>
array containing the children
</ol>
</dd>
<dt>
<a name = "NestedMetaItem:child"></a>
<strong>NestedMetaItem:child (idx)</strong>
</dt>
<dd>
Return a copy of the given child
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">LuaAstNode</span></span>
the child
</ol>
</dd>
<dt>
<a name = "NestedMetaItem:replace_child"></a>
<strong>NestedMetaItem:replace_child (idx, value)</strong>
</dt>
<dd>
Replace a child of the current node with a new value
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">idx</span>
the index of the child. Can be an integer or a string
</li>
<li><span class="parameter">value</span>
the replacement value. Can be a LuaAstNode or a direct Lua representation
</li>
</ul>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_LuaTy"></a>Class LuaTy </h2>
<div class="section-description">
Lua encoding of a <code>Ty<'tcx></code> type.
</div>
<dl class="function">
<dt>
<a name = "LuaTy:kind_name"></a>
<strong>LuaTy:kind_name ()</strong>
</dt>
<dd>
Return the kind of this type
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.3/manual.html#6.4">string</a></span>
the kind as a string
</ol>
</dd>
</dl>
</div>
</div>
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
<i style="float:right;">Last updated 2019-11-08 18:49:10 </i>
</div>
</div>
</body>
</html>