Library
core
src
node
container
sentenceEnv
Readme

Lawtext core referencesDocs


Lawtext core references / core/src/node/container/sentenceEnv

core/src/node/container/sentenceEnv

Index

Classes

Interfaces

Type Aliases

PointerLike

PointerLike: PointerEnv | ____LawRef | [____VarRef, ____LawRef]

Defined in

core/src/node/container/sentenceEnv.ts:371 (opens in a new tab)


SentenceLike

SentenceLike: Sentence | EnactStatement | TableHeaderColumn

Defined in

core/src/node/container/sentenceEnv.ts:352 (opens in a new tab)


SentenceText

SentenceText: Ruby | QuoteStruct | ArithFormula | Sub | Sup | Line | __Text | __PStart | __PEnd | __MismatchStartParenthesis | __MismatchEndParenthesis | ____Pointer | ____LawNum | ____Declaration | ____VarRef

Defined in

core/src/node/container/sentenceEnv.ts:290 (opens in a new tab)

Variables

sentenceLikeTags

const sentenceLikeTags: readonly ["Sentence", "EnactStatement", "TableHeaderColumn"]

Defined in

core/src/node/container/sentenceEnv.ts:358 (opens in a new tab)


sentenceTextTags

const sentenceTextTags: readonly ["Ruby", "QuoteStruct", "ArithFormula", "Sub", "Sup", "Line", "__Text", "__PStart", "__PEnd", "__MismatchStartParenthesis", "__MismatchEndParenthesis", "____Pointer", "____LawNum", "____Declaration", "____VarRef"]

Defined in

core/src/node/container/sentenceEnv.ts:272 (opens in a new tab)

Functions

enumerateSentenceTexts()

enumerateSentenceTexts(el): Iterable<SentenceText>

Parameters

el: EL

Returns

Iterable<SentenceText>

Defined in

core/src/node/container/sentenceEnv.ts:327 (opens in a new tab)


isSentenceLike()

isSentenceLike(el): el is SentenceLike

Parameters

el: string | EL

Returns

el is SentenceLike

Defined in

core/src/node/container/sentenceEnv.ts:360 (opens in a new tab)


isSentenceText()

isSentenceText(el): el is SentenceText

Parameters

el: string | EL

Returns

el is SentenceText

Defined in

core/src/node/container/sentenceEnv.ts:308 (opens in a new tab)


setTextControl()

setTextControl(el): void

Parameters

el: EL

Returns

void

Defined in

core/src/node/container/sentenceEnv.ts:338 (opens in a new tab)


textOfSentenceText()

textOfSentenceText(el): string

Parameters

el: SentenceText

Returns

string

Defined in

core/src/node/container/sentenceEnv.ts:311 (opens in a new tab)


toSentenceTextRanges()

toSentenceTextRanges(origRangeInfos, sentenceEnvsStruct, following?): SentenceTextRange[]

Parameters

origRangeInfos: null | readonly RangeInfo[]

sentenceEnvsStruct: SentenceEnvsStruct

following?: null | SentenceTextPos

Returns

SentenceTextRange[]

Defined in

core/src/node/container/sentenceEnv.ts:166 (opens in a new tab)