MCPcopy Create free account
hub / github.com/ampproject/amphtml / evaluate

Method evaluate

extensions/amp-bind/0.1/bind-expression.js:241–243  ·  view source on GitHub ↗

* Evaluates the expression given a scope. * @param {!JsonObject} scope * @throws {Error} On illegal function invocation. * @return {BindExpressionResultDef}

(scope)

Source from the content-addressed store, hash-verified

239 * @return {BindExpressionResultDef}
240 */
241 evaluate(scope) {
242 return this.eval_(this.ast_, scope);
243 }
244
245 /**
246 * @param {!./bind-expr-defines.AstNode} ast

Callers 1

eval_Method · 0.45

Calls 1

eval_Method · 0.95

Tested by

no test coverage detected