Lawtext core references • Docs
Lawtext core references / core/src/parser/std/rules/$mainProvision
core/src/parser/std/rules/$mainProvision
References
default
Renames and re-exports $mainProvision
Variables
$mainProvision
const
$mainProvision:WithErrorRule
<MainProvision
>
The parser rule for std.MainProvision. Please see the source code for the detailed syntax, and the test code (opens in a new tab) for examples.
Defined in
core/src/parser/std/rules/$mainProvision.ts:117 (opens in a new tab)
Functions
mainProvisionToLines()
mainProvisionToLines(
mainProvision
,indentTexts
):Line
[]
The renderer for std.MainProvision. Please see the source code for the detailed syntax, and the test code (opens in a new tab) for examples.
Parameters
• mainProvision: MainProvision
• indentTexts: string
[]
Returns
Line
[]
Defined in
core/src/parser/std/rules/$mainProvision.ts:18 (opens in a new tab)