protected bool Equals(UseNode other) { return(string.Equals(Namespace, other.Namespace)); }
protected bool Equals(UseNode other) { return string.Equals(Namespace, other.Namespace); }
/// <summary> /// using = "using" namespace NL /// </summary> private UseNode parseUsing() { if (!check(LexemType.Use)) return null; var nsp = ensure(parseNamespace, ParserMessages.NamespaceExpected); var node = new UseNode {Namespace = nsp.FullSignature}; return node; }
/// <summary> /// Opens a new namespace for current script. /// </summary> private void declareOpenNamespace(UseNode node) { if (!Namespaces.ContainsKey(node.Namespace)) Namespaces.Add(node.Namespace, true); }