달빛약속 / CodeFile
Class: CodeFile
Constructors
new CodeFile()
new CodeFile(
text
,fileName
):CodeFile
Parameters
text
string
fileName
string
= '<이름 없음>'
Returns
Defined in
Properties
fileName
fileName:
string
='<이름 없음>'
Defined in
runResult
runResult:
ExecuteResult
<Block
> =null
Defined in
runtime
runtime:
Runtime
=null
Defined in
text
text:
string
Defined in
Accessors
ast
Get Signature
get ast():
Block
Returns
Defined in
exportedRules
Get Signature
get exportedRules():
Rule
[]
Returns
Rule
[]
Defined in
functionDeclareRanges
Get Signature
get functionDeclareRanges(): [
number
,number
][]
Returns
[number
, number
][]
Defined in
mounted
Get Signature
get mounted():
boolean
Returns
boolean
Defined in
tokens
Get Signature
get tokens():
Token
[]
Returns
Token
[]
Defined in
Methods
mount()
mount(
runtime
):void
Parameters
runtime
Returns
void
Defined in
run()
run():
Promise
<ExecuteResult
<Block
>>
Returns
Promise
<ExecuteResult
<Block
>>