public IMacro GetMacro(string name, int paramNum) { return(BuiltInMacros.ContainsKey(name) && BuiltInMacros[name].ValidNumParams(paramNum) ? BuiltInMacros[name] : Macros[name][paramNum]); }
public bool ContainsName(string name) { return(BuiltInMacros.ContainsKey(name) || Macros.ContainsKey(name)); }
public bool HasMacro(string name, int paramNum) { return(BuiltInMacros.ContainsKey(name) && BuiltInMacros[name].ValidNumParams(paramNum) || Macros.ContainsKey(name) && Macros[name].ContainsKey(paramNum)); }