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