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

Go to the source code of this file.

Data Structures

struct  zvr_header_t
 
struct  zvr_vector_t
 
struct  zvr_line_t
 
struct  zvr_data_t
 

Macros

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

Functions

void zvr_restart (FILE *)
 
__BEGIN_DECLS int zvr_check (void)
 
int zvr_parse (void)
 
int zvr_error (const char *)
 
int zvr_lex (void)
 
int zvr_lex_destroy (void)
 
void zvr_destroy (void)
 
void zvr_init (void)
 

Variables

FILE * zvr_in
 
__END_DECLS qucs::datasetzvr_result
 
struct zvr_data_tzvr_root
 
name prefix
 
Header __pad0__
 
BodyList __pad1__
 
Body BodyList
 
ParaList6 __pad2__
 
 Identifier
 
ParaList2 __pad3__
 
Ident __pad4__
 
BodyStart __pad5__
 
 Real
 
 Unit
 
 DataTYP
 
 Ident
 
 DataFMT
 
 start = $2
 
 stop = $4
 
 funit = $6
 
 points = (int) $8
 
 zref = $12
 
 d_TYP = $10
 
 d_UNT = $20
 
 d_FMT = $18
 
Body __pad6__
 
Body h = $1
 
 v = $2
 
 d = $3
 
DataList __pad7__
 
DataLine DataList
 
DataLine __pad8__
 
 r = $3
 
 i = $5
 
DataIdent __pad9__
 
DataHeader __pad10__
 
 DataIdent
 
 nf = $1
 
 n1 = $3
 
 vi = new vector ()
 
 vd = new vector ()
 
 n2 = $5
 

Macro Definition Documentation

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

Function Documentation

__BEGIN_DECLS int zvr_check ( void  )

Definition at line 220 of file check_zvr.cpp.

void zvr_destroy ( void  )

Definition at line 255 of file check_zvr.cpp.

int zvr_error ( const char *  error)

Definition at line 195 of file parse_zvr.y.

void zvr_init ( void  )

Definition at line 268 of file check_zvr.cpp.

int zvr_lex ( void  )
int zvr_lex_destroy ( void  )
int zvr_parse ( void  )
void zvr_restart ( FILE *  )

Variable Documentation

Header __pad0__

Definition at line 90 of file parse_zvr.y.

DataHeader __pad10__

Definition at line 176 of file parse_zvr.y.

BodyList __pad1__

Definition at line 92 of file parse_zvr.y.

ParaList6 __pad2__

Definition at line 104 of file parse_zvr.y.

ParaList2 __pad3__

Definition at line 110 of file parse_zvr.y.

Ident __pad4__

Definition at line 116 of file parse_zvr.y.

BodyStart __pad5__

Definition at line 120 of file parse_zvr.y.

Body __pad6__

Definition at line 135 of file parse_zvr.y.

DataList __pad7__

Definition at line 144 of file parse_zvr.y.

DataLine __pad8__

Definition at line 158 of file parse_zvr.y.

DataIdent __pad9__

Definition at line 169 of file parse_zvr.y.

Body BodyList
Initial value:
{
if ($1) {
$1->next = $2;
$$ = $1;
} else {
$$ = $2;
}
}

Definition at line 93 of file parse_zvr.y.

d = $3

Definition at line 142 of file parse_zvr.y.

d_FMT = $18

Definition at line 133 of file parse_zvr.y.

d_TYP = $10

Definition at line 131 of file parse_zvr.y.

d_UNT = $20

Definition at line 132 of file parse_zvr.y.

DataFMT

Definition at line 122 of file parse_zvr.y.

DataIdent
Initial value:
{
$$ = (struct zvr_vector_t *) calloc (sizeof (struct zvr_vector_t), 1)

Definition at line 176 of file parse_zvr.y.

DataLine DataList
Initial value:
{
if ($1) {
$1->next = $2;
$$ = $1;
} else {
$$ = $2;
}
}

Definition at line 147 of file parse_zvr.y.

Real ParaList6 DataTYP

Definition at line 120 of file parse_zvr.y.

funit = $6

Definition at line 128 of file parse_zvr.y.

Body h = $1

Definition at line 140 of file parse_zvr.y.

i = $5

Definition at line 167 of file parse_zvr.y.

Ident ParaList2 Ident
Initial value:
{
$$ = (struct zvr_header_t *) calloc (sizeof (struct zvr_header_t), 1)

Definition at line 122 of file parse_zvr.y.

Identifier
Initial value:
{
}

Definition at line 104 of file parse_zvr.y.

n1 = $3

Definition at line 179 of file parse_zvr.y.

n2 = $5

Definition at line 187 of file parse_zvr.y.

nf = $1

Definition at line 178 of file parse_zvr.y.

points = (int) $8

Definition at line 129 of file parse_zvr.y.

name prefix

Definition at line 52 of file parse_zvr.y.

r = $3

Definition at line 161 of file parse_zvr.y.

Real
Initial value:
{
$$ = (struct zvr_line_t *) calloc (sizeof (struct zvr_line_t), 1)

Definition at line 120 of file parse_zvr.y.

start = $2

Definition at line 126 of file parse_zvr.y.

stop = $4

Definition at line 127 of file parse_zvr.y.

Unit

Definition at line 120 of file parse_zvr.y.

v = $2

Definition at line 141 of file parse_zvr.y.

vd = new vector ()

Definition at line 181 of file parse_zvr.y.

vi = new vector ()

Definition at line 180 of file parse_zvr.y.

zref = $12

Definition at line 130 of file parse_zvr.y.

FILE* zvr_in
__END_DECLS qucs::dataset* zvr_result

Definition at line 48 of file check_zvr.cpp.

struct zvr_data_t* zvr_root

Definition at line 49 of file check_zvr.cpp.