MCPcopy Create free account
hub / github.com/aiscript-dev/aiscript / _evalClauseSync

Method _evalClauseSync

src/interpreter/index.ts:413–415  ·  view source on GitHub ↗
(node: Ast.Statement | Ast.Expression, scope: Scope, callStack: readonly CallInfo[])

Source from the content-addressed store, hash-verified

411
412 @autobind
413 private _evalClauseSync(node: Ast.Statement | Ast.Expression, scope: Scope, callStack: readonly CallInfo[]): Value | Control {
414 return this._evalSync(node, Ast.isStatement(node) ? scope.createChildScope() : scope, callStack);
415 }
416
417 @autobind
418 private async _evalBinaryOperation(op: string, leftExpr: Ast.Expression, rightExpr: Ast.Expression, scope: Scope, callStack: readonly CallInfo[]): Promise<Value | Control> {

Callers 1

__evalSyncMethod · 0.95

Calls 2

_evalSyncMethod · 0.95
createChildScopeMethod · 0.80

Tested by

no test coverage detected