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

VerifyFormat() protected method

protected VerifyFormat ( ) : bool
return bool
        protected virtual bool VerifyFormat()
        {
            bool ok = true;
            if (!format.IsDefined("location"))
            {
                Console.Error.WriteLine("Format template 'location' not found in " + formatName);
                ok = false;
            }
            if (!format.IsDefined("message"))
            {
                Console.Error.WriteLine("Format template 'message' not found in " + formatName);
                ok = false;
            }
            if (!format.IsDefined("report"))
            {
                Console.Error.WriteLine("Format template 'report' not found in " + formatName);
                ok = false;
            }
            return ok;
        }