달빛약속 / Scope
Class: Scope
Constructors
new Scope()
new Scope(
config
):Scope
Parameters
config
codeFile
initialVariable
Record
<string
, ValueType
>
parent
Returns
Defined in
Properties
codeFile?
optional
codeFile:CodeFile
Defined in
parent
parent:
Scope
Defined in
variables
variables:
Record
<string
,ValueType
>
Defined in
Methods
addFunctionObject()
addFunctionObject(
functionObject
):void
Parameters
functionObject
RunnableObject
Returns
void
Defined in
askSetVariable()
askSetVariable(
name
,value
):boolean
Parameters
name
string
value
Returns
boolean
Defined in
getFunctionObject()
getFunctionObject(
name
):RunnableObject
Parameters
name
string
Returns
RunnableObject
Defined in
getVariable()
getVariable(
name
):ValueType
Parameters
name
string
Returns
Defined in
setVariable()
setVariable(
name
,value
):void
Parameters
name
string
value
Returns
void