Rewrite parser_t::eval_args to use new AST parser

This commit is contained in:
ridiculousfish
2014-03-17 08:45:25 -07:00
parent 1305c02579
commit 1c58b6d83e
4 changed files with 43 additions and 69 deletions

View File

@@ -340,15 +340,12 @@ class parser_t
/**
Evaluate line as a list of parameters, i.e. tokenize it and perform parameter expansion and cmdsubst execution on the tokens.
The output is inserted into output.
Errors are ignored.
\param line Line to evaluate
\param output List to insert output to
\param arg_src String to evaluate as an argument list
\param output List to insert output into
*/
/**
\param line Line to evaluate
\param output List to insert output to
*/
void eval_args(const wchar_t *line, std::vector<completion_t> &output);
void eval_args(const wcstring &arg_src, std::vector<completion_t> &output);
/**
Sets the current evaluation error. This function should only be used by libraries that are called by