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