Antlr4.Semantics.SemanticPipeline.IdentifyStartRules C# (CSharp) Method

IdentifyStartRules() private method

private IdentifyStartRules ( SymbolCollector collector ) : void
collector SymbolCollector
return void
        internal virtual void IdentifyStartRules(SymbolCollector collector)
        {
            foreach (GrammarAST @ref in collector.rulerefs)
            {
                string ruleName = @ref.Text;
                Rule r = g.GetRule(ruleName);
                if (r != null)
                    r.isStartRule = false;
            }
        }