Lawtext core references • Docs
Lawtext core references / core/src/parser/cst/rules/$sentenceChildren
core/src/parser/cst/rules/$sentenceChildren
References
default
Renames and re-exports $sentenceChildren
Variables
$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)
$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)
$charRef
const
$charRef:Rule
<string
,object
,Env
,Omit
<Env
&Omit
<Env
&Empty
&object
, keyofEnv
>, keyofEnv
>>
Defined in
core/src/parser/cst/rules/$sentenceChildren.ts:104 (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)
ANY_PARENTHESES_INLINE
const
ANY_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
>
Parameters
• parenthesisType: "round"
| "square"
| "curly"
| "squareb"
• startPtn: RegExp
• endPtn: RegExp
Returns
Defined in
core/src/parser/cst/rules/$sentenceChildren.ts:525 (opens in a new tab)
makeReOutsideParenthesesTextChars()
makeReOutsideParenthesesTextChars(
stopChars
):RegExp
Parameters
• stopChars: string
Returns
RegExp
Defined in
core/src/parser/cst/rules/$sentenceChildren.ts:263 (opens in a new tab)
makeReParenthesesInlineTextChars()
makeReParenthesesInlineTextChars(
stopChars
):RegExp
Parameters
• stopChars: string
Returns
RegExp
Defined in
core/src/parser/cst/rules/$sentenceChildren.ts:432 (opens in a new tab)
makeRePeriodSentenceTextChars()
makeRePeriodSentenceTextChars(
stopChars
):RegExp
Parameters
• stopChars: string
Returns
RegExp
Defined in
core/src/parser/cst/rules/$sentenceChildren.ts:120 (opens in a new tab)
sentenceChildrenToString()
sentenceChildrenToString(
els
):string
Parameters
• els: (string
| SentenceChildEL
)[]
Returns
string
Defined in
core/src/parser/cst/rules/$sentenceChildren.ts:22 (opens in a new tab)