Files
not-a-js-engine/src/language-types/StringValue.ts
T

17 lines
315 B
TypeScript

import { StringString } from './typeNames';
export interface TStringValue {
type: typeof StringString;
value: string;
}
export class StringValue implements TStringValue {
type: typeof StringString;
value: string;
constructor(value: string) {
this.type = StringString;
this.value = value;
}
}