public object GetQuickInfo(string token) { if (_tokens.Contains(token)) { return(_tokens.GetInfo(token).ToQuickInfo()); } else { var functionInfo = _functionInfos.FirstOrDefault(v => v.Token == token); if (functionInfo != null) { return(functionInfo.ToQuickInfo()); } } return(null); }
public static bool IsFunction(string cmd) { return(FunctionSet.Contains(cmd)); }