UNPKG

cream-and-sugar

Version:

A deliciously functional syntax for JavaScript with native support for JSX

9 lines (7 loc) 217 B
import { compile, nodes } from '../utils'; /* * Recursively compile operations. */ compile(nodes.OperationNode, function () { return `${this.left.compile(true)} ${this.operator} ${this.right.compile(true)}`; });