OperatorNode.d.ts 447 B

12345678910111213141516171819
  1. import { TempNode } from '../core/TempNode';
  2. import { NodeBuilder } from '../core/NodeBuilder';
  3. import { Node } from '../core/Node';
  4. export class OperatorNode extends TempNode {
  5. constructor(a: Node, b: Node, op: string);
  6. a: Node;
  7. b: Node;
  8. op: string;
  9. generate(builder: NodeBuilder, output: string): string;
  10. copy(source: OperatorNode): this;
  11. static ADD: string;
  12. static SUB: string;
  13. static MUL: string;
  14. static DIV: string;
  15. }