GetRecognizerFileName() public method

public GetRecognizerFileName ( ) : string
return string
Ejemplo n.º 1
0
        public virtual OutputModelObject BuildLexerOutputModel(bool header)
        {
            CodeGenerator gen  = @delegate.GetGenerator();
            LexerFile     file = LexerFile(gen.GetRecognizerFileName(header));

            SetRoot(file);
            file.lexer = Lexer(file);

            Grammar g = @delegate.GetGrammar();

            foreach (Rule r in g.rules.Values)
            {
                BuildLexerRuleActions(file.lexer, r);
            }

            return(file);
        }