Antlr4.Automata.LexerATNFactory.CheckSetCollision C# (CSharp) Method

CheckSetCollision() protected method

protected CheckSetCollision ( GrammarAST ast, Antlr4.Runtime.Misc.IntervalSet set, int el ) : void
ast Antlr4.Tool.Ast.GrammarAST
set Antlr4.Runtime.Misc.IntervalSet
el int
return void
        protected virtual void CheckSetCollision(GrammarAST ast, IntervalSet set, int el)
        {
            if (set.Contains(el))
            {
                g.tool.errMgr.GrammarError(ErrorType.CHARACTERS_COLLISION_IN_SET, g.fileName, ast.Token,
                        (char)el, ast.Text);
            }
        }

Same methods

LexerATNFactory::CheckSetCollision ( GrammarAST ast, Antlr4.Runtime.Misc.IntervalSet set, int a, int b ) : void