* @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)
| 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 | } |