Qucs-core  0.0.18
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions | Variables
parse_csv.y File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "logging.h"
#include "complex.h"
#include "object.h"
#include "vector.h"
#include "dataset.h"
#include "strlist.h"
#include "check_csv.h"

Go to the source code of this file.


#define YYERROR_VERBOSE   42
#define YYDEBUG   1
#define YYMAXDEPTH   1000000


void csv_restart (FILE *)
__BEGIN_DECLS int csv_parse (void)
int csv_error (const char *)
int csv_lex (void)
int csv_lex_destroy (void)
int csv_check (void)
void csv_init (void)
void csv_destroy (void)
 add ($1)
 free ($1)


int csv_lineno
FILE * csv_in
name prefix
Header __pad0__
HeaderList __pad1__
Header HeaderList
HeaderLine __pad2__
Eol HeaderLine
DataSet __pad3__
DataLine Eol DataSet
DataLine __pad4__
DataList __pad5__
Float DataList

Macro Definition Documentation

#define YYDEBUG   1
#define YYERROR_VERBOSE   42
#define YYMAXDEPTH   1000000

Function Documentation

add (   $1)
int csv_check ( void  )

Definition at line 128 of file check_csv.cpp.

void csv_destroy ( void  )

Definition at line 170 of file check_csv.cpp.

int csv_error ( const char *  error)

Definition at line 136 of file parse_csv.y.

void csv_init ( void  )

Definition at line 183 of file check_csv.cpp.

int csv_lex ( void  )
int csv_lex_destroy ( void  )
__BEGIN_DECLS int csv_parse ( void  )
void csv_restart ( FILE *  )
free (   $1)

Variable Documentation

Header __pad0__

Definition at line 85 of file parse_csv.y.

HeaderList __pad1__

Definition at line 90 of file parse_csv.y.

HeaderLine __pad2__

Definition at line 99 of file parse_csv.y.

DataSet __pad3__

Definition at line 108 of file parse_csv.y.

DataLine __pad4__

Definition at line 121 of file parse_csv.y.

DataList __pad5__

Definition at line 126 of file parse_csv.y.

qucs::strlist* csv_header

Definition at line 48 of file check_csv.cpp.

FILE* csv_in
int csv_lineno
qucs::vector* csv_vector

Definition at line 49 of file check_csv.cpp.

Initial value:
$$ = $1

Definition at line 115 of file parse_csv.y.

Float DataList
Initial value:
if ($2 == NULL) $2 = new vector ()

Definition at line 127 of file parse_csv.y.

Eol DataSet
Initial value:
$1->setNext ($3)

Definition at line 111 of file parse_csv.y.

Eol HeaderLine
Initial value:
$$ = $2

Definition at line 105 of file parse_csv.y.

Header HeaderList
Initial value:
if ($2 == NULL) $2 = new strlist ()

Definition at line 93 of file parse_csv.y.

DATA Identifier
Initial value:
$$ = strdup ($1)

Definition at line 87 of file parse_csv.y.

name prefix
Initial value:
%token Float
%token Identifier
%token Eol
%union {
char * ident;
double f;
qucs::strlist * list;
%type <list> HeaderList HeaderLine
%type <ident> Identifier Header
%type <f> Float
csv_header = $1;
csv_vector = $2;
| DataSet {
csv_vector = $1;
Definition: parse_csv.y:87
qucs::strlist * csv_header
Definition: check_csv.cpp:48
DataLine Eol DataSet
Definition: parse_csv.y:111
RLC_Device Node Node Value MODEL_Ident PairList Eol
Definition: parse_spice.y:225
< INITIAL >< INITIAL >< INITIAL >< INITIAL > return InvalidCharacter
Definition: scan_netlist.l:698
Definition: parse_citi.y:213
Float DataList
Definition: parse_csv.y:127
Header HeaderList
Definition: parse_csv.y:93
Definition: parse_zvr.y:141
qucs::vector * csv_vector
Definition: check_csv.cpp:49
Definition: parse_csv.y:115
vcd scopes ident
Definition: parse_vcd.y:124
Eol HeaderLine
Definition: parse_csv.y:105

Definition at line 52 of file parse_csv.y.