XTree Diff+ › Globals › XTree
▪ T
- XTree
+ new XTree(param
: IXTreeConstructorParam): XTree
Defined in XTree.ts:271
Parameters:
Name | Type |
---|---|
param |
IXTreeConstructorParam |
Returns: XTree
• Op: EditOption | null = null
Defined in XTree.ts:138
edit option
memberof
XTree
• children: XTree‹T›[] = []
Defined in XTree.ts:254
children list container
memberof
XTree
• data? : T
Defined in XTree.ts:271
extensible property. you can save original node to this property
memberof
XTree
• id? : undefined | string
Defined in XTree.ts:47
• index: number
Defined in XTree.ts:79
child index
memberof
XTree
• label: string = ""
Defined in XTree.ts:55
node tag name
memberof
XTree
• nPtr: XTree‹T› | null = null
Defined in XTree.ts:130
node pointer to anther XTree
memberof
XTree
• pPtr: XTree‹T› | null = null
Defined in XTree.ts:262
pointer to parent XTree
memberof
XTree
• type: NodeType
Defined in XTree.ts:63
node type element or text
memberof
XTree
• value: string | null = null
Defined in XTree.ts:71
text value
memberof
XTree
• get consistency(): number
Defined in XTree.ts:209
readonly
memberof
XTree
Returns: number
• get iMD(): string | undefined
Defined in XTree.ts:117
uniquely identify each node
readonly
memberof
XTree
Returns: string | undefined
• get lLabel(): string
Defined in XTree.ts:148
index label
readonly
memberof
XTree
Returns: string
• get nId(): string
Defined in XTree.ts:159
node indentifer
readonly
memberof
XTree
Returns: string
• get nMD(): string
Defined in XTree.ts:89
node message digest
readonly
memberof
XTree
Returns: string
• get negativeMatch(): number
Defined in XTree.ts:192
readonly
memberof
XTree
Returns: number
• get positiveMatch(): number
Defined in XTree.ts:174
readonly
memberof
XTree
Returns: number
• get tMD(): string
Defined in XTree.ts:101
tree message digest
readonly
memberof
XTree
Returns: string
▸ alernativeMetches(): object
Defined in XTree.ts:219
Returns: object
-
supportingDegree: number
-
supportingDegreeNode: XTree‹T› | null
▸ append(children
: XTree‹T› | XTree‹T›[]): void
Defined in XTree.ts:289
Parameters:
Name | Type |
---|---|
children |
XTree‹T› | XTree‹T›[] |
Returns: void
▸ forEach(callback
: function): void
Defined in XTree.ts:305
Parameters:
▪ callback: function
▸ (node
: XTree‹T›, index
: number, thisArg
: XTree‹T›): void
Parameters:
Name | Type |
---|---|
node |
XTree‹T› |
index |
number |
thisArg |
XTree‹T› |
Returns: void
▸ getChild(idx
: number): XTree‹T› | null
Defined in XTree.ts:315
Parameters:
Name | Type |
---|---|
idx |
number |
Returns: XTree‹T› | null
▸ hasChildren(): boolean
Defined in XTree.ts:311
Returns: boolean