private FunctionCompiler GetCompilerByType(ExcelFunction function) { var funcType = function.GetType(); if (_specialCompilers.ContainsKey(funcType)) { return _specialCompilers[funcType]; } return new DefaultCompiler(function); }