API Reference

Class List

pc.ScopeSpace

The scope for variables and subspaces.

Summary

Properties

name

The scope name.

Methods

getSubSpace

Get (or create, if it doesn't already exist) a subspace in the scope.

resolve

Get (or create, if it doesn't already exist) a variable in the scope.

Details

Constructor

ScopeSpace(name)

Parameters

namestring

The scope name.

Properties

stringname

The scope name.

Methods

getSubSpace(name)

Get (or create, if it doesn't already exist) a subspace in the scope.

Parameters

namestring

The subspace name.

Returns

pc.ScopeSpace

The subspace instance.

resolve(name)

Get (or create, if it doesn't already exist) a variable in the scope.

Parameters

namestring

The variable name.

Returns

pc.ScopeId

The variable instance.