2019-12-17 06:20:05 +08:00
|
|
|
import Extension from './Extension'
|
|
|
|
|
2020-03-06 03:30:58 +08:00
|
|
|
export default abstract class Node extends Extension {
|
2019-12-17 06:20:05 +08:00
|
|
|
|
|
|
|
constructor(options = {}) {
|
|
|
|
super(options)
|
|
|
|
}
|
|
|
|
|
2020-03-06 04:05:01 +08:00
|
|
|
public type = 'node'
|
2019-12-17 06:20:05 +08:00
|
|
|
|
2020-03-06 03:30:58 +08:00
|
|
|
// get type() {
|
|
|
|
// return 'node'
|
|
|
|
// }
|
2019-12-17 06:20:05 +08:00
|
|
|
|
2020-03-06 03:30:58 +08:00
|
|
|
// get view(): any {
|
|
|
|
// return null
|
|
|
|
// }
|
2019-12-17 06:20:05 +08:00
|
|
|
|
2020-03-06 03:30:58 +08:00
|
|
|
// get schema(): any {
|
|
|
|
// return null
|
|
|
|
// }
|
2019-12-17 06:20:05 +08:00
|
|
|
|
2020-03-06 03:30:58 +08:00
|
|
|
public abstract schema: any
|
|
|
|
|
|
|
|
// command() {
|
|
|
|
// return () => {}
|
|
|
|
// }
|
2019-12-17 06:20:05 +08:00
|
|
|
|
|
|
|
}
|