Compare commits
2 Commits
a51be01072
...
f3a43fdafc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f3a43fdafc | ||
|
|
4074c541c3 |
7
parser.h
7
parser.h
@@ -175,9 +175,6 @@ struct FunctionNode : Node {
|
||||
};
|
||||
|
||||
|
||||
Type function;
|
||||
std::vector<std::unique_ptr<Node>> params;
|
||||
|
||||
FunctionNode(std::string func_name, std::vector<std::unique_ptr<Node>> pars) :
|
||||
Node(NodeType::function), function(get_function(func_name)), params(std::move(pars)) {}
|
||||
|
||||
@@ -199,6 +196,9 @@ struct FunctionNode : Node {
|
||||
}
|
||||
std::cout << ")" << std::endl;
|
||||
}
|
||||
|
||||
Type function;
|
||||
std::vector<std::unique_ptr<Node>> params;
|
||||
};
|
||||
|
||||
struct TrueNode : Node {
|
||||
@@ -581,7 +581,6 @@ struct CreateIndexNode : Node {
|
||||
};
|
||||
|
||||
class Parser {
|
||||
private:
|
||||
public:
|
||||
Parser();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user