#include "compat.h"
#include "el.h"
#include "tokenizer.h"
#include "builtins.h"
#include <stdlib.h>
Go to the source code of this file.
Functions | |
el_protected int | parse_line (EditLine_t *el, const char *line) |
el_public int | el_parse (EditLine_t *el, int argc, const char *argv[]) |
el_protected int | parse__escape (const char **const ptr) |
el_protected char * | parse__string (char *out, const char *in) |
el_protected int | parse_cmd (EditLine_t *el, const char *cmd) |
el_public int el_parse | ( | EditLine_t * | el, | |
int | argc, | |||
const char * | argv[] | |||
) |
Definition at line 92 of file parse.cxx.
References el_builtin_by_name(), el_free, el_malloc, el_match(), ElBuiltin_t::fFunc, EditLine_t::fProg, i, l, NULL, ptr, size_t, and void.
el_protected int parse__escape | ( | const char **const | ptr | ) |
Definition at line 143 of file parse.cxx.
References c, xmlio::cnt, and p.
Referenced by parse__string().
el_protected char* parse__string | ( | char * | out, | |
const char * | in | |||
) |
Definition at line 227 of file parse.cxx.
References n, NULL, and parse__escape().
Referenced by map_bind().
el_protected int parse_cmd | ( | EditLine_t * | el, | |
const char * | cmd | |||
) |
Definition at line 259 of file parse.cxx.
References b, ElMap_t::fHelp, EditLine_t::fMap, and NULL.
Referenced by map_bind().
el_protected int parse_line | ( | EditLine_t * | el, | |
const char * | line | |||
) |
Definition at line 75 of file parse.cxx.
References argc, el_parse(), NULL, tok_end(), tok_init(), and tok_line().
Referenced by ed_command(), and el_source().