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

Function finishConditionalExpression

docs/app/js/sanddance-app.js:144027–144033  ·  view source on GitHub ↗
(test, consequent, alternate)

Source from the content-addressed store, hash-verified

144025 return node;
144026}
144027function finishConditionalExpression(test, consequent, alternate) {
144028 const node = new ASTNode(SyntaxConditionalExpression);
144029 node.test = test;
144030 node.consequent = consequent;
144031 node.alternate = alternate;
144032 return node;
144033}
144034function finishIdentifier(name) {
144035 const node = new ASTNode(SyntaxIdentifier);
144036 node.name = name;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected