Skip to main content

Module lua

Module lua 

Source
Expand description

Lua’s role rows. The Halstead keyword roles (#1693), the paying-construct roles — Comparison, ShortCircuit, EagerLogical, Ternary, CaseArm, Guard, NullSafe (#1694, #1695) — the space tree (#1696) and the control flow — Branch, Switch, Loop, Catch, ElseIf, Exit (#1697) — and the documentation rows (#1699) are declared.

Modules§

branch
This language’s Branch row.
call
This language’s Call row.
case_arm
This language’s CaseArm row.
catch
This language’s Catch row.
closure
This language’s Closure row.
comment
This language’s Comment row.
comparison
This language’s Comparison row.
container
This language’s Container row.
decl_keyword
This language’s DeclKeyword row.
doc_body_residual
This language’s DocBodyResidual row.
doc_comment
This language’s DocComment row.
doc_run_directive
This language’s DocRunDirective row.
doc_run_opener
This language’s DocRunOpener row.
doc_target
This language’s DocTarget row.
docstring
This language’s Docstring row.
eager_logical
This language’s EagerLogical row.
else_if
This language’s ElseIf row.
exit
This language’s Exit row.
func_opener
This language’s FuncOpener row.
guard
This language’s Guard row.
loop
This language’s Loop row.
member
This language’s Member row.
modifier
This language’s Modifier row.
null_safe
This language’s NullSafe row.
primitive
This language’s Primitive row.
short_circuit
This language’s ShortCircuit row.
string_lit
This language’s StringLit row.
switch
This language’s Switch row.
ternary
This language’s Ternary row.

Functions§

opens_space
The SpaceKind node opens, folded over every opens annotation in this table; Unknown when it opens none. This is the one gated scan of the space-opening rows: a consumer that needs both “does it open a space” and “which kind” calls this once and tests for Unknown, rather than paying each owner’s gate twice through owns and here.