Sketched rough parser code construction including some SQL AST classes.

This commit is contained in:
eelke 2018-06-19 19:52:56 +02:00
parent f3898599fd
commit 5b20f900fc
15 changed files with 459 additions and 4 deletions

19
core/SqlAstExpression.h Normal file
View file

@ -0,0 +1,19 @@
#ifndef SQLASTEXPRESSION_H
#define SQLASTEXPRESSION_H
#include "SqlAstNode.h"
class SqlParser;
namespace SqlAst {
/// Base class for parts of expressions like calculations, comparisons, function calls etc...
class Expression: public Node {
};
std::shared_ptr<SqlAst::Expression> parseExpression(SqlParser &parser);
}
#endif // SQLASTEXPRESSION_H