Library
core
src
parser
std
rules
$figStruct
Readme

Lawtext core referencesDocs


Lawtext core references / core/src/parser/std/rules/$figStruct

core/src/parser/std/rules/$figStruct

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:101 (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:149 (opens in a new tab)


figStructControl

const figStructControl: ":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[]

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: FigStruct

indentTexts: string[]

Returns

Line[]

Defined in

core/src/parser/std/rules/$figStruct.ts:45 (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

fig: Fig

indentTexts: string[]

Returns

Line[]

Defined in

core/src/parser/std/rules/$figStruct.ts:21 (opens in a new tab)