public virtual void SetRuleAST( string ruleName, GrammarAST t ) { Rule r = GetLocallyDefinedRule( ruleName ); if ( r != null ) { r.Tree = t; r.EORNode = t.LastChild; } }