summaryrefslogtreecommitdiff
path: root/src/parsers/expr
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-12 21:27:53 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-12 21:27:53 +0300
commit73ee70432eee4aa415f882215475e3efab9f1d4d (patch)
treece0ff93a8c254cec9b7a42869a5214a01e5170fc /src/parsers/expr
parentd804778d0c4a809ca854ffa7ba77cad5bea53de0 (diff)
downloadparanucker-73ee70432eee4aa415f882215475e3efab9f1d4d.tar.gz
paranucker-73ee70432eee4aa415f882215475e3efab9f1d4d.tar.bz2
paranucker-73ee70432eee4aa415f882215475e3efab9f1d4d.tar.xz
paranucker-73ee70432eee4aa415f882215475e3efab9f1d4d.zip
Add parsinig node MUST_NOT_THROW_EXCEPTION.
Diffstat (limited to 'src/parsers/expr')
-rw-r--r--src/parsers/expr/mustnotthrow_expr.cpp40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/parsers/expr/mustnotthrow_expr.cpp b/src/parsers/expr/mustnotthrow_expr.cpp
new file mode 100644
index 0000000..ed3e434
--- /dev/null
+++ b/src/parsers/expr/mustnotthrow_expr.cpp
@@ -0,0 +1,40 @@
+/*
+ * Copyright (C) 2015 Andrei Karas
+ *
+ * This file is part of AstDumper.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "includes/parserincludes.h"
+
+parserDefine(MustNotThrowExpr);
+
+#include "parsers/base/expr.h"
+
+#include "nodes/expr/mustnotthrow_expr.h"
+
+namespace Generic
+{
+
+void parseMustNotThrowExprNode(MustNotThrowExprNode *node)
+{
+ fillType(node);
+ fillExprLocation(node);
+ Log::dump(node);
+
+ fillExprOperands(node);
+}
+
+}