Implement string, number literal and completion record

This commit is contained in:
2020-08-13 12:22:09 +05:30
parent e4423fa1b5
commit cb24c79a58
10 changed files with 182 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
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;
}
}