Lawtext core references / core/src/parser/std/rules/$mainProvision
Module: core/src/parser/std/rules/$mainProvision
Table of contents
References
Variables
Functions
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:115 (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
Name | Type |
---|---|
mainProvision | MainProvision |
indentTexts | string [] |
Returns
Line
[]
Defined in
core/src/parser/std/rules/$mainProvision.ts:16 (opens in a new tab)