Constructor Summary
Public Constructor | ||
public |
constructor(options: Object) Creates a new node. |
Member Summary
Public Members | ||
public get |
arrayType: ItemOf The node's array type. |
|
public get |
dataType: ItemOf The node's data type. |
|
public |
fileName: * |
|
public get |
The node's file path. |
|
public get |
|
|
public |
idName: * |
|
public get |
If the node is an object display. |
|
public get |
If the node is a display script. |
|
public get |
If the node is a quickdynamic. |
|
public get |
If the node is a serverside script. |
|
public get |
If the node is a variable. |
|
public get |
metadata: NodeDefinition The metadata to store in the node's definition file. |
|
public get |
The node's modellingRule if given. |
|
public |
nodeClass: * |
|
public get |
The node's id. |
|
public |
parent: * |
|
public get |
If the parent resolves metadata (for example: split transformer source files). |
|
public |
references: * The node's references. |
|
public get |
The node's type definition if given. |
Private Members | ||
private get |
The node's file path, used to compute Node#filePath. |
|
private get |
The node's id, used to compute Node#nodeId. |
|
private |
If the parent node resolves metadata. |
|
private |
_resolved: * A set of resolved properties. |
|
private |
The node's unresolved refernces. |
|
private |
_unresolved: * |
|
private |
The node's resolved refernces. |
Method Summary
Public Methods | ||
public |
addReference(type: ReferenceType, id: string): undefined Adds a new reference. |
|
public |
createChild(undefined: undefined): Node Creates a new child node. |
|
public |
hasTypeDefinition(typeDefName: undefined): boolean Returns |
|
public |
hasUnresolvedReference(name: ReferenceTypeName): boolean |
|
public |
isResolved(key: NodeResolveKey): boolean |
|
public |
|
|
public |
markAllReferencesAsResolved(name: ReferenceTypeName): undefined |
|
public |
markAsResolved(key: NodeResolveKey): undefined |
|
public |
markReferenceAsResolved(name: ReferenceTypeName, value: string): undefined |
|
public |
setReferences(type: ReferenceType, ids: undefined): undefined |
Public Constructors
Public Members
public fileName: * source
public idName: * source
public nodeClass: * source
public parent: * source
public get parentResolvesMetadata: boolean source
If the parent resolves metadata (for example: split transformer source files).
Private Members
private _unresolved: * source
Public Methods
public addReference(type: ReferenceType, id: string): undefined source
Adds a new reference.
Params:
Name | Type | Attribute | Description |
type | ReferenceType | ||
id | string |
public createChild(undefined: undefined): Node source
Creates a new child node.
Params:
Name | Type | Attribute | Description |
undefined | undefined |
public hasTypeDefinition(typeDefName: undefined): boolean source
Returns true
if the node has the given type definition.
Params:
Name | Type | Attribute | Description |
typeDefName | undefined |
public hasUnresolvedReference(name: ReferenceTypeName): boolean source
Params:
Name | Type | Attribute | Description |
name | ReferenceTypeName |
public isResolved(key: NodeResolveKey): boolean source
Params:
Name | Type | Attribute | Description |
key | NodeResolveKey |
public markAllReferencesAsResolved(name: ReferenceTypeName): undefined source
Params:
Name | Type | Attribute | Description |
name | ReferenceTypeName |
public markAsResolved(key: NodeResolveKey): undefined source
Params:
Name | Type | Attribute | Description |
key | NodeResolveKey |