Lawtext core references • Docs
Lawtext core references / core/src/parser/cst/rules/$appdxItemHeadLine
core/src/parser/cst/rules/$appdxItemHeadLine
References
default
Renames and re-exports $appdxItemHeadLine
Variables
$appdxItemHeadLine
const
$appdxItemHeadLine:WithErrorRule
<AppdxItemHeadLine
>
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.
Defined in
core/src/parser/cst/rules/$appdxItemHeadLine.ts:39 (opens in a new tab)
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"
Parameters
• text: string
Returns
null
| "AppdxTable"
| "AppdxNote"
| "AppdxStyle"
| "AppdxFormat"
| "Appdx"
| "AppdxFig"
Defined in
core/src/parser/cst/rules/$appdxItemHeadLine.ts:27 (opens in a new tab)