Lawtext core references / core/src/parser/std/rules/$figStruct
Module: core/src/parser/std/rules/$figStruct
Table of contents
References
Variables
Functions
References
default
Renames and re-exports $figStruct
Variables
$fig
• Const
$fig: WithErrorRule
<Fig
>
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.
Defined in
core/src/parser/std/rules/$figStruct.ts:99 (opens in a new tab)
$figStruct
• Const
$figStruct: WithErrorRule
<FigStruct
>
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.
Defined in
core/src/parser/std/rules/$figStruct.ts:147 (opens in a new tab)
figStructControl
• Const
figStructControl: ":fig-struct:"
Defined in
core/src/parser/std/rules/$figStruct.ts:14 (opens in a new tab)
Functions
figStructToLines
▸ figStructToLines(figStruct
, indentTexts
): Line
[]
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
Name | Type |
---|---|
figStruct | FigStruct |
indentTexts | string [] |
Returns
Line
[]
Defined in
core/src/parser/std/rules/$figStruct.ts:43 (opens in a new tab)
figToLines
▸ figToLines(fig
, indentTexts
): Line
[]
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
Name | Type |
---|---|
fig | Fig |
indentTexts | string [] |
Returns
Line
[]
Defined in
core/src/parser/std/rules/$figStruct.ts:19 (opens in a new tab)