summaryrefslogtreecommitdiffstats
path: root/llparse-frontend/src/node/span-start.ts
blob: 89690f1e8e653925ffd302e1fdd82b6def821070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import { Span } from '../code';
import { SpanField } from '../span-field';
import { IUniqueName } from '../utils';
import { IWrap } from '../wrap';
import { Node } from './base';

export class SpanStart extends Node {
  constructor(id: IUniqueName, public readonly field: SpanField,
              public readonly callback: IWrap<Span>) {
    super(id);
  }
}