Lawtext core references / core/src/node/el/controls/parentheses / __Parentheses
Class: __Parentheses
Defined in: core/src/node/el/controls/parentheses.ts:25
EL: a simplified XML DOM functionality that implements JsonEL interface.
Extends
Constructors
Constructor
new __Parentheses(
options):__Parentheses
Defined in: core/src/node/el/controls/parentheses.ts:44
Parameters
options
Returns
__Parentheses
Overrides
Properties
attr
attr:
object
Defined in: core/src/node/el/controls/parentheses.ts:28
The attributes of the element
depth
depth:
string
type
type:
"round"|"square"|"curly"|"squareb"
Overrides
children
children:
SentenceChildEL[]
Defined in: core/src/node/el/controls/parentheses.ts:32
The children of the element
Overrides
id
id:
number
Defined in: core/src/node/el/index.ts:14
Inherited from
range
range: [
number,number] |null
Defined in: core/src/node/el/index.ts:15
Inherited from
tag
tag:
"__Parentheses"
Defined in: core/src/node/el/controls/parentheses.ts:26
The tag name of the element
Overrides
Accessors
content
Get Signature
get content():
__PContent
Defined in: core/src/node/el/controls/parentheses.ts:34
Returns
end
Get Signature
get end():
__PEnd
Defined in: core/src/node/el/controls/parentheses.ts:40
Returns
isControl
Get Signature
get isControl():
true
Defined in: core/src/node/el/controls/parentheses.ts:27
Returns
true
Overrides
start
Get Signature
get start():
__PStart
Defined in: core/src/node/el/controls/parentheses.ts:37
Returns
Methods
copy()
copy(
deep,copyID):EL
Defined in: core/src/node/el/index.ts:40
Parameters
deep
boolean = true
copyID
boolean = false
Returns
Inherited from
innerXML()
innerXML(
withControlEl):string
Defined in: core/src/node/el/index.ts:109
Parameters
withControlEl
boolean = false
Returns
string
Inherited from
json()
json(
withControlEl,withProperties):JsonEL
Defined in: core/src/node/el/index.ts:56
Parameters
withControlEl
boolean = false
withProperties
boolean = false
Returns
Inherited from
outerXML()
outerXML(
withControlEl):string
Defined in: core/src/node/el/index.ts:105
Parameters
withControlEl
boolean = false
Returns
string
Inherited from
text()
text():
string
Defined in: core/src/node/el/index.ts:95
Returns
string
Inherited from
wrapXML()
wrapXML(
inner):string
Defined in: core/src/node/el/index.ts:101
Parameters
inner
string
Returns
string