Skip to Content

Lawtext core references


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

core/src/parser/std/rules/$preamble

Variables

$preamble

const $preamble: WithErrorRule<Preamble>

Defined in: core/src/parser/std/rules/$preamble.ts:68 

The parser rule for std.Preamble. Please see the source code for the detailed syntax, and the test code  for examples.


preambleControl

const preambleControl: ":preamble:" = ":preamble:"

Defined in: core/src/parser/std/rules/$preamble.ts:14 

Functions

preambleToLines()

preambleToLines(preamble, indentTexts): Line[]

Defined in: core/src/parser/std/rules/$preamble.ts:19 

The renderer for std.Preamble. Please see the source code for the detailed syntax, and the test code  for examples.

Parameters

preamble

Preamble

indentTexts

string[]

Returns

Line[]

References

default

Renames and re-exports $preamble

© 2017-2026 yamachi