aboutsummaryrefslogtreecommitdiff
path: root/include/eval.h
blob: 00f466a7af38a764ececcb373943a8fdefdcadc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

#pragma once

#include "all.h"
#include "lang_analysis/lexer_class.h"

namespace ov4
{
int eval_exe(const std::string &s, bool is_async);
int eval_exe(const std::string &s, bool is_async, const T_lexer *lexer_instance, size_t i);
int eval_tree_cd(size_t i, const T_lexer &lexer_instance, bool inside_subshell);
void eval(char *cmdline);
void eval_err(int err);

}