GNU Radio's IIO Package
parser.h
Go to the documentation of this file.
1 /* A Bison parser, made by GNU Bison 3.0.4. */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
6 
7  This program is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program. If not, see <http://www.gnu.org/licenses/>. */
19 
20 /* As a special exception, you may create a larger work that contains
21  part or all of the Bison parser skeleton and distribute that work
22  under terms of your choice, so long as that work isn't itself a
23  parser generator using the skeleton or a modified version thereof
24  as a parser skeleton. Alternatively, if you modify or redistribute
25  the parser skeleton itself, you may (at your option) remove this
26  special exception, which will cause the skeleton and the resulting
27  Bison output files to be licensed under the GNU General Public
28  License without this special exception.
29 
30  This special exception was added by the Free Software Foundation in
31  version 2.2 of Bison. */
32 
33 #ifndef YY_YY_HOME_ABUILD_RPMBUILD_BUILD_GR_IIO_BUILD_LIB_PARSER_H_INCLUDED
34 # define YY_YY_HOME_ABUILD_RPMBUILD_BUILD_GR_IIO_BUILD_LIB_PARSER_H_INCLUDED
35 /* Debug traces. */
36 #ifndef YYDEBUG
37 # define YYDEBUG 0
38 #endif
39 #if YYDEBUG
40 extern int yydebug;
41 #endif
42 /* "%code requires" blocks. */
43 #line 31 "/home/abuild/rpmbuild/BUILD/gr-iio/lib/iio_math_parser.y" /* yacc.c:1909 */
44 
45 #ifndef YY_TYPEDEF_YY_SCANNER_T
46 #define YY_TYPEDEF_YY_SCANNER_T
47 typedef void *yyscan_t;
48 #endif
49 
50 int yylex_init_extra(void *pdata, yyscan_t *scanner);
51 int yylex_destroy(yyscan_t yyscanner);
52 
53 void * yyget_extra(yyscan_t scanner);
54 
55 void * src_block(void *pdata, unsigned int input);
56 void * const_block(void *pdata, double value);
57 void * add_block(void *pdata, void *left, void *right);
58 void * sub_block(void *pdata, void *left, void *right);
59 void * mult_block(void *pdata, void *left, void *right);
60 void * div_block(void *pdata, void *left, void *right);
61 void * pow_block(void *pdata, void *left, void *right);
62 void * mod_block(void *pdata, void *left, void *right);
63 void * func_block(void *pdata, void *input, const char *name);
64 void * neg_block(void *pdata, void *input);
65 
66 void connect_to_output(void *pdata, void *input);
67 void delete_block(void *pdata, void *block);
68 
69 #line 70 "/home/abuild/rpmbuild/BUILD/gr-iio/build/lib/parser.h" /* yacc.c:1909 */
70 
71 /* Token type. */
72 #ifndef YYTOKENTYPE
73 # define YYTOKENTYPE
75  {
76  FNAME = 258,
77  VALUE = 259,
78  IN_PORT = 260,
79  POWER = 261,
80  PREFIX = 262
81  };
82 #endif
83 
84 /* Value type. */
85 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
86 
87 union YYSTYPE
88 {
89 #line 64 "/home/abuild/rpmbuild/BUILD/gr-iio/lib/iio_math_parser.y" /* yacc.c:1909 */
90 
91  double val;
92  unsigned int ival;
93  char *fname;
94  void *block;
95 
96 #line 97 "/home/abuild/rpmbuild/BUILD/gr-iio/build/lib/parser.h" /* yacc.c:1909 */
97 };
98 
99 typedef union YYSTYPE YYSTYPE;
100 # define YYSTYPE_IS_TRIVIAL 1
101 # define YYSTYPE_IS_DECLARED 1
102 #endif
103 
104 
105 
106 int yyparse (yyscan_t scanner);
107 
108 #endif /* !YY_YY_HOME_ABUILD_RPMBUILD_BUILD_GR_IIO_BUILD_LIB_PARSER_H_INCLUDED */
int yylex_init_extra(void *pdata, yyscan_t *scanner)
int yylex_destroy(yyscan_t yyscanner)
void * sub_block(void *pdata, void *left, void *right)
void * mod_block(void *pdata, void *left, void *right)
void * yyscan_t
Definition: parser.h:47
unsigned int ival
Definition: parser.h:92
void * func_block(void *pdata, void *input, const char *name)
void connect_to_output(void *pdata, void *input)
void * const_block(void *pdata, double value)
void * pow_block(void *pdata, void *left, void *right)
Definition: parser.h:78
void delete_block(void *pdata, void *block)
double val
Definition: parser.h:91
void * neg_block(void *pdata, void *input)
void * add_block(void *pdata, void *left, void *right)
void * yyget_extra(yyscan_t scanner)
char * fname
Definition: parser.h:93
Definition: parser.h:80
Definition: parser.h:79
void * div_block(void *pdata, void *left, void *right)
void * block
Definition: parser.h:94
Definition: parser.h:87
yytokentype
Definition: parser.h:74
Definition: parser.h:77
void * mult_block(void *pdata, void *left, void *right)
void * src_block(void *pdata, unsigned int input)
Definition: parser.h:76