diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-12 19:11:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-12 19:11:34 +0300 |
commit | 580841b99df83c3a833c419d5b104fcff7a12497 (patch) | |
tree | 94eaf302b93cf5329b0c0ca82f636ac8ecb7d90a /src/parsers | |
parent | 10ca3e906acfea71659401747d96b699fc801e8a (diff) | |
download | paranucker-580841b99df83c3a833c419d5b104fcff7a12497.tar.gz paranucker-580841b99df83c3a833c419d5b104fcff7a12497.tar.bz2 paranucker-580841b99df83c3a833c419d5b104fcff7a12497.tar.xz paranucker-580841b99df83c3a833c419d5b104fcff7a12497.zip |
Add parsing node VIEW_CONVERT_EXPR.
Diffstat (limited to 'src/parsers')
-rw-r--r-- | src/parsers/expr/viewconvert_expr.cpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/parsers/expr/viewconvert_expr.cpp b/src/parsers/expr/viewconvert_expr.cpp new file mode 100644 index 0000000..fe7f14d --- /dev/null +++ b/src/parsers/expr/viewconvert_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(ViewConvertExpr); + +#include "parsers/base/expr.h" + +#include "nodes/expr/viewconvert_expr.h" + +namespace Generic +{ + +void parseViewConvertExprNode(ViewConvertExprNode *node) +{ + fillType(node); + fillExprLocation(node); + Log::dump(node); + + fillExprOperands(node); +} + +} |