diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-12-27 01:38:43 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-12-27 01:38:43 -0800 |
commit | 6ce4b344e45baaa06bf593a5c0983da7a22eb64e (patch) | |
tree | 2358b60e771c42d29aeb26a03dd95f22cbd8ca15 /parser.h | |
parent | a6ca809a4e4873f3fd16e4a763001a109afc2185 (diff) |
Hook up for statements, if statements, and function definition in new
parser
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -336,6 +336,9 @@ private: /** Create a job */ job_t *job_create(const io_chain_t &io); + + /** Adds a job to the beginning of the job list. */ + void job_add(job_t *job); public: std::vector<profile_item_t*> profile_items; @@ -377,6 +380,9 @@ public: int eval(const wcstring &cmd_str, const io_chain_t &io, enum block_type_t block_type); int eval_new_parser(const wcstring &cmd, const io_chain_t &io, enum block_type_t block_type); + /** Evaluates a block node at the given node offset in the topmost execution context */ + int eval_block_node(node_offset_t node_idx, const io_chain_t &io, enum block_type_t block_type); + /** 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. |