15 lines
210 B
JavaScript
15 lines
210 B
JavaScript
|
import {Traversal} from './traversal';
|
||
|
|
||
|
export class Action extends Traversal {
|
||
|
static type() {
|
||
|
return 'action';
|
||
|
}
|
||
|
|
||
|
toJSON() {
|
||
|
return {
|
||
|
...super.toJSON(),
|
||
|
type: 'action',
|
||
|
};
|
||
|
}
|
||
|
}
|