Beispiel #1
0
 public Retorno(string valor, bool isTemp, Type tipo, Simbolo simbolo)
 {
     this.valor     = valor;
     this.isTemp    = isTemp;
     this.tipo      = tipo;
     this.simbolo   = simbolo;
     this.trueLabel = this.falseLabel = "";
 }
Beispiel #2
0
 public Simbolo(Type tipo, string id, int?posicion, bool isConst, bool isGlobal, bool isHeap)
 {
     this.tipo     = tipo;
     this.id       = id;
     this.posicion = posicion;
     this.isConst  = isConst;
     this.isGlobal = isGlobal;
     this.isHeap   = isHeap;
 }
Beispiel #3
0
 public bool sameType(Type tipo1, Type tipo2)
 {
     throw new NotImplementedException();
 }
Beispiel #4
0
 public Parametro(string id, Type tipo)
 {
     this.id   = id;
     this.tipo = tipo;
 }