mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-18 03:27:32 +08:00
Small refactoring
This commit is contained in:
@@ -6,9 +6,8 @@ export default class EnumEntity extends SymbolEntity {
|
||||
|
||||
static grammar = this.createGrammar()
|
||||
|
||||
/** @returns {P<EnumEntity>} */
|
||||
static createGrammar() {
|
||||
return /** @type {P<EnumEntity>} */(
|
||||
Grammar.symbol.map(v => new this(v))
|
||||
)
|
||||
return Grammar.symbol.map(v => new this(v))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user