Beispiel #1
0
 public override bool Equal(UnAnnType a)
 {
     throw new NotImplementedException();
 }
 public VariableDeclaration(UnAnnType type, string name)
 {
     this.type = type;
     this.name = name;
     num       = Globals.LastLocal++;
 }
Beispiel #3
0
 public FormalParameter(UnAnnType formaltype, string name)
 {
     this.formaltype = type;
     this.name       = name;
 }
 public Result(UnAnnType returnType)
 {
     this.returnType = returnType;
 }
Beispiel #5
0
 public override bool Equal(UnAnnType other)
 {
     return(other as BoolType != null);
 }
Beispiel #6
0
 public abstract bool Equal(UnAnnType other);
Beispiel #7
0
 public bool Compatible(UnAnnType other)
 {
     return(Equal(other));
 }