#ifndef __6D_VALUES_ERROR_H #define __6D_VALUES_ERROR_H /* 6D programming language Copyright (C) 2011 Danny Milosavljevic This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include "6D/Values" #include "Values/Values" BEGIN_NAMESPACE_6D(Values) BEGIN_STRUCT_6D(Error) NodeT kind; NodeT expectedInput; NodeT gotInput; NodeT context; END_STRUCT_6D(Error) NodeT parsingError(NodeT aExpectedInput, NodeT aGotInput) G_5D_PURE; bool errorP(NodeT n) G_5D_PURE; NodeT evaluationError(NodeT aExpectedInput, NodeT aGotInput, NodeT aContext) G_5D_PURE; NodeT errorKind(NodeT node) G_5D_PURE; NodeT errorExpectedInput(NodeT node) G_5D_PURE; NodeT errorGotInput(NodeT node) G_5D_PURE; NodeT errorContext(NodeT node) G_5D_PURE; END_NAMESPACE_6D(Values) #endif /* ndef __6D_VALUES_ERROR_H */