mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-14 00:54:48 +08:00
17 lines
402 B
JavaScript
17 lines
402 B
JavaScript
import P from "parsernostrum"
|
|
import IEntity from "./IEntity.js"
|
|
|
|
export default class NullEntity extends IEntity {
|
|
|
|
static grammar = P.reg(new RegExp(String.raw`\(${P.whitespaceInlineOpt.getParser().regexp.source}\)`))
|
|
.map(v => new this())
|
|
|
|
toString(
|
|
insideString = false,
|
|
indentation = "",
|
|
printKey = this.Self().printKey,
|
|
) {
|
|
return "()"
|
|
}
|
|
}
|