KSeExpr 6.0.0.0
ExprParser.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2011-2019 Disney Enterprises, Inc.
2// SPDX-License-Identifier: LicenseRef-Apache-2.0
3// SPDX-FileCopyrightText: 2020 L. E. Segovia <amy@amyspark.me>
4// SPDX-License-Identifier: GPL-3.0-or-later
5
6#ifndef ExprParser_h
7#define ExprParser_h
8
9#ifndef MAKEDEPEND
10#include <string>
11#endif
12
13#include "Expression.h"
14#include "ErrorCode.h"
15#include "ExprNode.h"
16
17namespace KSeExpr {
20 std::vector<std::string>& errorIds,
21 int& errorStart,
22 int& errorEnd,
23 std::vector<std::pair<int, int> >& _comments,
24 const KSeExpr::Expression* expr,
25 const char* str,
26 bool wantVec = true);
27}
28
29#endif
main expression class
Definition Expression.h:67
bool ExprParse(KSeExpr::ExprNode *&parseTree, KSeExpr::ErrorCode &errorCode, std::vector< std::string > &errorIds, int &errorStart, int &errorEnd, std::vector< std::pair< int, int > > &_comments, const KSeExpr::Expression *expr, const char *str, bool wantVec=true)