Have Lex read from a string and not from stdin. Essentially, the interpreter needs to call yylex() until EOF, and call TAO_Lex_String_Input::reset() with the new string, prior to calling yyparse.
More...
#include <Interpreter.h>
|
static void | reset (char *input_string) |
| Reset the lex input. More...
|
|
static int | copy_into (char *buf, int max_size) |
| Method lex will call to read from the input string. More...
|
|
Have Lex read from a string and not from stdin. Essentially, the interpreter needs to call yylex() until EOF, and call TAO_Lex_String_Input::reset() with the new string, prior to calling yyparse.
int TAO_Lex_String_Input::copy_into |
( |
char * |
buf, |
|
|
int |
max_size |
|
) |
| |
|
static |
Method lex will call to read from the input string.
void TAO_Lex_String_Input::reset |
( |
char * |
input_string | ) |
|
|
static |
char * TAO_Lex_String_Input::current_ = 0 |
|
staticprivate |
char * TAO_Lex_String_Input::end_ = 0 |
|
staticprivate |
char * TAO_Lex_String_Input::string_ = 0 |
|
staticprivate |
Pointers to keep track of the input string.
The documentation for this class was generated from the following files: