8 #ifndef SRC_PARSING_PARSING_INTERFACE_H 9 #define SRC_PARSING_PARSING_INTERFACE_H bool append
Definition: parsing_interface.h:24
Command structures and functions for defining and managing commands.
void destroy_parser()
Cleanup memory dynamically allocated by the parser.
Definition: parsing_interface.c:312
Contains information about the properties of the command.
Definition: command.h:207
char * interpret_complex_string_token(const char *str)
Clean up a string by removing escape symbols and unescaped single quotes. Also expands any environmen...
Definition: parsing_interface.c:219
char * in
Definition: parsing_interface.h:22
CommandHolder * parse(QuashState *state)
Handles the call to the parser and provides a string equivalent of the Command structure to QuashStat...
Definition: parsing_interface.c:295
Double ended queue generators specialized to any given type.
Intermediate parsing structure used to determine the final configuration of the redirects in a comman...
Definition: parsing_interface.h:21
char * out
Definition: parsing_interface.h:23
Redirect mk_redirect(char *in, char *out, bool append)
Creates an intermediate Redirect structure and returns a copy.
Definition: parsing_interface.c:286
Holds information about the state and environment Quash is running in.
Definition: quash.h:19
#define PROTOTYPE_DEQUE(struct_name, type)
Generates prototypes for functions that manipulate Double Ended Queue structures. ...
Definition: deque.h:60
#define IMPLEMENT_DEQUE_STRUCT(struct_name, type)
Generates a structure for use with Double Ended Queues.
Definition: deque.h:33
struct Redirect Redirect
Intermediate parsing structure used to determine the final configuration of the redirects in a comman...