Library
core
modules
Core Src Parser Cst Rules Appdxitemheadline

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

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

Table of contents

References

Variables

Functions

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

Functions

detectAppdxItemTitle

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

Parameters

NameType
textstring

Returns

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

Defined in

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