summaryrefslogtreecommitdiff
path: root/src/nodes/expr/nop_expr.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-08 16:59:58 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-08 16:59:58 +0300
commit357edaab230f7f687cdd8b2cead67292efbd39d7 (patch)
treee9f7b99809eef16a1cbd3b0d44a0e679d31c0e6b /src/nodes/expr/nop_expr.h
parent1a2560fe30f37a98429ba995abe7fb6d1d33bf74 (diff)
downloadparanucker-357edaab230f7f687cdd8b2cead67292efbd39d7.tar.gz
paranucker-357edaab230f7f687cdd8b2cead67292efbd39d7.tar.bz2
paranucker-357edaab230f7f687cdd8b2cead67292efbd39d7.tar.xz
paranucker-357edaab230f7f687cdd8b2cead67292efbd39d7.zip
Add parsing node NOP_EXPR.
Diffstat (limited to 'src/nodes/expr/nop_expr.h')
-rw-r--r--src/nodes/expr/nop_expr.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/nodes/expr/nop_expr.h b/src/nodes/expr/nop_expr.h
new file mode 100644
index 0000000..cae57c5
--- /dev/null
+++ b/src/nodes/expr/nop_expr.h
@@ -0,0 +1,35 @@
+/*
+ * 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/>.
+ */
+
+#ifndef NODES_EXPR_NOPEXPRNODE_H
+#define NODES_EXPR_NOPEXPRNODE_H
+
+#include "nodes/base/expr.h"
+
+#include <string>
+
+struct NopExprNode : public ExprNode
+{
+ NopExprNode() :
+ ExprNode()
+ {
+ }
+};
+
+#endif // NODES_EXPR_NOPEXPRNODE_H