mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-14 00:54:48 +08:00
21 lines
413 B
JavaScript
Executable File
21 lines
413 B
JavaScript
Executable File
import Grammar from "../serialization/Grammar.js"
|
|
import IEntity from "./IEntity.js"
|
|
|
|
export default class PathSymbolEntity extends IEntity {
|
|
|
|
static grammar = Grammar.symbol.map(v => new this(v))
|
|
|
|
constructor(value = "") {
|
|
super()
|
|
this.value = value
|
|
}
|
|
|
|
valueOf() {
|
|
return this.value
|
|
}
|
|
|
|
toString() {
|
|
return this.value.toString()
|
|
}
|
|
}
|