Exemple #1
0
        public void Accept(GrammarLanguageVisitor visitor, AcceptMode mode)
        {
            if (mode == AcceptMode.Self)
            {
                visitor.Visit(this);
            }

            if (mode == AcceptMode.Children)
            {
                visitor.Dispatch <INamespaceMember>(Members);
            }
        }
Exemple #2
0
        public void Accept(GrammarLanguageVisitor visitor, AcceptMode mode)
        {
            if (mode == AcceptMode.Self)
            {
                visitor.Visit(this);
            }

            if (mode == AcceptMode.Children)
            {
                visitor.Dispatch <NodeMemberDeclaration>(Members);
            }
        }