Library
core
modules
Core Src Parser Std Rules Tablestruct

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

Module: core/src/parser/std/rules/$tableStruct

Table of contents

References

Variables

Functions

References

default

Renames and re-exports $tableStruct

Variables

$tableStruct

Const $tableStruct: WithErrorRule<TableStruct>

The parser rule for std.TableStruct. 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/$tableStruct.ts:474 (opens in a new tab)

Functions

tableStructToLines

tableStructToLines(tableStruct, indentTexts, options?): Line[]

The renderer for std.TableStruct. Please see the source code for the detailed syntax, and the test code (opens in a new tab) for examples.

Parameters

NameType
tableStructTableStruct
indentTextsstring[]
options?tableStructToLinesOptions

Returns

Line[]

Defined in

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


tableToLines

tableToLines(table, indentTexts): Line[]

The renderer for std.Table. Please see the source code for the detailed syntax, and the test code (opens in a new tab) for examples.

Parameters

NameType
tableTable
indentTextsstring[]

Returns

Line[]

Defined in

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