OpenVAS Libraries  7.0.7
nasl_grammar.tab.h
Go to the documentation of this file.
1 /* A Bison parser, made by GNU Bison 2.7. */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2012 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 /* Enabling traces. */
36 #ifndef YYDEBUG
37 # define YYDEBUG 1
38 #endif
39 #if YYDEBUG
40 extern int nasldebug;
41 #endif
42 
43 /* Tokens. */
44 #ifndef YYTOKENTYPE
45 # define YYTOKENTYPE
46  /* Put the tokens into the symbol table, so that GDB and other debuggers
47  know about them. */
48  enum yytokentype {
49  IF = 258,
50  ELSE = 259,
51  EQ = 260,
52  NEQ = 261,
53  SUPEQ = 262,
54  INFEQ = 263,
55  OR = 264,
56  AND = 265,
57  MATCH = 266,
58  NOMATCH = 267,
59  REP = 268,
60  FOR = 269,
61  REPEAT = 270,
62  UNTIL = 271,
63  FOREACH = 272,
64  WHILE = 273,
65  BREAK = 274,
66  CONTINUE = 275,
67  FUNCTION = 276,
68  RETURN = 277,
69  INCLUDE = 278,
70  LOCAL = 279,
71  GLOBAL = 280,
72  PLUS_PLUS = 281,
73  MINUS_MINUS = 282,
74  L_SHIFT = 283,
75  R_SHIFT = 284,
76  R_USHIFT = 285,
77  EXPO = 286,
78  PLUS_EQ = 287,
79  MINUS_EQ = 288,
80  MULT_EQ = 289,
81  DIV_EQ = 290,
82  MODULO_EQ = 291,
83  L_SHIFT_EQ = 292,
84  R_SHIFT_EQ = 293,
85  R_USHIFT_EQ = 294,
86  RE_MATCH = 295,
87  RE_NOMATCH = 296,
88  ARROW = 297,
89  IDENT = 298,
90  STRING1 = 299,
91  STRING2 = 300,
92  INTEGER = 301,
93  NOT = 302,
94  BIT_NOT = 303,
95  UMINUS = 304
96  };
97 #endif
98 
99 
100 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
101 typedef union YYSTYPE
102 {
103 /* Line 2058 of yacc.c */
104 #line 48 "/builddir/build/BUILD/openvas-libraries-7.0.7/nasl/nasl_grammar.y"
105 
106  int num;
107  char *str;
108  struct asciiz {
109  char *val;
110  int len;
111  } data;
112  tree_cell *node;
113 
114 
115 /* Line 2058 of yacc.c */
116 #line 117 "nasl_grammar.tab.h"
117 } YYSTYPE;
118 # define YYSTYPE_IS_TRIVIAL 1
119 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
120 # define YYSTYPE_IS_DECLARED 1
121 #endif
122 
123 
124 #ifdef YYPARSE_PARAM
125 #if defined __STDC__ || defined __cplusplus
126 int naslparse (void *YYPARSE_PARAM);
127 #else
128 int naslparse ();
129 #endif
130 #else /* ! YYPARSE_PARAM */
131 #if defined __STDC__ || defined __cplusplus
132 int naslparse (naslctxt * parm);
133 #else
134 int naslparse ();
135 #endif
136 #endif /* ! YYPARSE_PARAM */
137 
138 #endif /* !YY_NASL_NASL_GRAMMAR_TAB_H_INCLUDED */
Definition: nasl_grammar.tab.h:82
char * val
Definition: nasl_grammar.tab.c:213
Definition: nasl_grammar.tab.h:59
Definition: nasl_grammar.tab.h:49
Definition: nasl_grammar.tab.h:74
Definition: nasl_grammar.tab.h:56
Definition: nasl_grammar.tab.h:89
Definition: nasl_grammar.tab.h:79
Definition: nasl_global_ctxt.h:25
Definition: nasl_grammar.tab.h:63
Definition: nasl_grammar.tab.h:54
Definition: nasl_grammar.tab.h:50
Definition: nasl_grammar.tab.h:51
Definition: nasl_grammar.tab.h:85
Definition: nasl_grammar.tab.h:78
struct YYSTYPE::asciiz data
Definition: nasl_grammar.tab.h:53
Definition: nasl_grammar.tab.h:55
Definition: nasl_grammar.tab.h:72
Definition: nasl_grammar.tab.h:83
Definition: nasl_grammar.tab.h:64
Definition: nasl_grammar.tab.h:93
Definition: nasl_grammar.tab.h:69
Definition: nasl_grammar.tab.h:58
Definition: nasl_grammar.tab.h:86
Definition: nasl_grammar.tab.h:68
Definition: nasl_grammar.tab.h:52
Definition: nasl_grammar.tab.h:87
char * str
Definition: nasl_grammar.tab.c:211
int nasldebug
int naslparse()
union YYSTYPE YYSTYPE
Definition: nasl_grammar.tab.h:73
Definition: nasl_grammar.tab.h:80
int num
Definition: nasl_grammar.tab.c:210
Definition: nasl_grammar.tab.h:95
int len
Definition: nasl_grammar.tab.c:214
Definition: nasl_grammar.tab.h:61
Definition: nasl_tree.h:105
Definition: nasl_grammar.tab.h:62
Definition: nasl_grammar.tab.h:60
Definition: nasl_grammar.tab.h:84
Definition: nasl_grammar.tab.h:94
Definition: nasl_grammar.tab.h:81
Definition: nasl_grammar.tab.h:71
Definition: nasl_grammar.tab.h:90
Definition: nasl_grammar.tab.h:92
Definition: nasl_grammar.tab.h:66
Definition: nasl_grammar.tab.h:76
Definition: nasl_grammar.tab.c:205
Definition: nasl_grammar.tab.h:77
Definition: nasl_grammar.tab.h:88
Definition: nasl_grammar.tab.h:57
#define YYPARSE_PARAM
Definition: nasl_grammar.tab.c:93
tree_cell * node
Definition: nasl_grammar.tab.c:216
Definition: nasl_grammar.tab.h:75
Definition: nasl_grammar.tab.h:67
yytokentype
Definition: nasl_grammar.tab.c:152
Definition: nasl_grammar.tab.h:70
Definition: nasl_grammar.tab.h:65
Definition: nasl_grammar.tab.h:91