yaksok.ts • Docs
yaksok.ts / CodeFile
Class: CodeFile
Constructors
new CodeFile()
ts
new CodeFile(text, fileName): CodeFile
Parameters
• text: string
• fileName: string
= '<이름 없음>'
Returns
Defined in
Properties
fileName
ts
fileName: string = '<이름 없음>';
Defined in
runResult
ts
runResult: ExecuteResult<Block> = null;
Defined in
runtime
ts
runtime: Runtime = null;
Defined in
text
ts
text: string;
Defined in
Accessors
ast
Get Signature
ts
get ast(): Block
Returns
Defined in
exportedRules
Get Signature
ts
get exportedRules(): Rule[]
Returns
Rule
[]
Defined in
functionDeclareRanges
Get Signature
ts
get functionDeclareRanges(): [number, number][]
Returns
[number
, number
][]
Defined in
mounted
Get Signature
ts
get mounted(): boolean
Returns
boolean
Defined in
tokens
Get Signature
ts
get tokens(): Token[]
Returns
Token
[]
Defined in
Methods
evaluate()
ts
evaluate(node): ExecuteResult<Evaluable>
Parameters
• node: Evaluable
Returns
ExecuteResult
<Evaluable
>
Defined in
mount()
ts
mount(runtime): void
Parameters
• runtime: Runtime
Returns
void
Defined in
run()
ts
run(): ExecuteResult<Block>
Returns
ExecuteResult
<Block
>