This commit is contained in:
barsdeveloper
2024-05-31 15:09:48 +02:00
parent 1c2778fbf8
commit ecc71b76d1
45 changed files with 1191 additions and 1078 deletions

View File

@@ -4,7 +4,6 @@ import IEntity from "./IEntity.js"
export default class UnknownKeysEntity extends IEntity {
static grammar = P.seq(
// Lookbehind
P.reg(new RegExp(`(${Grammar.Regex.Path.source}|${Grammar.Regex.Symbol.source}\\s*)?\\(\\s*`), 1),
@@ -24,7 +23,7 @@ export default class UnknownKeysEntity extends IEntity {
}
attributes.forEach(attributeSetter => attributeSetter(values))
return new this(values)
})
}).label("UnknownKeysEntity")
constructor(values = {}) {
super(values)