public virtual void SetGrammarContent( string grammarString ) { StringReader r = new StringReader( grammarString ); ParseAndBuildAST( r ); composite.AssignTokenTypes(); composite.DefineGrammarSymbols(); }