Library
core
classes
Core Src Node Container Sentenceenv.sentenceenv

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

Class: SentenceEnv

core/src/node/container/sentenceEnv.SentenceEnv

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new SentenceEnv(options): SentenceEnv

Parameters

NameType
optionsSentenceEnvOptions

Returns

SentenceEnv

Defined in

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

Properties

_text

Private _text: string

Defined in

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


container

container: Container

Defined in

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


el

Readonly el: Sentence

Defined in

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


index

Readonly index: number

Defined in

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


lawType

lawType: string

Defined in

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


parentELs

parentELs: EL[]

Defined in

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

Accessors

text

get text(): string

Returns

string

Defined in

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

Methods

textRageOfEL

textRageOfEL(el): null | [number, number]

Parameters

NameType
elEL

Returns

null | [number, number]

Defined in

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