Exemple #1
0
 void WriteLine(ASTKind k)
 {
     Console.WriteLine(indent + k);
 }
Exemple #2
0
 public ASTNode(ASTKind kind, SourceLoc sl)
 {
     this.kind      = kind;
     this.sourceLoc = sl;
 }
Exemple #3
0
 public Statement(ASTKind kind, SourceLoc sl) : base(kind, sl)
 {
 }
Exemple #4
0
 public Expression(ASTKind kind, TypeSymbol type, SourceLoc sl) : base(kind, sl)
 {
     this.Type = type;
 }