MCPcopy Create free account
hub / github.com/SplootCode/splootcode / constructor

Method constructor

packages/language-web/types/js/literals.ts:50–53  ·  view source on GitHub ↗
(parentReference: ParentReference, value: string)

Source from the content-addressed store, hash-verified

48
49export class StringLiteral extends JavaScriptSplootNode {
50 constructor(parentReference: ParentReference, value: string) {
51 super(parentReference, STRING_LITERAL)
52 this.properties = { value: value }
53 }
54
55 getValue() {
56 return this.properties.value

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected