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.2.4. */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2015, 2018 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 /* Undocumented macros, especially those whose name start with YY_,
34  are private implementation details. Do not rely on them. */
35 
36 #ifndef YY_NASL_NASL_GRAMMAR_TAB_H_INCLUDED
37 # define YY_NASL_NASL_GRAMMAR_TAB_H_INCLUDED
38 /* Debug traces. */
39 #ifndef YYDEBUG
40 # define YYDEBUG 1
41 #endif
42 #if YYDEBUG
43 extern int nasldebug;
44 #endif
45 
46 /* Token type. */
47 #ifndef YYTOKENTYPE
48 # define YYTOKENTYPE
50  {
51  IF = 258,
52  ELSE = 259,
53  EQ = 260,
54  NEQ = 261,
55  SUPEQ = 262,
56  INFEQ = 263,
57  OR = 264,
58  AND = 265,
59  MATCH = 266,
60  NOMATCH = 267,
61  REP = 268,
62  FOR = 269,
63  REPEAT = 270,
64  UNTIL = 271,
65  FOREACH = 272,
66  WHILE = 273,
67  BREAK = 274,
68  CONTINUE = 275,
69  FUNCTION = 276,
70  RETURN = 277,
71  INCLUDE = 278,
72  LOCAL = 279,
73  GLOBAL = 280,
74  PLUS_PLUS = 281,
75  MINUS_MINUS = 282,
76  L_SHIFT = 283,
77  R_SHIFT = 284,
78  R_USHIFT = 285,
79  EXPO = 286,
80  PLUS_EQ = 287,
81  MINUS_EQ = 288,
82  MULT_EQ = 289,
83  DIV_EQ = 290,
84  MODULO_EQ = 291,
85  L_SHIFT_EQ = 292,
86  R_SHIFT_EQ = 293,
87  R_USHIFT_EQ = 294,
88  RE_MATCH = 295,
89  RE_NOMATCH = 296,
90  ARROW = 297,
91  IDENT = 298,
92  STRING1 = 299,
93  STRING2 = 300,
94  INTEGER = 301,
95  NOT = 302,
96  UMINUS = 303,
97  BIT_NOT = 304
98  };
99 #endif
100 
101 /* Value type. */
102 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
103 
104 union YYSTYPE
105 {
106 #line 49 "/home/iurt/rpmbuild/BUILD/gvm-libs-9.0.3/nasl/nasl_grammar.y" /* yacc.c:1906 */
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" /* yacc.c:1906 */
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 */
Definition: nasl_grammar.tab.h:84
char * val
Definition: nasl_grammar.tab.c:216
Definition: nasl_grammar.tab.h:61
Definition: nasl_grammar.tab.h:51
Definition: nasl_grammar.tab.h:76
Definition: nasl_grammar.tab.h:58
Definition: nasl_grammar.tab.h:91
Definition: nasl_grammar.tab.h:81
Definition: nasl_global_ctxt.h:26
Definition: nasl_grammar.tab.h:65
Definition: nasl_grammar.tab.h:56
Definition: nasl_grammar.tab.h:52
Definition: nasl_grammar.tab.h:53
Definition: nasl_grammar.tab.h:87
Definition: nasl_grammar.tab.h:80
struct YYSTYPE::asciiz data
Definition: nasl_grammar.tab.h:55
Definition: nasl_grammar.tab.h:57
Definition: nasl_grammar.tab.h:74
Definition: nasl_grammar.tab.h:85
Definition: nasl_grammar.tab.h:66
Definition: nasl_grammar.tab.h:95
Definition: nasl_grammar.tab.h:71
Definition: nasl_grammar.tab.h:60
Definition: nasl_grammar.tab.h:88
Definition: nasl_grammar.tab.h:70
Definition: nasl_grammar.tab.h:54
Definition: nasl_grammar.tab.h:89
char * str
Definition: nasl_grammar.tab.c:214
int nasldebug
Definition: nasl_grammar.tab.h:75
Definition: nasl_grammar.tab.h:82
Definition: nasl_grammar.tab.h:96
int len
Definition: nasl_grammar.tab.c:217
Definition: nasl_grammar.tab.h:63
Definition: nasl_tree.h:105
Definition: nasl_grammar.tab.h:64
Definition: nasl_grammar.tab.h:62
long int num
Definition: nasl_grammar.tab.c:213
Definition: nasl_grammar.tab.h:86
Definition: nasl_grammar.tab.h:97
Definition: nasl_grammar.tab.h:83
Definition: nasl_grammar.tab.h:73
Definition: nasl_grammar.tab.h:92
Definition: nasl_grammar.tab.h:94
Definition: nasl_grammar.tab.h:68
Definition: nasl_grammar.tab.h:78
Definition: nasl_grammar.tab.c:209
Definition: nasl_grammar.tab.h:79
Definition: nasl_grammar.tab.h:90
Definition: nasl_grammar.tab.h:59
tree_cell * node
Definition: nasl_grammar.tab.c:219
Definition: nasl_grammar.tab.h:77
Definition: nasl_grammar.tab.h:69
yytokentype
Definition: nasl_grammar.tab.c:154
Definition: nasl_grammar.tab.h:72
int naslparse(naslctxt *parm)
Definition: nasl_grammar.tab.h:67
Definition: nasl_grammar.tab.h:93