Library
core
src
parser
std
rules
$arithFormula
Readme

Lawtext core referencesDocs


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

core/src/parser/std/rules/$arithFormula

References

default

Renames and re-exports $arithFormula

Variables

$arithFormula

const $arithFormula: WithErrorRule<ArithFormula>

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


arithFormulaControl

const arithFormulaControl: ":arith-formula:" = ":arith-formula:"

Defined in

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

Functions

arithFormulaToLines()

arithFormulaToLines(arithFormula, indentTexts): Line[]

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

Parameters

arithFormula: ArithFormula

indentTexts: string[]

Returns

Line[]

Defined in

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