MCPcopy
hub / github.com/gpujs/gpu.js / astExpressionStatement

Method astExpressionStatement

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

* @desc Parses the abstract syntax tree for *generic expression* statement * @param {Object} esNode - An ast Node * @param {Array} retArr - return array string * @returns {Array} the append retArr

(esNode, retArr)

Source from the content-addressed store, hash-verified

1049 * @returns {Array} the append retArr
1050 */
1051 astExpressionStatement(esNode, retArr) {
1052 this.astGeneric(esNode.expression, retArr);
1053 retArr.push(';');
1054 return retArr;
1055 }
1056 /**
1057 * @desc Parses the abstract syntax tree for an *Empty* Statement
1058 * @param {Object} eNode - An ast Node

Callers 1

astGenericMethod · 0.95

Calls 1

astGenericMethod · 0.95

Tested by

no test coverage detected