infixApp.js 203 B

1234567891011
  1. import { Expression } from './expression';
  2. export class InfixApp extends Expression {
  3. constructor(op, left, right) {
  4. super();
  5. this.op = op;
  6. this.left = left;
  7. this.right = right;
  8. }
  9. }