Added a couple of new nodes and a grammar fix.

This commit is contained in:
barsdeveloper
2023-03-10 10:52:32 +01:00
parent c63f51da57
commit 405accc39c
9 changed files with 4902 additions and 4798 deletions

View File

@@ -7,7 +7,9 @@ export default class FormatTextEntity extends IEntity {
static lookbehind = "LOCGEN_FORMAT_NAMED"
static attributes = {
value: [new UnionType(LocalizedTextEntity, InvariantTextEntity, FormatTextEntity)],
value: {
type: [new UnionType(LocalizedTextEntity, InvariantTextEntity, FormatTextEntity)]
},
}
static {
@@ -18,4 +20,4 @@ export default class FormatTextEntity extends IEntity {
super(values)
/** @type {String} */ this.value
}
} 1
}