Beispiel #1
0
 public override void VisitTypeVoid(ASTTypeVoid n)
 {
     n.Type = _lastSeenType = new TypeVoid();
 }
Beispiel #2
0
 protected override OpTypeVoid VisitTypeVoid(TypeVoid node)
 {
     return(Register(base.VisitTypeVoid(node), _typeInstructions));
 }
Beispiel #3
0
 /// <summary>
 /// Used as the return value for methods that are type void, and have a return statement.
 /// </summary>
 /// <param name="n"></param>
 public override void VisitVoidExpr(ASTVoidExpression n)
 {
     n.CFlatType = _lastSeenType = new TypeVoid();
 }
Beispiel #4
0
 public DeclarationMethod(String name, StatementList body)
 {
     ReturnType = new TypeVoid();
     Name       = name;
     Body       = body;
 }