Antlr4.Tool.ErrorManager.Panic C# (CSharp) Method

Panic() public method

public Panic ( ErrorType errorType ) : void
errorType ErrorType
return void
        public virtual void Panic(ErrorType errorType, params object[] args)
        {
            ToolMessage msg = new ToolMessage(errorType, args);
            Template msgST = GetMessageTemplate(msg);
            string outputMsg = msgST.Render();
            if (FormatWantsSingleLineMessage())
            {
                outputMsg = outputMsg.Replace('\n', ' ');
            }
            Panic(outputMsg);
        }

Same methods

ErrorManager::Panic ( ) : void
ErrorManager::Panic ( string msg ) : void