(script?: Ast.Node[])
| 118 | |
| 119 | @autobind |
| 120 | public execSync(script?: Ast.Node[]): Value | undefined { |
| 121 | if (script == null || script.length === 0) return; |
| 122 | this.collectNsSync(script); |
| 123 | const result = this._runSync(script, this.scope, []); |
| 124 | assertValue(result); |
| 125 | return result; |
| 126 | } |
| 127 | |
| 128 | /** |
| 129 | * Executes AiScript Function. |
no test coverage detected