public void SetAttributes() { this.Atributes = SymbolTable.AllDefinedObjects().Where(x => x.Kind == ObjectKind.Atribute).Select((x, i) => { x.Offset = 4 * i; return(x); }).ToList(); }
public CoolType(string Name) { this.Name = Name; Childs = new List <CoolType>(); SymbolTable = new SymbolTable(); }