OpenVAS Scanner
7.0.0~git
nasl_grammar.tab.h
Go to the documentation of this file.
1
/* A Bison parser, made by GNU Bison 3.5. */
2
3
/* Bison interface for Yacc-like parsers in C
4
5
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 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 <http://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
/* Undocumented macros, especially those whose name start with YY_,
35
are private implementation details. Do not rely on them. */
36
37
#ifndef YY_NASL_NASL_GRAMMAR_TAB_H_INCLUDED
38
# define YY_NASL_NASL_GRAMMAR_TAB_H_INCLUDED
39
/* Debug traces. */
40
#ifndef YYDEBUG
41
# define YYDEBUG 1
42
#endif
43
#if YYDEBUG
44
extern
int
nasldebug
;
45
#endif
46
47
/* Token type. */
48
#ifndef YYTOKENTYPE
49
# define YYTOKENTYPE
50
enum
yytokentype
51
{
52
IF
= 258,
53
ELSE
= 259,
54
EQ
= 260,
55
NEQ
= 261,
56
SUPEQ
= 262,
57
INFEQ
= 263,
58
OR
= 264,
59
AND
= 265,
60
MATCH
= 266,
61
NOMATCH
= 267,
62
REP
= 268,
63
FOR
= 269,
64
REPEAT
= 270,
65
UNTIL
= 271,
66
FOREACH
= 272,
67
WHILE
= 273,
68
BREAK
= 274,
69
CONTINUE
= 275,
70
FUNCTION
= 276,
71
RETURN
= 277,
72
INCLUDE
= 278,
73
LOCAL
= 279,
74
GLOBAL
= 280,
75
PLUS_PLUS
= 281,
76
MINUS_MINUS
= 282,
77
L_SHIFT
= 283,
78
R_SHIFT
= 284,
79
R_USHIFT
= 285,
80
EXPO
= 286,
81
PLUS_EQ
= 287,
82
MINUS_EQ
= 288,
83
MULT_EQ
= 289,
84
DIV_EQ
= 290,
85
MODULO_EQ
= 291,
86
L_SHIFT_EQ
= 292,
87
R_SHIFT_EQ
= 293,
88
R_USHIFT_EQ
= 294,
89
RE_MATCH
= 295,
90
RE_NOMATCH
= 296,
91
ARROW
= 297,
92
IDENT
= 298,
93
STRING1
= 299,
94
STRING2
= 300,
95
INTEGER
= 301,
96
NOT
= 302,
97
UMINUS
= 303,
98
BIT_NOT
= 304
99
};
100
#endif
101
102
/* Value type. */
103
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
104
union
YYSTYPE
105
{
106
#line 61 "/builddir/build/BUILD/openvas-7.0.0/nasl/nasl_grammar.y"
107
108
long
int
num
;
109
char
*
str
;
110
struct
asciiz {
111
char
*
val
;
112
int
len
;
113
}
data
;
114
tree_cell
*
node
;
115
116
#line 117 "nasl_grammar.tab.h"
117
118
};
119
typedef
union
YYSTYPE
YYSTYPE
;
120
# define YYSTYPE_IS_TRIVIAL 1
121
# define YYSTYPE_IS_DECLARED 1
122
#endif
123
124
125
126
int
naslparse
(
naslctxt
* parm);
127
128
#endif
/* !YY_NASL_NASL_GRAMMAR_TAB_H_INCLUDED */
RE_MATCH
@ RE_MATCH
Definition:
nasl_grammar.tab.h:89
yytokentype
yytokentype
Definition:
nasl_grammar.tab.c:176
STRING1
@ STRING1
Definition:
nasl_grammar.tab.h:93
INCLUDE
@ INCLUDE
Definition:
nasl_grammar.tab.h:72
FOREACH
@ FOREACH
Definition:
nasl_grammar.tab.h:66
INTEGER
@ INTEGER
Definition:
nasl_grammar.tab.h:95
REPEAT
@ REPEAT
Definition:
nasl_grammar.tab.h:64
IDENT
@ IDENT
Definition:
nasl_grammar.tab.h:92
SUPEQ
@ SUPEQ
Definition:
nasl_grammar.tab.h:56
naslctxt
Definition:
nasl_global_ctxt.h:26
YYSTYPE::num
long int num
Definition:
nasl_grammar.tab.c:234
R_USHIFT
@ R_USHIFT
Definition:
nasl_grammar.tab.h:79
MINUS_EQ
@ MINUS_EQ
Definition:
nasl_grammar.tab.h:82
PLUS_EQ
@ PLUS_EQ
Definition:
nasl_grammar.tab.h:81
LOCAL
@ LOCAL
Definition:
nasl_grammar.tab.h:73
OR
@ OR
Definition:
nasl_grammar.tab.h:58
MODULO_EQ
@ MODULO_EQ
Definition:
nasl_grammar.tab.h:85
FUNCTION
@ FUNCTION
Definition:
nasl_grammar.tab.h:70
GLOBAL
@ GLOBAL
Definition:
nasl_grammar.tab.h:74
naslparse
int naslparse(naslctxt *parm)
REP
@ REP
Definition:
nasl_grammar.tab.h:62
YYSTYPE::str
char * str
Definition:
nasl_grammar.tab.c:235
FOR
@ FOR
Definition:
nasl_grammar.tab.h:63
YYSTYPE::asciiz::val
char * val
Definition:
nasl_grammar.tab.c:237
MATCH
@ MATCH
Definition:
nasl_grammar.tab.h:60
UMINUS
@ UMINUS
Definition:
nasl_grammar.tab.h:97
ARROW
@ ARROW
Definition:
nasl_grammar.tab.h:91
L_SHIFT_EQ
@ L_SHIFT_EQ
Definition:
nasl_grammar.tab.h:86
R_SHIFT
@ R_SHIFT
Definition:
nasl_grammar.tab.h:78
WHILE
@ WHILE
Definition:
nasl_grammar.tab.h:67
YYSTYPE
Definition:
nasl_grammar.tab.c:230
INFEQ
@ INFEQ
Definition:
nasl_grammar.tab.h:57
CONTINUE
@ CONTINUE
Definition:
nasl_grammar.tab.h:69
IF
@ IF
Definition:
nasl_grammar.tab.h:52
NEQ
@ NEQ
Definition:
nasl_grammar.tab.h:55
BREAK
@ BREAK
Definition:
nasl_grammar.tab.h:68
STRING2
@ STRING2
Definition:
nasl_grammar.tab.h:94
nasldebug
int nasldebug
TC
Definition:
nasl_tree.h:104
L_SHIFT
@ L_SHIFT
Definition:
nasl_grammar.tab.h:77
RE_NOMATCH
@ RE_NOMATCH
Definition:
nasl_grammar.tab.h:90
EXPO
@ EXPO
Definition:
nasl_grammar.tab.h:80
ELSE
@ ELSE
Definition:
nasl_grammar.tab.h:53
PLUS_PLUS
@ PLUS_PLUS
Definition:
nasl_grammar.tab.h:75
YYSTYPE::asciiz::len
int len
Definition:
nasl_grammar.tab.c:238
YYSTYPE::data
struct YYSTYPE::asciiz data
BIT_NOT
@ BIT_NOT
Definition:
nasl_grammar.tab.h:98
MINUS_MINUS
@ MINUS_MINUS
Definition:
nasl_grammar.tab.h:76
NOT
@ NOT
Definition:
nasl_grammar.tab.h:96
YYSTYPE::node
tree_cell * node
Definition:
nasl_grammar.tab.c:240
AND
@ AND
Definition:
nasl_grammar.tab.h:59
MULT_EQ
@ MULT_EQ
Definition:
nasl_grammar.tab.h:83
DIV_EQ
@ DIV_EQ
Definition:
nasl_grammar.tab.h:84
NOMATCH
@ NOMATCH
Definition:
nasl_grammar.tab.h:61
EQ
@ EQ
Definition:
nasl_grammar.tab.h:54
UNTIL
@ UNTIL
Definition:
nasl_grammar.tab.h:65
RETURN
@ RETURN
Definition:
nasl_grammar.tab.h:71
R_USHIFT_EQ
@ R_USHIFT_EQ
Definition:
nasl_grammar.tab.h:88
R_SHIFT_EQ
@ R_SHIFT_EQ
Definition:
nasl_grammar.tab.h:87
nasl
nasl_grammar.tab.h
Generated on Wed Jan 29 2020 00:00:00 for OpenVAS Scanner by
1.8.17