Files
ueblueprint/cypress/fixtures/Entity5.js
barsdeveloper 78c62ee59a Split grammar (#15)
* 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
2023-09-18 21:13:28 +02:00

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()
}