public LocalBuilder GetLocalBuilder(string localCodeName) { if (!DefinedLocal.ContainsKey(localCodeName)) { throw new ArgumentException("No existe esta variable"); } return(DefinedLocal[localCodeName]); }
public void AddLocalBuilder(string localCodeName, LocalBuilder localBuilder) { if (DefinedLocal.ContainsKey(localCodeName)) { throw new ArgumentException("Ya existe un variable local annadida"); } DefinedLocal.Add(localCodeName, localBuilder); }