コード例 #1
0
        /// <summary>
        /// Lexicals and syntactical errors.
        /// </summary>
        /// <returns><c>true</c>, if lexical or syntactical errors were found, <c>false</c> otherwise.</returns>
        private bool lexicalAndSyntacticalErrors()
        {
            bool errors = false;

            if (scanner != null)
            {
                errors |= scanner.getErrors().Count != 0;
            }

            if (parser != null)
            {
                errors |= parser.getErrors().Count != 0;
            }

            return(errors);
        }