Antlr3.Tool.Grammar.AddDelegateGrammar C# (CSharp) Method

AddDelegateGrammar() protected method

protected AddDelegateGrammar ( Grammar delegateGrammar ) : void
delegateGrammar Grammar
return void
        protected virtual void AddDelegateGrammar( Grammar delegateGrammar )
        {
            CompositeGrammarTree t = composite.DelegateGrammarTreeRoot.FindNode( this );
            t.AddChild( new CompositeGrammarTree( delegateGrammar ) );
            // make sure new grammar shares this composite
            delegateGrammar.composite = this.composite;
        }
Grammar