summaryrefslogtreecommitdiffstats
path: root/llparse-frontend/src/node/span-end.ts
blob: bf8d5cc3f2e307e51e4a4120565cc1f632cd0f24 (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 SpanEnd extends Node {
  constructor(id: IUniqueName, public readonly field: SpanField,
              public readonly callback: IWrap<Span>) {
    super(id);
  }
}