Lawtext core references / core/src/parser/cst/rules/$sentenceChildren
core/src/parser/cst/rules/$sentenceChildren
Variables
$charRef
const$charRef:Rule<string, {errors:never[];value:__Text; },Env,Omit<Env&Omit<Env&Empty&object, keyofEnv>, keyofEnv>>
Defined in: core/src/parser/cst/rules/$sentenceChildren.ts:104 (opens in a new tab)
$CURLY_BRACKETS_INLINE
const$CURLY_BRACKETS_INLINE:WithErrorRule<__Parentheses>
Defined in: core/src/parser/cst/rules/$sentenceChildren.ts:651 (opens in a new tab)
$MISMATCH_END_PARENTHESIS
const$MISMATCH_END_PARENTHESIS:WithErrorRule<__EL>
Defined in: core/src/parser/cst/rules/$sentenceChildren.ts:373 (opens in a new tab)
$MISMATCH_START_PARENTHESIS
const$MISMATCH_START_PARENTHESIS:WithErrorRule<__EL>
Defined in: core/src/parser/cst/rules/$sentenceChildren.ts:354 (opens in a new tab)
$OUTSIDE_PARENTHESES_INLINE_EXCLUDE_TRAILING_SPACES
const$OUTSIDE_PARENTHESES_INLINE_EXCLUDE_TRAILING_SPACES:WithErrorRule<SentenceChildEL[]>
Defined in: core/src/parser/cst/rules/$sentenceChildren.ts:311 (opens in a new tab)
$OUTSIDE_PARENTHESES_INLINE_EXCLUDE_TRAILING_SPACES_WITHOUT_TOPLEVEL_INLINE_TOKEN
const$OUTSIDE_PARENTHESES_INLINE_EXCLUDE_TRAILING_SPACES_WITHOUT_TOPLEVEL_INLINE_TOKEN:WithErrorRule<SentenceChildEL[]>
Defined in: core/src/parser/cst/rules/$sentenceChildren.ts:234 (opens in a new tab)
$PERIOD_SENTENCE_FRAGMENT
const$PERIOD_SENTENCE_FRAGMENT:WithErrorRule<SentenceChildEL[]>
Defined in: core/src/parser/cst/rules/$sentenceChildren.ts:168 (opens in a new tab)
$ROUND_PARENTHESES_INLINE
const$ROUND_PARENTHESES_INLINE:WithErrorRule<__Parentheses>
Defined in: core/src/parser/cst/rules/$sentenceChildren.ts:637 (opens in a new tab)
$sentenceChildren
const$sentenceChildren:WithErrorRule<SentenceChildEL[]>
Defined in: core/src/parser/cst/rules/$sentenceChildren.ts:54 (opens in a new tab)
$sentenceChildrenWithoutToplevelInlineToken
const$sentenceChildrenWithoutToplevelInlineToken:WithErrorRule<SentenceChildEL[]>
Defined in: core/src/parser/cst/rules/$sentenceChildren.ts:77 (opens in a new tab)
$SQUARE_BRACKETS_INLINE
const$SQUARE_BRACKETS_INLINE:WithErrorRule<__Parentheses>
Defined in: core/src/parser/cst/rules/$sentenceChildren.ts:644 (opens in a new tab)
$SQUARE_PARENTHESES_INLINE
const$SQUARE_PARENTHESES_INLINE:WithErrorRule<__Parentheses>
Defined in: core/src/parser/cst/rules/$sentenceChildren.ts:659 (opens in a new tab)
ANY_PARENTHESES_INLINE
constANY_PARENTHESES_INLINE:WithErrorRule<SentenceChildEL>
Defined in: core/src/parser/cst/rules/$sentenceChildren.ts:392 (opens in a new tab)
Functions
makeParenthesesInline()
makeParenthesesInline(
parenthesisType,startPtn,endPtn):WithErrorRule<__Parentheses>
Defined in: core/src/parser/cst/rules/$sentenceChildren.ts:525 (opens in a new tab)
Parameters
parenthesisType
"round" | "square" | "curly" | "squareb"
startPtn
RegExp
endPtn
RegExp
Returns
makeReOutsideParenthesesTextChars()
makeReOutsideParenthesesTextChars(
stopChars):RegExp
Defined in: core/src/parser/cst/rules/$sentenceChildren.ts:263 (opens in a new tab)
Parameters
stopChars
string
Returns
RegExp
makeReParenthesesInlineTextChars()
makeReParenthesesInlineTextChars(
stopChars):RegExp
Defined in: core/src/parser/cst/rules/$sentenceChildren.ts:432 (opens in a new tab)
Parameters
stopChars
string
Returns
RegExp
makeRePeriodSentenceTextChars()
makeRePeriodSentenceTextChars(
stopChars):RegExp
Defined in: core/src/parser/cst/rules/$sentenceChildren.ts:120 (opens in a new tab)
Parameters
stopChars
string
Returns
RegExp
sentenceChildrenToString()
sentenceChildrenToString(
els):string
Defined in: core/src/parser/cst/rules/$sentenceChildren.ts:22 (opens in a new tab)
Parameters
els
(string | SentenceChildEL)[]
Returns
string
References
default
Renames and re-exports $sentenceChildren