MCPcopy Index your code
hub / github.com/gpujs/gpu.js / astLogicalExpression

Method astLogicalExpression

src/backend/function-node.js:1184–1191  ·  view source on GitHub ↗

* @desc Parses the abstract syntax tree for *Logical* Expression * @param {Object} logNode - An ast Node * @param {Array} retArr - return array string * @returns {Array} the append retArr

(logNode, retArr)

Source from the content-addressed store, hash-verified

1182 * @returns {Array} the append retArr
1183 */
1184 astLogicalExpression(logNode, retArr) {
1185 retArr.push('(');
1186 this.astGeneric(logNode.left, retArr);
1187 retArr.push(logNode.operator);
1188 this.astGeneric(logNode.right, retArr);
1189 retArr.push(')');
1190 return retArr;
1191 }
1192 astMemberExpression(ast, retArr) {
1193 return retArr;
1194 }

Callers 1

astGenericMethod · 0.95

Calls 1

astGenericMethod · 0.95

Tested by

no test coverage detected