diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-12 19:39:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-12 19:39:08 +0300 |
commit | f520d05b07db6b103ebfbdcfb95e4d54dff0b71b (patch) | |
tree | e4ffc93e1bbaade9ef5eed1c5ffbf9f2213f05d4 /src/parsers/expr | |
parent | 6bad12e5826b3307eda0bb4a5ab5323c1c843b10 (diff) | |
download | paranucker-f520d05b07db6b103ebfbdcfb95e4d54dff0b71b.tar.gz paranucker-f520d05b07db6b103ebfbdcfb95e4d54dff0b71b.tar.bz2 paranucker-f520d05b07db6b103ebfbdcfb95e4d54dff0b71b.tar.xz paranucker-f520d05b07db6b103ebfbdcfb95e4d54dff0b71b.zip |
Add parsiing node TRUTH_ORIF_EXPR.
Diffstat (limited to 'src/parsers/expr')
-rw-r--r-- | src/parsers/expr/truthorif_expr.cpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/parsers/expr/truthorif_expr.cpp b/src/parsers/expr/truthorif_expr.cpp new file mode 100644 index 0000000..1a41891 --- /dev/null +++ b/src/parsers/expr/truthorif_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(TruthOrIfExpr); + +#include "parsers/base/expr.h" + +#include "nodes/expr/truthorif_expr.h" + +namespace Generic +{ + +void parseTruthOrIfExprNode(TruthOrIfExprNode *node) +{ + fillType(node); + fillExprLocation(node); + Log::dump(node); + + fillExprOperands(node); +} + +} |