Skip to content

Commit f0c39ba

Browse files
authored
Merge branch 'master' into declaration
2 parents 5ad06dc + a21acd6 commit f0c39ba

File tree

4 files changed

+367
-521
lines changed

4 files changed

+367
-521
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)