Library
core
modules
Core Src Node Container Sentenceenv

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

Module: core/src/node/container/sentenceEnv

Table of contents

Classes

Interfaces

Type Aliases

Variables

Functions

Type Aliases

SentenceLike

Ƭ SentenceLike: Sentence

Defined in

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


SentenceText

Ƭ SentenceText: Ruby | QuoteStruct | __Text | __PStart | __PEnd | __MismatchStartParenthesis | __MismatchEndParenthesis | ____Pointer | ____LawNum | ____Declaration | ____VarRef

Defined in

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

Variables

sentenceLikeTags

Const sentenceLikeTags: readonly ["Sentence"]

Defined in

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


sentenceTextTags

Const sentenceTextTags: readonly ["Ruby", "QuoteStruct", "__Text", "__PStart", "__PEnd", "__MismatchStartParenthesis", "__MismatchEndParenthesis", "____Pointer", "____LawNum", "____Declaration", "____VarRef"]

Defined in

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

Functions

enumerateSentenceTexts

enumerateSentenceTexts(el): Iterable<SentenceText>

Parameters

NameType
elEL

Returns

Iterable<SentenceText>

Defined in

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


isSentenceLike

isSentenceLike(el): el is Sentence

Parameters

NameType
elstring | EL

Returns

el is Sentence

Defined in

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


isSentenceText

isSentenceText(el): el is SentenceText

Parameters

NameType
elstring | EL

Returns

el is SentenceText

Defined in

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


textOfSentenceText

textOfSentenceText(el): string

Parameters

NameType
elSentenceText

Returns

string

Defined in

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


toSentenceTextRanges

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

Parameters

NameType
origRangeInfosnull | readonly RangeInfo[]
sentenceEnvsStructSentenceEnvsStruct
following?null | SentenceTextPos

Returns

SentenceTextRange[]

Defined in

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