#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <iostream>
#include "OSConfig.h"
#include "OSErrorClass.h"
#include <sstream>
#include "OSCommandLine.h"
#include <unistd.h>
Go to the source code of this file.
Classes | |
struct | yy_buffer_state |
struct | yy_trans_info |
struct | yyguts_t |
Macros | |
#define | YY_INT_ALIGNED short int |
#define | FLEX_SCANNER |
#define | YY_FLEX_MAJOR_VERSION 2 |
#define | YY_FLEX_MINOR_VERSION 5 |
#define | YY_FLEX_SUBMINOR_VERSION 35 |
#define | FLEX_BETA |
#define | FLEXINT_H |
#define | INT8_MIN (-128) |
#define | INT16_MIN (-32767-1) |
#define | INT32_MIN (-2147483647-1) |
#define | INT8_MAX (127) |
#define | INT16_MAX (32767) |
#define | INT32_MAX (2147483647) |
#define | UINT8_MAX (255U) |
#define | UINT16_MAX (65535U) |
#define | UINT32_MAX (4294967295U) |
#define | yyconst |
#define | YY_NULL 0 |
#define | YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) |
#define | YY_TYPEDEF_YY_SCANNER_T |
#define | yyin yyg->yyin_r |
#define | yyout yyg->yyout_r |
#define | yyextra yyg->yyextra_r |
#define | yyleng yyg->yyleng_r |
#define | yytext yyg->yytext_r |
#define | yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno) |
#define | yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column) |
#define | yy_flex_debug yyg->yy_flex_debug_r |
#define | BEGIN yyg->yy_start = 1 + 2 * |
#define | YY_START ((yyg->yy_start - 1) / 2) |
#define | YYSTATE YY_START |
#define | YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) |
#define | YY_NEW_FILE osssrestart(yyin ,yyscanner ) |
#define | YY_END_OF_BUFFER_CHAR 0 |
#define | YY_BUF_SIZE 16384 |
#define | YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
#define | YY_TYPEDEF_YY_BUFFER_STATE |
#define | EOB_ACT_CONTINUE_SCAN 0 |
#define | EOB_ACT_END_OF_FILE 1 |
#define | EOB_ACT_LAST_MATCH 2 |
#define | YY_LESS_LINENO(n) |
#define | yyless(n) |
#define | unput(c) yyunput( c, yyg->yytext_ptr , yyscanner ) |
#define | YY_TYPEDEF_YY_SIZE_T |
#define | YY_STRUCT_YY_BUFFER_STATE |
#define | YY_BUFFER_NEW 0 |
#define | YY_BUFFER_NORMAL 1 |
#define | YY_BUFFER_EOF_PENDING 2 |
#define | YY_CURRENT_BUFFER |
#define | YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] |
#define | YY_FLUSH_BUFFER osss_flush_buffer(YY_CURRENT_BUFFER ,yyscanner) |
#define | yy_new_buffer osss_create_buffer |
#define | yy_set_interactive(is_interactive) |
#define | yy_set_bol(at_bol) |
#define | YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
#define | ossswrap(n) 1 |
#define | YY_SKIP_YYWRAP |
#define | yytext_ptr yytext_r |
#define | YY_DO_BEFORE_ACTION |
#define | YY_NUM_RULES 60 |
#define | YY_END_OF_BUFFER 61 |
#define | REJECT reject_used_but_not_detected |
#define | yymore() yymore_used_but_not_detected |
#define | YY_MORE_ADJ 0 |
#define | YY_RESTORE_YY_MORE_OFFSET |
#define | YY_PRINT |
#define | YY_EXTRA_TYPE class OSCommandLine* |
#define | INITIAL 0 |
INPUTS: -osil xxx.osil (file name on local machine of optimization instance, this is "" by default, however if this remains "" a problem instance must be specified in the osol file) -osol xxx.osol (file name on local machine of solver options, default default value is "") -osrl xxx.osrl (file name on local machine where the optimization result is put, default is "") -serviceLocation location URL (the URL of the server that is called remotely if the problem not solved locally, default is "") -serviceMethod (send, solve, kill, knock, getJobID, retrieve, default value is solve) -osplInput xxx.ospl (Not used for now – ignore) -osplOutput xxx.ospl (Not used for now – ignore) -mps xxxx.mps (converts mps format to osil and has same effect as -osil) -nl xxxx.nl (converts nl format to osil and has same effect as -osil) -solver solverName (the name of the solver to be invoked) -browser path location to browser e.g. More... | |
#define | YY_READ_BUF_SIZE 8192 |
#define | ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) |
#define | YY_INPUT(buf, result, max_size) |
#define | yyterminate() return YY_NULL |
#define | YY_START_STACK_INCR 25 |
#define | YY_FATAL_ERROR(msg) yy_fatal_error( msg , yyscanner) |
#define | YY_DECL_IS_OURS 1 |
#define | YY_DECL int ossslex (yyscan_t yyscanner) |
#define | YY_USER_ACTION |
#define | YY_BREAK break; |
#define | YY_RULE_SETUP YY_USER_ACTION |
#define | YY_EXIT_FAILURE 2 |
#define | yyless(n) |
#define | YYTABLES_NAME "yytables" |
Typedefs | |
typedef signed char | flex_int8_t |
typedef short int | flex_int16_t |
typedef int | flex_int32_t |
typedef unsigned char | flex_uint8_t |
typedef unsigned short int | flex_uint16_t |
typedef unsigned int | flex_uint32_t |
typedef void * | yyscan_t |
typedef struct yy_buffer_state * | YY_BUFFER_STATE |
typedef size_t | yy_size_t |
typedef unsigned char | YY_CHAR |
typedef int | yy_state_type |
Functions | |
void | osssrestart (FILE *input_file, yyscan_t yyscanner) |
Immediately switch to a different input stream. More... | |
void | osss_switch_to_buffer (YY_BUFFER_STATE new_buffer, yyscan_t yyscanner) |
Switch to a different input buffer. More... | |
YY_BUFFER_STATE | osss_create_buffer (FILE *file, int size, yyscan_t yyscanner) |
Allocate and initialize an input buffer state. More... | |
void | osss_delete_buffer (YY_BUFFER_STATE b, yyscan_t yyscanner) |
Destroy the buffer. More... | |
void | osss_flush_buffer (YY_BUFFER_STATE b, yyscan_t yyscanner) |
Discard all buffered characters. More... | |
void | ossspush_buffer_state (YY_BUFFER_STATE new_buffer, yyscan_t yyscanner) |
Pushes the new state onto the stack. More... | |
void | ossspop_buffer_state (yyscan_t yyscanner) |
Removes and deletes the top of the stack, if present. More... | |
static void | osssensure_buffer_stack (yyscan_t yyscanner) |
static void | osss_load_buffer_state (yyscan_t yyscanner) |
static void | osss_init_buffer (YY_BUFFER_STATE b, FILE *file, yyscan_t yyscanner) |
YY_BUFFER_STATE | osss_scan_buffer (char *base, yy_size_t size, yyscan_t yyscanner) |
Setup the input buffer state to scan directly from a user-specified character buffer. More... | |
YY_BUFFER_STATE | osss_scan_string (yyconst char *yystr, yyscan_t yyscanner) |
Setup the input buffer state to scan a string. More... | |
YY_BUFFER_STATE | osss_scan_bytes (yyconst char *yybytes, int _yybytes_len, yyscan_t yyscanner) |
Setup the input buffer state to scan the given bytes. More... | |
void * | osssalloc (yy_size_t, yyscan_t yyscanner) |
void * | osssrealloc (void *, yy_size_t, yyscan_t yyscanner) |
void | osssfree (void *, yyscan_t yyscanner) |
static yy_state_type | yy_get_previous_state (yyscan_t yyscanner) |
static yy_state_type | yy_try_NUL_trans (yy_state_type current_state, yyscan_t yyscanner) |
static int | yy_get_next_buffer (yyscan_t yyscanner) |
static void | yy_fatal_error (yyconst char msg[], yyscan_t yyscanner) |
void | setyyextra (OSCommandLine *oscommandline, void *scanner) |
static int | yy_init_globals (yyscan_t yyscanner) |
int | ossslex_init (yyscan_t *scanner) |
int | ossslex_init_extra (YY_EXTRA_TYPE user_defined, yyscan_t *scanner) |
int | ossslex_destroy (yyscan_t yyscanner) |
int | osssget_debug (yyscan_t yyscanner) |
void | osssset_debug (int debug_flag, yyscan_t yyscanner) |
YY_EXTRA_TYPE | osssget_extra (yyscan_t yyscanner) |
Get the user-defined data for this scanner. More... | |
void | osssset_extra (YY_EXTRA_TYPE user_defined, yyscan_t yyscanner) |
Set the user-defined data. More... | |
FILE * | osssget_in (yyscan_t yyscanner) |
Get the input stream. More... | |
void | osssset_in (FILE *in_str, yyscan_t yyscanner) |
Set the input stream. More... | |
FILE * | osssget_out (yyscan_t yyscanner) |
Get the output stream. More... | |
void | osssset_out (FILE *out_str, yyscan_t yyscanner) |
int | osssget_leng (yyscan_t yyscanner) |
Get the length of the current token. More... | |
char * | osssget_text (yyscan_t yyscanner) |
Get the current token. More... | |
int | osssget_lineno (yyscan_t yyscanner) |
Get the current line number. More... | |
void | osssset_lineno (int line_number, yyscan_t yyscanner) |
Set the current line number. More... | |
static int | input (yyscan_t yyscanner) |
int | ossslex (yyscan_t yyscanner) |
if (!yyg->yy_init) | |
while (1) | |
int | isatty (int) |
static void | yy_fatal_error (yyconst char *msg, yyscan_t yyscanner) |
int | osssget_column (yyscan_t yyscanner) |
Get the current column number. More... | |
void | osssset_column (int column_no, yyscan_t yyscanner) |
Set the current column. More... | |
Variables | |
static yyconst flex_int16_t | yy_accept [568] |
static yyconst flex_int32_t | yy_ec [256] |
static yyconst flex_int32_t | yy_meta [41] |
static yyconst flex_int16_t | yy_base [648] |
static yyconst flex_int16_t | yy_def [648] |
static yyconst flex_int16_t | yy_nxt [1006] |
static yyconst flex_int16_t | yy_chk [1006] |
static yyconst flex_int32_t | yy_rule_can_match_eol [61] |
YY_DECL | |
The main scanner function which does all the work. More... | |
register char * | yy_cp |
register char * | yy_bp |
register int | yy_act |
struct yyguts_t * | yyg = (struct yyguts_t*)yyscanner |
#define YY_INT_ALIGNED short int |
Definition at line 5 of file OSParseosss.cpp.
#define FLEX_SCANNER |
Definition at line 9 of file OSParseosss.cpp.
#define YY_FLEX_MAJOR_VERSION 2 |
Definition at line 10 of file OSParseosss.cpp.
#define YY_FLEX_MINOR_VERSION 5 |
Definition at line 11 of file OSParseosss.cpp.
#define YY_FLEX_SUBMINOR_VERSION 35 |
Definition at line 12 of file OSParseosss.cpp.
#define FLEX_BETA |
Definition at line 14 of file OSParseosss.cpp.
#define FLEXINT_H |
Definition at line 30 of file OSParseosss.cpp.
#define INT8_MIN (-128) |
Definition at line 60 of file OSParseosss.cpp.
#define INT16_MIN (-32767-1) |
Definition at line 63 of file OSParseosss.cpp.
#define INT32_MIN (-2147483647-1) |
Definition at line 66 of file OSParseosss.cpp.
#define INT8_MAX (127) |
Definition at line 69 of file OSParseosss.cpp.
#define INT16_MAX (32767) |
Definition at line 72 of file OSParseosss.cpp.
#define INT32_MAX (2147483647) |
Definition at line 75 of file OSParseosss.cpp.
#define UINT8_MAX (255U) |
Definition at line 78 of file OSParseosss.cpp.
#define UINT16_MAX (65535U) |
Definition at line 81 of file OSParseosss.cpp.
#define UINT32_MAX (4294967295U) |
Definition at line 84 of file OSParseosss.cpp.
#define yyconst |
Definition at line 109 of file OSParseosss.cpp.
#define YY_NULL 0 |
Definition at line 113 of file OSParseosss.cpp.
Definition at line 120 of file OSParseosss.cpp.
#define YY_TYPEDEF_YY_SCANNER_T |
Definition at line 124 of file OSParseosss.cpp.
#define yyin yyg->yyin_r |
Definition at line 130 of file OSParseosss.cpp.
#define yyout yyg->yyout_r |
Definition at line 131 of file OSParseosss.cpp.
#define yyextra yyg->yyextra_r |
Definition at line 132 of file OSParseosss.cpp.
#define yyleng yyg->yyleng_r |
Definition at line 133 of file OSParseosss.cpp.
#define yytext yyg->yytext_r |
Definition at line 134 of file OSParseosss.cpp.
#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno) |
Definition at line 135 of file OSParseosss.cpp.
#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column) |
Definition at line 136 of file OSParseosss.cpp.
#define yy_flex_debug yyg->yy_flex_debug_r |
Definition at line 137 of file OSParseosss.cpp.
#define BEGIN yyg->yy_start = 1 + 2 * |
Definition at line 143 of file OSParseosss.cpp.
#define YY_START ((yyg->yy_start - 1) / 2) |
Definition at line 149 of file OSParseosss.cpp.
#define YYSTATE YY_START |
Definition at line 150 of file OSParseosss.cpp.
#define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
Definition at line 153 of file OSParseosss.cpp.
#define YY_NEW_FILE osssrestart(yyin ,yyscanner ) |
Definition at line 156 of file OSParseosss.cpp.
#define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 158 of file OSParseosss.cpp.
#define YY_BUF_SIZE 16384 |
Definition at line 169 of file OSParseosss.cpp.
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
Definition at line 175 of file OSParseosss.cpp.
#define YY_TYPEDEF_YY_BUFFER_STATE |
Definition at line 178 of file OSParseosss.cpp.
#define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 182 of file OSParseosss.cpp.
#define EOB_ACT_END_OF_FILE 1 |
Definition at line 183 of file OSParseosss.cpp.
#define EOB_ACT_LAST_MATCH 2 |
Definition at line 184 of file OSParseosss.cpp.
#define YY_LESS_LINENO | ( | n | ) |
Definition at line 193 of file OSParseosss.cpp.
#define yyless | ( | n | ) |
Definition at line 3044 of file OSParseosss.cpp.
#define unput | ( | c | ) | yyunput( c, yyg->yytext_ptr , yyscanner ) |
Definition at line 215 of file OSParseosss.cpp.
#define YY_TYPEDEF_YY_SIZE_T |
Definition at line 218 of file OSParseosss.cpp.
#define YY_STRUCT_YY_BUFFER_STATE |
Definition at line 223 of file OSParseosss.cpp.
#define YY_BUFFER_NEW 0 |
Definition at line 270 of file OSParseosss.cpp.
#define YY_BUFFER_NORMAL 1 |
Definition at line 271 of file OSParseosss.cpp.
#define YY_BUFFER_EOF_PENDING 2 |
Definition at line 282 of file OSParseosss.cpp.
#define YY_CURRENT_BUFFER |
Definition at line 293 of file OSParseosss.cpp.
Definition at line 300 of file OSParseosss.cpp.
#define YY_FLUSH_BUFFER osss_flush_buffer(YY_CURRENT_BUFFER ,yyscanner) |
Definition at line 314 of file OSParseosss.cpp.
#define yy_new_buffer osss_create_buffer |
Definition at line 324 of file OSParseosss.cpp.
#define yy_set_interactive | ( | is_interactive | ) |
Definition at line 326 of file OSParseosss.cpp.
#define yy_set_bol | ( | at_bol | ) |
Definition at line 336 of file OSParseosss.cpp.
#define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
Definition at line 346 of file OSParseosss.cpp.
#define ossswrap | ( | n | ) | 1 |
Definition at line 350 of file OSParseosss.cpp.
#define YY_SKIP_YYWRAP |
Definition at line 351 of file OSParseosss.cpp.
#define yytext_ptr yytext_r |
Definition at line 357 of file OSParseosss.cpp.
#define YY_DO_BEFORE_ACTION |
Definition at line 367 of file OSParseosss.cpp.
#define YY_NUM_RULES 60 |
Definition at line 374 of file OSParseosss.cpp.
#define YY_END_OF_BUFFER 61 |
Definition at line 375 of file OSParseosss.cpp.
#define REJECT reject_used_but_not_detected |
Definition at line 880 of file OSParseosss.cpp.
#define yymore | ( | ) | yymore_used_but_not_detected |
Definition at line 881 of file OSParseosss.cpp.
#define YY_MORE_ADJ 0 |
Definition at line 882 of file OSParseosss.cpp.
#define YY_RESTORE_YY_MORE_OFFSET |
Definition at line 883 of file OSParseosss.cpp.
#define YY_PRINT |
Definition at line 937 of file OSParseosss.cpp.
#define YY_EXTRA_TYPE class OSCommandLine* |
Definition at line 951 of file OSParseosss.cpp.
#define INITIAL 0 |
INPUTS: -osil xxx.osil (file name on local machine of optimization instance, this is "" by default, however if this remains "" a problem instance must be specified in the osol file) -osol xxx.osol (file name on local machine of solver options, default default value is "") -osrl xxx.osrl (file name on local machine where the optimization result is put, default is "") -serviceLocation location URL (the URL of the server that is called remotely if the problem not solved locally, default is "") -serviceMethod (send, solve, kill, knock, getJobID, retrieve, default value is solve) -osplInput xxx.ospl (Not used for now – ignore) -osplOutput xxx.ospl (Not used for now – ignore) -mps xxxx.mps (converts mps format to osil and has same effect as -osil) -nl xxxx.nl (converts nl format to osil and has same effect as -osil) -solver solverName (the name of the solver to be invoked) -browser path location to browser e.g.
/Applications/Firefox.app/Contents/MacOS/firefox (default is "")
-config pathToConfigFile is the path to a configure file with the problem parameters -insList xxx.dat (used only for LINDO, file location on local machine of LINDO instruction list) -printLevel nnn (to control the amount of output to send to stdout) -logFile xxx.log (to send a second output stream to a file — in addition to stdout) -filePrintLevel nnn (to control the amount of output to send to file)
Definition at line 988 of file OSParseosss.cpp.
#define YY_READ_BUF_SIZE 8192 |
Definition at line 1107 of file OSParseosss.cpp.
Definition at line 1116 of file OSParseosss.cpp.
#define YY_INPUT | ( | buf, | |
result, | |||
max_size | |||
) |
Definition at line 1123 of file OSParseosss.cpp.
Definition at line 1160 of file OSParseosss.cpp.
#define YY_START_STACK_INCR 25 |
Definition at line 1165 of file OSParseosss.cpp.
#define YY_FATAL_ERROR | ( | msg | ) | yy_fatal_error( msg , yyscanner) |
Definition at line 1170 of file OSParseosss.cpp.
#define YY_DECL_IS_OURS 1 |
Definition at line 1179 of file OSParseosss.cpp.
Definition at line 1183 of file OSParseosss.cpp.
#define YY_USER_ACTION |
Definition at line 1190 of file OSParseosss.cpp.
#define YY_BREAK break; |
Definition at line 1195 of file OSParseosss.cpp.
#define YY_RULE_SETUP YY_USER_ACTION |
Definition at line 1198 of file OSParseosss.cpp.
#define YY_EXIT_FAILURE 2 |
Definition at line 3032 of file OSParseosss.cpp.
#define yyless | ( | n | ) |
Definition at line 3044 of file OSParseosss.cpp.
#define YYTABLES_NAME "yytables" |
Definition at line 3377 of file OSParseosss.cpp.
typedef signed char flex_int8_t |
Definition at line 51 of file OSParseosss.cpp.
typedef short int flex_int16_t |
Definition at line 52 of file OSParseosss.cpp.
typedef int flex_int32_t |
Definition at line 53 of file OSParseosss.cpp.
typedef unsigned char flex_uint8_t |
Definition at line 54 of file OSParseosss.cpp.
typedef unsigned short int flex_uint16_t |
Definition at line 55 of file OSParseosss.cpp.
typedef unsigned int flex_uint32_t |
Definition at line 56 of file OSParseosss.cpp.
Definition at line 125 of file OSParseosss.cpp.
typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 179 of file OSParseosss.cpp.
typedef size_t yy_size_t |
Definition at line 219 of file OSParseosss.cpp.
typedef unsigned char YY_CHAR |
Definition at line 353 of file OSParseosss.cpp.
typedef int yy_state_type |
Definition at line 355 of file OSParseosss.cpp.
Immediately switch to a different input stream.
input_file | A readable stream. |
yyscanner | The scanner object. |
INITIAL
. Definition at line 2674 of file OSParseosss.cpp.
void osss_switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer, |
yyscan_t | yyscanner | ||
) |
Switch to a different input buffer.
new_buffer | The new input buffer. |
yyscanner | The scanner object. |
Definition at line 2692 of file OSParseosss.cpp.
YY_BUFFER_STATE osss_create_buffer | ( | FILE * | file, |
int | size, | ||
yyscan_t | yyscanner | ||
) |
Allocate and initialize an input buffer state.
file | A readable stream. |
size | The character buffer size in bytes. When in doubt, use YY_BUF_SIZE . |
yyscanner | The scanner object. |
Definition at line 2739 of file OSParseosss.cpp.
void osss_delete_buffer | ( | YY_BUFFER_STATE | b, |
yyscan_t | yyscanner | ||
) |
Destroy the buffer.
b | a buffer created with osss_create_buffer() |
yyscanner | The scanner object. |
Definition at line 2767 of file OSParseosss.cpp.
void osss_flush_buffer | ( | YY_BUFFER_STATE | b, |
yyscan_t | yyscanner | ||
) |
Discard all buffered characters.
On the next scan, YY_INPUT will be called.
b | the buffer state to be flushed, usually YY_CURRENT_BUFFER . |
yyscanner | The scanner object. |
Definition at line 2820 of file OSParseosss.cpp.
void ossspush_buffer_state | ( | YY_BUFFER_STATE | new_buffer, |
yyscan_t | yyscanner | ||
) |
Pushes the new state onto the stack.
The new state becomes the current state. This function will allocate the stack if necessary.
new_buffer | The new state. |
yyscanner | The scanner object. |
Definition at line 2850 of file OSParseosss.cpp.
Removes and deletes the top of the stack, if present.
The next element becomes the new top.
yyscanner | The scanner object. |
Definition at line 2881 of file OSParseosss.cpp.
Definition at line 2901 of file OSParseosss.cpp.
Definition at line 2724 of file OSParseosss.cpp.
|
static |
Definition at line 2791 of file OSParseosss.cpp.
YY_BUFFER_STATE osss_scan_buffer | ( | char * | base, |
yy_size_t | size, | ||
yyscan_t | yyscanner | ||
) |
Setup the input buffer state to scan directly from a user-specified character buffer.
base | the character buffer |
size | the size in bytes of the character buffer |
yyscanner | The scanner object. |
Definition at line 2951 of file OSParseosss.cpp.
YY_BUFFER_STATE osss_scan_string | ( | yyconst char * | yystr, |
yyscan_t | yyscanner | ||
) |
Setup the input buffer state to scan a string.
The next call to ossslex() will scan from a copy of str.
yystr | a NUL-terminated string to scan |
yyscanner | The scanner object. |
Definition at line 2988 of file OSParseosss.cpp.
YY_BUFFER_STATE osss_scan_bytes | ( | yyconst char * | yybytes, |
int | _yybytes_len, | ||
yyscan_t | yyscanner | ||
) |
Setup the input buffer state to scan the given bytes.
The next call to ossslex() will scan from a copy of bytes.
yybytes | the byte buffer to scan |
_yybytes_len | the number of bytes in the buffer pointed to by bytes. |
yyscanner | The scanner object. |
Definition at line 3001 of file OSParseosss.cpp.
Definition at line 3355 of file OSParseosss.cpp.
Definition at line 3360 of file OSParseosss.cpp.
Definition at line 3372 of file OSParseosss.cpp.
|
static |
Definition at line 2530 of file OSParseosss.cpp.
|
static |
Definition at line 2563 of file OSParseosss.cpp.
Definition at line 2395 of file OSParseosss.cpp.
void setyyextra | ( | OSCommandLine * | oscommandline, |
void * | scanner | ||
) |
Definition at line 3383 of file OSParseosss.cpp.
Definition at line 3268 of file OSParseosss.cpp.
Definition at line 3211 of file OSParseosss.cpp.
int ossslex_init_extra | ( | YY_EXTRA_TYPE | user_defined, |
yyscan_t * | scanner | ||
) |
Definition at line 3240 of file OSParseosss.cpp.
Definition at line 3302 of file OSParseosss.cpp.
Definition at line 3190 of file OSParseosss.cpp.
Definition at line 3196 of file OSParseosss.cpp.
YY_EXTRA_TYPE osssget_extra | ( | yyscan_t | yyscanner | ) |
Get the user-defined data for this scanner.
yyscanner | The scanner object. |
Definition at line 3063 of file OSParseosss.cpp.
void osssset_extra | ( | YY_EXTRA_TYPE | user_defined, |
yyscan_t | yyscanner | ||
) |
Set the user-defined data.
This data is never touched by the scanner.
user_defined | The data to be associated with this scanner. |
yyscanner | The scanner object. |
Definition at line 3136 of file OSParseosss.cpp.
FILE * osssget_in | ( | yyscan_t | yyscanner | ) |
Get the input stream.
yyscanner | The scanner object. |
Definition at line 3098 of file OSParseosss.cpp.
Set the input stream.
This does not discard the current input buffer.
in_str | A readable stream. |
yyscanner | The scanner object. |
Definition at line 3178 of file OSParseosss.cpp.
FILE * osssget_out | ( | yyscan_t | yyscanner | ) |
Get the output stream.
yyscanner | The scanner object. |
Definition at line 3107 of file OSParseosss.cpp.
Definition at line 3184 of file OSParseosss.cpp.
Get the length of the current token.
yyscanner | The scanner object. |
Definition at line 3116 of file OSParseosss.cpp.
char * osssget_text | ( | yyscan_t | yyscanner | ) |
Get the current token.
yyscanner | The scanner object. |
Definition at line 3126 of file OSParseosss.cpp.
Get the current line number.
yyscanner | The scanner object. |
Definition at line 3072 of file OSParseosss.cpp.
Set the current line number.
line_number | |
yyscanner | The scanner object. |
Definition at line 3146 of file OSParseosss.cpp.
Definition at line 2591 of file OSParseosss.cpp.
if | ( | !yyg-> | yy_init | ) |
Definition at line 1215 of file OSParseosss.cpp.
while | ( | 1 | ) |
Definition at line 1241 of file OSParseosss.cpp.
Definition at line 3035 of file OSParseosss.cpp.
Get the current column number.
yyscanner | The scanner object. |
Definition at line 3085 of file OSParseosss.cpp.
Set the current column.
line_number | |
yyscanner | The scanner object. |
Definition at line 3161 of file OSParseosss.cpp.
|
static |
Definition at line 383 of file OSParseosss.cpp.
|
static |
Definition at line 449 of file OSParseosss.cpp.
|
static |
Definition at line 481 of file OSParseosss.cpp.
|
static |
Definition at line 489 of file OSParseosss.cpp.
|
static |
Definition at line 564 of file OSParseosss.cpp.
|
static |
Definition at line 639 of file OSParseosss.cpp.
|
static |
Definition at line 754 of file OSParseosss.cpp.
|
static |
Definition at line 870 of file OSParseosss.cpp.
YY_DECL |
The main scanner function which does all the work.
Definition at line 1204 of file OSParseosss.cpp.
register char* yy_cp |
Definition at line 1206 of file OSParseosss.cpp.
register char * yy_bp |
Definition at line 1206 of file OSParseosss.cpp.
register int yy_act |
Definition at line 1207 of file OSParseosss.cpp.
Definition at line 1208 of file OSParseosss.cpp.