Home Manual Reference Source Test
import {SourceNode} from 'atscm/src/lib/model/Node.ts'
public class | source

SourceNode

Extends:

Node → SourceNode

A node during a push.

Member Summary

Public Members
public

idName: *

public get

The node's name.

Method Summary

Public Methods
public

Renames a node.

Inherited Summary

From class Node
public get

arrayType: ItemOf

The node's array type.

public get

dataType: ItemOf

The node's data type.

public get

The node's file path.

public get

true at the moment.

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 get

The node's id.

public get

If the parent resolves metadata (for example: split transformer source files).

public get

The node's type definition if given.

private get

The node's file path, used to compute Node#filePath.

private get

The node's id, used to compute Node#nodeId.

public
public

idName: *

public
public

parent: *

public

The node's references.

private

If the parent node resolves metadata.

private

A set of resolved properties.

private

The node's unresolved refernces.

private
private

The node's resolved refernces.

public

addReference(type: ReferenceType, id: string): undefined

Adds a new reference.

public

createChild(undefined: undefined): Node

Creates a new child node.

public

Returns true if the node has the given type definition.

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 Members

public idName: * source

Override:

Node#idName

public get name: string source

The node's name.

Public Methods

public renameTo(name: string): undefined source

Renames a node.

Params:

NameTypeAttributeDescription
name string

Return:

undefined