Lawtext core references / core/src/parser/cst/rules/$sentenceChildren
Module: core/src/parser/cst/rules/$sentenceChildren
Table of contents
References
Variables
- $CURLY_BRACKETS_INLINE
- $MISMATCH_END_PARENTHESIS
- $MISMATCH_START_PARENTHESIS
- $OUTSIDE_PARENTHESES_INLINE_EXCLUDE_TRAILING_SPACES
- $OUTSIDE_PARENTHESES_INLINE_EXCLUDE_TRAILING_SPACES_WITHOUT_TOPLEVEL_INLINE_TOKEN
- $PERIOD_SENTENCE_FRAGMENT
- $ROUND_PARENTHESES_INLINE
- $SQUARE_BRACKETS_INLINE
- $SQUARE_PARENTHESES_INLINE
- $inlineToken
- $sentenceChildren
- $sentenceChildrenWithoutToplevelInlineToken
- ANY_PARENTHESES_INLINE
Functions
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:480 (opens in a new tab)
$MISMATCH_END_PARENTHESIS
• Const
$MISMATCH_END_PARENTHESIS: WithErrorRule
<__EL
>
Defined in
core/src/parser/cst/rules/$sentenceChildren.ts:294 (opens in a new tab)
$MISMATCH_START_PARENTHESIS
• Const
$MISMATCH_START_PARENTHESIS: WithErrorRule
<__EL
>
Defined in
core/src/parser/cst/rules/$sentenceChildren.ts:275 (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:233 (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:202 (opens in a new tab)
$PERIOD_SENTENCE_FRAGMENT
• Const
$PERIOD_SENTENCE_FRAGMENT: WithErrorRule
<SentenceChildEL
[]>
Defined in
core/src/parser/cst/rules/$sentenceChildren.ts:136 (opens in a new tab)
$ROUND_PARENTHESES_INLINE
• Const
$ROUND_PARENTHESES_INLINE: WithErrorRule
<__Parentheses
>
Defined in
core/src/parser/cst/rules/$sentenceChildren.ts:466 (opens in a new tab)
$SQUARE_BRACKETS_INLINE
• Const
$SQUARE_BRACKETS_INLINE: WithErrorRule
<__Parentheses
>
Defined in
core/src/parser/cst/rules/$sentenceChildren.ts:473 (opens in a new tab)
$SQUARE_PARENTHESES_INLINE
• Const
$SQUARE_PARENTHESES_INLINE: WithErrorRule
<__Parentheses
>
Defined in
core/src/parser/cst/rules/$sentenceChildren.ts:488 (opens in a new tab)
$inlineToken
• Const
$inlineToken: Rule
<string
, { errors
: never
[] = []; value
: __Text
} | { errors
: never
[] = []; value
: __Text
} | { errors
: never
[] = []; value
: ____LawNum
} | { errors
: ErrorMessage
[] ; value
: ____PointerRanges
}, Env
, Empty
>
Defined in
core/src/parser/cst/rules/$sentenceChildren.ts:101 (opens in a new tab)
$sentenceChildren
• Const
$sentenceChildren: WithErrorRule
<SentenceChildEL
[]>
Defined in
core/src/parser/cst/rules/$sentenceChildren.ts:49 (opens in a new tab)
$sentenceChildrenWithoutToplevelInlineToken
• Const
$sentenceChildrenWithoutToplevelInlineToken: WithErrorRule
<SentenceChildEL
[]>
Defined in
core/src/parser/cst/rules/$sentenceChildren.ts:72 (opens in a new tab)
ANY_PARENTHESES_INLINE
• Const
ANY_PARENTHESES_INLINE: WithErrorRule
<SentenceChildEL
>
Defined in
core/src/parser/cst/rules/$sentenceChildren.ts:313 (opens in a new tab)
Functions
makeParenthesesInline
▸ makeParenthesesInline(parenthesisType
, startPtn
, endPtn
): WithErrorRule
<__Parentheses
>
Parameters
Name | Type |
---|---|
parenthesisType | "round" | "square" | "curly" | "squareb" |
startPtn | RegExp |
endPtn | RegExp |
Returns
Defined in
core/src/parser/cst/rules/$sentenceChildren.ts:355 (opens in a new tab)
sentenceChildrenToString
▸ sentenceChildrenToString(els
): string
Parameters
Name | Type |
---|---|
els | (string | SentenceChildEL )[] |
Returns
string
Defined in
core/src/parser/cst/rules/$sentenceChildren.ts:17 (opens in a new tab)