Antlr4.Codegen.Model.MatchToken.MatchToken C# (CSharp) Метод

MatchToken() публичный Метод

public MatchToken ( OutputModelFactory factory, TerminalAST ast ) : System.Collections.Generic
factory OutputModelFactory
ast Antlr4.Tool.Ast.TerminalAST
Результат System.Collections.Generic
        public MatchToken(OutputModelFactory factory, TerminalAST ast)
            : base(factory, ast)
        {
            Grammar g = factory.GetGrammar();
            ttype = g.GetTokenType(ast.Text);
            name = factory.GetTarget().GetTokenTypeAsTargetLabel(g, ttype);
        }

Same methods

MatchToken::MatchToken ( OutputModelFactory factory, GrammarAST ast ) : System.Collections.Generic