MCPcopy
hub / github.com/brimdata/zui / resolveRight

Method resolveRight

apps/zui/src/core/when/ast.ts:68–75  ·  view source on GitHub ↗
(scope: Scope)

Source from the content-addressed store, hash-verified

66 }
67
68 resolveRight(scope: Scope) {
69 if (this.b instanceof Symbol) {
70 if (scope.has(this.b)) return scope.get(this.b)
71 else return new Value(this.b.name)
72 } else {
73 return this.b.resolve(scope)
74 }
75 }
76
77 resolve(scope: Scope): Value {
78 const a = this.resolveLeft(scope).val

Callers 1

resolveMethod · 0.95

Calls 3

resolveMethod · 0.65
hasMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected