Antlr4.AntlrTool.UndefChecker.TokenRef C# (CSharp) 메소드

TokenRef() 공개 메소드

public TokenRef ( TerminalAST @ref ) : void
@ref Antlr4.Tool.Ast.TerminalAST
리턴 void
            public override void TokenRef(TerminalAST @ref)
            {
                if ("EOF".Equals(@ref.Text))
                {
                    // this is a special predefined reference
                    return;
                }

                if (g.IsLexer())
                    RuleRef(@ref, null);
            }