unify operator weights, add recursive weight method to TreeNode
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
#include <vector>
|
||||
#include "expression.hpp"
|
||||
#include "dyn-pipeline.hpp"
|
||||
|
||||
namespace Syntax
|
||||
{
|
||||
@@ -11,6 +10,5 @@ int prepare_token_vector(std::vector<Expression::Token>& tv);
|
||||
std::vector<Expression::Operation> build_op_vector(const std::vector<Expression::Token>& tv);
|
||||
Expression::TreeNode ov_to_tree(const std::vector<Expression::Token>& tv, const std::vector<Expression::Operation>& ov);
|
||||
void print_op_tree(const std::vector<Expression::Token>& tv, const std::vector<Expression::Operation>& ov);
|
||||
int op_weight(DynamicPipeline::CommandType o);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user