Library
core
src
parser
cst
rules
$appdxItemHeadLine
Readme

Lawtext core references


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

core/src/parser/cst/rules/$appdxItemHeadLine

Variables

$appdxItemHeadLine

const $appdxItemHeadLine: WithErrorRule<AppdxItemHeadLine>

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

The parser rule for AppdxItemHeadLine that represents a head line of an appended item such as an appended table. Please see the source code for the detailed syntax, and the test code (opens in a new tab) for examples.


appdxItemTitlePtns

const appdxItemTitlePtns: readonly [readonly ["AppdxFig", RegExp], readonly ["AppdxStyle", RegExp], readonly ["AppdxFormat", RegExp], readonly ["AppdxTable", RegExp], readonly ["AppdxNote", RegExp], readonly ["Appdx", RegExp]]

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

Functions

detectAppdxItemTitle()

detectAppdxItemTitle(text): null | "AppdxTable" | "AppdxNote" | "AppdxStyle" | "AppdxFormat" | "Appdx" | "AppdxFig"

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

Parameters

text

string

Returns

null | "AppdxTable" | "AppdxNote" | "AppdxStyle" | "AppdxFormat" | "Appdx" | "AppdxFig"

References

default

Renames and re-exports $appdxItemHeadLine