Lawtext core references / core/src/parser/std/rules/$tableStruct
core/src/parser/std/rules/$tableStruct
Variables
$tableStruct
const$tableStruct:WithErrorRule<TableStruct>
Defined in: core/src/parser/std/rules/$tableStruct.ts:476 (opens in a new tab)
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.
Functions
tableStructToLines()
tableStructToLines(
tableStruct,indentTexts,options?):Line[]
Defined in: core/src/parser/std/rules/$tableStruct.ts:120 (opens in a new tab)
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
tableStruct
indentTexts
string[]
options?
tableStructToLinesOptions
Returns
Line[]
tableToLines()
tableToLines(
table,indentTexts):Line[]
Defined in: core/src/parser/std/rules/$tableStruct.ts:28 (opens in a new tab)
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
table
indentTexts
string[]
Returns
Line[]
References
default
Renames and re-exports $tableStruct