Пример #1
0
 public StatementList(Statement statement, StatementList tail)
 {
     IsEmpty = false;
     Head    = statement;
     Tail    = tail;
 }
Пример #2
0
 public DeclarationClass(String name, StatementList decls)
 {
     Name       = name;
     Statements = decls;
 }
Пример #3
0
 public DeclarationMethod(String name, StatementList body)
 {
     ReturnType = new TypeVoid();
     Name       = name;
     Body       = body;
 }