MCPcopy Create free account
hub / github.com/microsoft/SandDance / finishArrayExpression

Function finishArrayExpression

docs/app/js/sanddance-app.js:144009–144013  ·  view source on GitHub ↗
(elements)

Source from the content-addressed store, hash-verified

144007 index = pos;
144008}
144009function finishArrayExpression(elements) {
144010 const node = new ASTNode(SyntaxArrayExpression);
144011 node.elements = elements;
144012 return node;
144013}
144014function finishBinaryExpression(operator, left, right) {
144015 const node = new ASTNode(operator === "||" || operator === "&&" ? SyntaxLogicalExpression : SyntaxBinaryExpression);
144016 node.operator = operator;

Callers 1

parseArrayInitialiserFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected