Interpreter.frontend.pascal.PascalErrorCode.ToString C# (CSharp) Method

ToString() public method

public ToString ( ) : string
return string
        public override string ToString()
        {
            return message;
        }

Usage Example

Ejemplo n.º 1
0
        public void abortTranslation(PascalErrorCode errorCode, Parser parser)
        {
            String fatalText = "FATAL ERROR: " + errorCode.ToString();

            parser.sendMessage(new Message(MessageType.SYNTAX_ERROR, new Object[] { 0, 0, "", fatalText }));
            Environment.Exit(errorCode.status);
        }
All Usage Examples Of Interpreter.frontend.pascal.PascalErrorCode::ToString