Lawtext core references / core/src/parser/std/rules/$figStruct
core/src/parser/std/rules/$figStruct
Variables
$fig
const$fig:WithErrorRule<Fig>
Defined in: core/src/parser/std/rules/$figStruct.ts:101 (opens in a new tab)
The parser rule for std.Fig. Please see the source code for the detailed syntax, and the test code (opens in a new tab) for examples.
$figStruct
const$figStruct:WithErrorRule<FigStruct>
Defined in: core/src/parser/std/rules/$figStruct.ts:149 (opens in a new tab)
The parser rule for std.FigStruct. Please see the source code for the detailed syntax, and the test code (opens in a new tab) for examples.
figStructControl
constfigStructControl:":fig-struct:"=":fig-struct:"
Defined in: core/src/parser/std/rules/$figStruct.ts:16 (opens in a new tab)
Functions
figStructToLines()
figStructToLines(
figStruct,indentTexts):Line[]
Defined in: core/src/parser/std/rules/$figStruct.ts:45 (opens in a new tab)
The renderer for std.FigStruct. Please see the source code for the detailed syntax, and the test code (opens in a new tab) for examples.
Parameters
figStruct
indentTexts
string[]
Returns
Line[]
figToLines()
figToLines(
fig,indentTexts):Line[]
Defined in: core/src/parser/std/rules/$figStruct.ts:21 (opens in a new tab)
The renderer for std.Fig. Please see the source code for the detailed syntax, and the test code (opens in a new tab) for examples.
Parameters
fig
indentTexts
string[]
Returns
Line[]
References
default
Renames and re-exports $figStruct