public static compiled_namespace_node get_compiled_namespace(string full_name, PascalSharp.Internal.TreeConverter.SymbolTable.TreeConverterSymbolTable tcst) { compiled_namespace_node cnn = null; if (!compiled_namespaces.TryGetValue(full_name, out cnn)) { cnn = new compiled_namespace_node(full_name, tcst); compiled_namespaces.Add(full_name, cnn); } cnn._tcst = tcst; return(cnn); }
/// <summary> /// Конструктор узла. /// </summary> /// <param name="name">Полное имя пространства имен.</param> public compiled_namespace_node(string name, PascalSharp.Internal.TreeConverter.SymbolTable.TreeConverterSymbolTable tcst) { _name = name; _tcst = tcst; }