OpenVAS Libraries
9.0.3
nasl_grammar.tab.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_NASL_NASL_GRAMMAR_TAB_H_INCLUDED
34
# define YY_NASL_NASL_GRAMMAR_TAB_H_INCLUDED
35
/* Debug traces. */
36
#ifndef YYDEBUG
37
# define YYDEBUG 1
38
#endif
39
#if YYDEBUG
40
extern
int
nasldebug
;
41
#endif
42
43
/* Token type. */
44
#ifndef YYTOKENTYPE
45
# define YYTOKENTYPE
46
enum
yytokentype
47
{
48
IF
= 258,
49
ELSE
= 259,
50
EQ
= 260,
51
NEQ
= 261,
52
SUPEQ
= 262,
53
INFEQ
= 263,
54
OR
= 264,
55
AND
= 265,
56
MATCH
= 266,
57
NOMATCH
= 267,
58
REP
= 268,
59
FOR
= 269,
60
REPEAT
= 270,
61
UNTIL
= 271,
62
FOREACH
= 272,
63
WHILE
= 273,
64
BREAK
= 274,
65
CONTINUE
= 275,
66
FUNCTION
= 276,
67
RETURN
= 277,
68
INCLUDE
= 278,
69
LOCAL
= 279,
70
GLOBAL
= 280,
71
PLUS_PLUS
= 281,
72
MINUS_MINUS
= 282,
73
L_SHIFT
= 283,
74
R_SHIFT
= 284,
75
R_USHIFT
= 285,
76
EXPO
= 286,
77
PLUS_EQ
= 287,
78
MINUS_EQ
= 288,
79
MULT_EQ
= 289,
80
DIV_EQ
= 290,
81
MODULO_EQ
= 291,
82
L_SHIFT_EQ
= 292,
83
R_SHIFT_EQ
= 293,
84
R_USHIFT_EQ
= 294,
85
RE_MATCH
= 295,
86
RE_NOMATCH
= 296,
87
ARROW
= 297,
88
IDENT
= 298,
89
STRING1
= 299,
90
STRING2
= 300,
91
INTEGER
= 301,
92
NOT
= 302,
93
UMINUS
= 303,
94
BIT_NOT
= 304
95
};
96
#endif
97
98
/* Value type. */
99
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
100
101
union
YYSTYPE
102
{
103
#line 49 "/builddir/build/BUILD/gvm-libs-9.0.3/nasl/nasl_grammar.y"
/* yacc.c:1909 */
104
105
long
int
num
;
106
char
*
str
;
107
struct
asciiz {
108
char
*
val
;
109
int
len
;
110
}
data
;
111
tree_cell
*
node
;
112
113
#line 114 "nasl_grammar.tab.h"
/* yacc.c:1909 */
114
};
115
116
typedef
union
YYSTYPE
YYSTYPE
;
117
# define YYSTYPE_IS_TRIVIAL 1
118
# define YYSTYPE_IS_DECLARED 1
119
#endif
120
121
122
123
int
naslparse
(
naslctxt
* parm);
124
125
#endif
/* !YY_NASL_NASL_GRAMMAR_TAB_H_INCLUDED */
MODULO_EQ
Definition:
nasl_grammar.tab.h:81
YYSTYPE::asciiz::val
char * val
Definition:
nasl_grammar.tab.c:210
REP
Definition:
nasl_grammar.tab.h:58
IF
Definition:
nasl_grammar.tab.h:48
L_SHIFT
Definition:
nasl_grammar.tab.h:73
AND
Definition:
nasl_grammar.tab.h:55
IDENT
Definition:
nasl_grammar.tab.h:88
MINUS_EQ
Definition:
nasl_grammar.tab.h:78
naslctxt
Definition:
nasl_global_ctxt.h:26
FOREACH
Definition:
nasl_grammar.tab.h:62
INFEQ
Definition:
nasl_grammar.tab.h:53
ELSE
Definition:
nasl_grammar.tab.h:49
EQ
Definition:
nasl_grammar.tab.h:50
R_USHIFT_EQ
Definition:
nasl_grammar.tab.h:84
PLUS_EQ
Definition:
nasl_grammar.tab.h:77
YYSTYPE::data
struct YYSTYPE::asciiz data
SUPEQ
Definition:
nasl_grammar.tab.h:52
OR
Definition:
nasl_grammar.tab.h:54
PLUS_PLUS
Definition:
nasl_grammar.tab.h:71
L_SHIFT_EQ
Definition:
nasl_grammar.tab.h:82
WHILE
Definition:
nasl_grammar.tab.h:63
NOT
Definition:
nasl_grammar.tab.h:92
INCLUDE
Definition:
nasl_grammar.tab.h:68
NOMATCH
Definition:
nasl_grammar.tab.h:57
RE_MATCH
Definition:
nasl_grammar.tab.h:85
RETURN
Definition:
nasl_grammar.tab.h:67
NEQ
Definition:
nasl_grammar.tab.h:51
RE_NOMATCH
Definition:
nasl_grammar.tab.h:86
YYSTYPE::str
char * str
Definition:
nasl_grammar.tab.c:208
nasldebug
int nasldebug
MINUS_MINUS
Definition:
nasl_grammar.tab.h:72
MULT_EQ
Definition:
nasl_grammar.tab.h:79
UMINUS
Definition:
nasl_grammar.tab.h:93
YYSTYPE::asciiz::len
int len
Definition:
nasl_grammar.tab.c:211
REPEAT
Definition:
nasl_grammar.tab.h:60
TC
Definition:
nasl_tree.h:105
UNTIL
Definition:
nasl_grammar.tab.h:61
FOR
Definition:
nasl_grammar.tab.h:59
YYSTYPE::num
long int num
Definition:
nasl_grammar.tab.c:207
R_SHIFT_EQ
Definition:
nasl_grammar.tab.h:83
BIT_NOT
Definition:
nasl_grammar.tab.h:94
DIV_EQ
Definition:
nasl_grammar.tab.h:80
GLOBAL
Definition:
nasl_grammar.tab.h:70
STRING1
Definition:
nasl_grammar.tab.h:89
INTEGER
Definition:
nasl_grammar.tab.h:91
CONTINUE
Definition:
nasl_grammar.tab.h:65
R_USHIFT
Definition:
nasl_grammar.tab.h:75
YYSTYPE
Definition:
nasl_grammar.tab.c:203
EXPO
Definition:
nasl_grammar.tab.h:76
ARROW
Definition:
nasl_grammar.tab.h:87
MATCH
Definition:
nasl_grammar.tab.h:56
YYSTYPE::node
tree_cell * node
Definition:
nasl_grammar.tab.c:213
R_SHIFT
Definition:
nasl_grammar.tab.h:74
FUNCTION
Definition:
nasl_grammar.tab.h:66
yytokentype
yytokentype
Definition:
nasl_grammar.tab.c:148
LOCAL
Definition:
nasl_grammar.tab.h:69
naslparse
int naslparse(naslctxt *parm)
BREAK
Definition:
nasl_grammar.tab.h:64
STRING2
Definition:
nasl_grammar.tab.h:90
nasl
nasl_grammar.tab.h
Generated on Tue Feb 26 2019 09:44:08 for OpenVAS Libraries by
1.8.14