public FunctionScope Add(TypeEntry typeEntry) { var localSymbleTable = this.LocalScopes.Peek().Add(typeEntry); return new FunctionScope( this.FunctionType, this.FunctionParams, this.LocalScopes.Pop().Push(localSymbleTable) ); }