Skip to Content
LibraryCoreSrcNodeElControlsVarrefClassesClass: ____VarRef

Lawtext core references


Lawtext core references / core/src/node/el/controls/varRef / ____VarRef

Class: ____VarRef

Defined in: core/src/node/el/controls/varRef.ts:12 

EL: a simplified XML DOM functionality that implements JsonEL interface.

Extends

Constructors

Constructor

new ____VarRef(options): ____VarRef

Defined in: core/src/node/el/controls/varRef.ts:32 

Parameters

options

VarRefOptions

Returns

____VarRef

Overrides

EL.constructor

Properties

attr

attr: object

Defined in: core/src/node/el/controls/varRef.ts:15 

The attributes of the element

declarationID

declarationID: string

refName

refName: string

refSentenceTextRange

refSentenceTextRange: string

Overrides

EL.attr


children

children: (string | EL)[]

Defined in: core/src/node/el/index.ts:13 

The children of the element

Inherited from

EL.children


id

id: number

Defined in: core/src/node/el/index.ts:14 

Inherited from

EL.id


range

range: [number, number] | null

Defined in: core/src/node/el/index.ts:15 

Inherited from

EL.range


tag

tag: "____VarRef"

Defined in: core/src/node/el/controls/varRef.ts:13 

The tag name of the element

Overrides

EL.tag

Accessors

isControl

Get Signature

get isControl(): true

Defined in: core/src/node/el/controls/varRef.ts:14 

Returns

true

Overrides

EL.isControl


refSentenceTextRange

Get Signature

get refSentenceTextRange(): SentenceTextRange

Defined in: core/src/node/el/controls/varRef.ts:22 

Returns

SentenceTextRange

Methods

copy()

copy(deep, copyID): EL

Defined in: core/src/node/el/index.ts:40 

Parameters

deep

boolean = true

copyID

boolean = false

Returns

EL

Inherited from

EL.copy


innerXML()

innerXML(withControlEl): string

Defined in: core/src/node/el/index.ts:109 

Parameters

withControlEl

boolean = false

Returns

string

Inherited from

EL.innerXML


json()

json(withControlEl, withProperties): JsonEL

Defined in: core/src/node/el/index.ts:56 

Parameters

withControlEl

boolean = false

withProperties

boolean = false

Returns

JsonEL

Inherited from

EL.json


outerXML()

outerXML(withControlEl): string

Defined in: core/src/node/el/index.ts:105 

Parameters

withControlEl

boolean = false

Returns

string

Inherited from

EL.outerXML


text()

text(): string

Defined in: core/src/node/el/index.ts:95 

Returns

string

Inherited from

EL.text


wrapXML()

wrapXML(inner): string

Defined in: core/src/node/el/index.ts:101 

Parameters

inner

string

Returns

string

Inherited from

EL.wrapXML

© 2017-2026 yamachi