Library
core
classes
Core Src Node Pointerenv.pointerenv

Lawtext core references / core/src/node/pointerEnv / PointerEnv

Class: PointerEnv

core/src/node/pointerEnv.PointerEnv

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new PointerEnv(options): PointerEnv

Parameters

NameType
optionsObject
options.pointer____Pointer
options.sentenceEnvSentenceEnv

Returns

PointerEnv

Defined in

core/src/node/pointerEnv/index.ts:37 (opens in a new tab)

Properties

directLawNum

directLawNum: null | string = null

Defined in

core/src/node/pointerEnv/index.ts:24 (opens in a new tab)


located

located: null | LocatedInfo = null

Defined in

core/src/node/pointerEnv/index.ts:32 (opens in a new tab)


namingChildren

namingChildren: PointerEnv[] = []

Defined in

core/src/node/pointerEnv/index.ts:27 (opens in a new tab)


namingParent

namingParent: null | PointerEnv = null

Defined in

core/src/node/pointerEnv/index.ts:26 (opens in a new tab)


pointer

pointer: ____Pointer

Defined in

core/src/node/pointerEnv/index.ts:34 (opens in a new tab)


sentenceEnv

sentenceEnv: SentenceEnv

Defined in

core/src/node/pointerEnv/index.ts:35 (opens in a new tab)


seriesNext

seriesNext: null | PointerEnv = null

Defined in

core/src/node/pointerEnv/index.ts:30 (opens in a new tab)


seriesPrev

seriesPrev: null | PointerEnv = null

Defined in

core/src/node/pointerEnv/index.ts:29 (opens in a new tab)

Methods

json

json(): Object

Returns

Object

NameType
directLawNumnull | string
locatednull | { fragments: { containers: string[] ; text: string }[] ; type: "internal" } | { fqPrefixFragments: string[] ; lawNum: string ; type: "external" }
namingChildrenstring[]
namingParentnull | string
pointerJsonEL
seriesNextnull | string
seriesPrevnull | string

Defined in

core/src/node/pointerEnv/index.ts:45 (opens in a new tab)


locate

locate(force?): void

Parameters

NameTypeDefault value
forcebooleanfalse

Returns

void

Defined in

core/src/node/pointerEnv/index.ts:73 (opens in a new tab)