Library
core
modules
Core Src Parser Std Rules Figstruct

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

NameType
figStructFigStruct
indentTextsstring[]

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

NameType
figFig
indentTextsstring[]

Returns

Line[]

Defined in

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