Library
core
modules
Core Src Parser Std Rules Arithformula

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

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

Table of contents

References

Variables

Functions

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:51 (opens in a new tab)


arithFormulaControl

Const arithFormulaControl: ":arith-formula:"

Defined in

core/src/parser/std/rules/$arithFormula.ts:12 (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

NameType
arithFormulaArithFormula
indentTextsstring[]

Returns

Line[]

Defined in

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