mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-13 00:24:48 +08:00
30 lines
994 B
JavaScript
30 lines
994 B
JavaScript
import P from "parsernostrum"
|
|
import Grammar from "../serialization/Grammar.js"
|
|
import BooleanEntity from "./BooleanEntity.js"
|
|
import IEntity from "./IEntity.js"
|
|
import StringEntity from "./StringEntity.js"
|
|
|
|
export default class TerminalTypeEntity extends IEntity {
|
|
|
|
static attributes = {
|
|
...super.attributes,
|
|
TerminalCategory: StringEntity,
|
|
TerminalSubCategory: StringEntity,
|
|
bTerminalIsConst: BooleanEntity,
|
|
bTerminalIsWeakPointer: BooleanEntity,
|
|
bTerminalIsUObjectWrapper: BooleanEntity,
|
|
}
|
|
static grammar = /** @type {P<TerminalTypeEntity>} */(
|
|
Grammar.createEntityGrammar(this)
|
|
)
|
|
|
|
constructor(values) {
|
|
super(values)
|
|
/** @type {String} */ this.TerminalCategory
|
|
/** @type {String} */ this.TerminalSubCategory
|
|
/** @type {Boolean} */ this.bTerminalIsConst
|
|
/** @type {Boolean} */ this.bTerminalIsWeakPointer
|
|
/** @type {Boolean} */ this.bTerminalIsUObjectWrapper
|
|
}
|
|
}
|