Library
core
src
parser
cst
rules
$squareAttr
Readme

Lawtext core references


Lawtext core references / core/src/parser/cst/rules/$squareAttr

core/src/parser/cst/rules/$squareAttr

Variables

$squareAttr

const $squareAttr: WithErrorRule<AttrEntry>

Defined in: core/src/parser/cst/rules/$squareAttr.ts:35 (opens in a new tab)

Functions

makeSquareAttrRule()

makeSquareAttrRule(lazyNameRule): WithErrorRule<AttrEntry>

Defined in: core/src/parser/cst/rules/$squareAttr.ts:5 (opens in a new tab)

Parameters

lazyNameRule

(f) => ValueRule<string>

Returns

WithErrorRule<AttrEntry>

References

default

Renames and re-exports $squareAttr