mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-22 23:04:44 +08:00
* Move grammar parsers to entity classes * Fix includes * Fix Entity5 test * Small detail * Fix unknown keys entities * Persistent grammar objects * Fix grammar * Grammar from variable
19 lines
398 B
JavaScript
19 lines
398 B
JavaScript
import EntityF from "./EntityF.js"
|
|
import ObjectEntity from "../../js/entity/ObjectEntity.js"
|
|
|
|
export default class Entity5 extends ObjectEntity {
|
|
|
|
static attributes = {
|
|
key1: {
|
|
type: String,
|
|
},
|
|
key2: {
|
|
type: EntityF,
|
|
},
|
|
}
|
|
static {
|
|
this.cleanupAttributes(this.attributes)
|
|
}
|
|
static grammar = this.createGrammar()
|
|
}
|