Skip to content

Commit d9fa43a

Browse files
authored
Merge pull request #42 from torch2424/update-to-latest-as
Updated to the latest AssemblyScript 0.14.4
2 parents 23fc289 + b334682 commit d9fa43a

File tree

4 files changed

+365
-519
lines changed

4 files changed

+365
-519
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export class AstNode {
2-
type: string;
3-
value: string;
4-
childNodes: Array<AstNode>;
2+
type: string = "";
3+
value: string = "";
4+
childNodes: Array<AstNode> = new Array<AstNode>();
55
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export class Token {
2-
index: i32;
3-
type: string;
4-
value: string;
2+
index: i32 = 0;
3+
type: string = "";
4+
value: string = "";
55
}

0 commit comments

Comments
 (0)