Antlr3.Tool.Grammar.SetGrammarContent C# (CSharp) 메소드

SetGrammarContent() 공개 메소드

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