My Project
Loading...
Searching...
No Matches
grammar.h
Go to the documentation of this file.
1/* A Bison parser, made by GNU Bison 2.4.3. */
2
3/* Skeleton interface for Bison's Yacc-like parsers in C
4
5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
6 2009, 2010 Free Software Foundation, 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
35/* Tokens. */
36#ifndef YYTOKENTYPE
37# define YYTOKENTYPE
38 /* Put the tokens into the symbol table, so that GDB and other debuggers
39 know about them. */
41 DOTDOT = 258,
43 GE = 260,
44 LE = 261,
46 NOT = 263,
47 NOTEQUAL = 264,
48 PLUSPLUS = 265,
50 ARROW = 267,
51 GRING_CMD = 268,
54 PROC_CMD = 271,
55 RING_CMD = 272,
58 IDEAL_CMD = 275,
59 MAP_CMD = 276,
61 MODUL_CMD = 278,
63 POLY_CMD = 280,
67 BETTI_CMD = 284,
68 E_CMD = 285,
69 FETCH_CMD = 286,
72 IMAP_CMD = 289,
74 MAXID_CMD = 291,
75 MONOM_CMD = 292,
76 PAR_CMD = 293,
78 VAR_CMD = 295,
79 VALTVARS = 296,
80 VMAXDEG = 297,
81 VMAXMULT = 298,
82 VNOETHER = 299,
83 VMINPOLY = 300,
84 END_RING = 301,
85 CMD_1 = 302,
86 CMD_2 = 303,
87 CMD_3 = 304,
88 CMD_12 = 305,
89 CMD_13 = 306,
90 CMD_23 = 307,
91 CMD_123 = 308,
92 CMD_M = 309,
93 ROOT_DECL = 310,
95 RING_DECL = 312,
99 HELP_CMD = 316,
100 KILL_CMD = 317,
101 LIB_CMD = 318,
104 TYPE_CMD = 321,
106 BLOCKTOK = 323,
109 MONOM = 326,
110 PROC_DEF = 327,
111 APPLY = 328,
115 ELSE_CMD = 332,
116 EVAL = 333,
117 QUOTE = 334,
118 FOR_CMD = 335,
119 IF_CMD = 336,
122 RETURN = 339,
124 SYSVAR = 341,
125 UMINUS = 342
126 };
127#endif
128
129
130
131#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
132
133# define yystype YYSTYPE /* obsolescent; will be withdrawn */
134# define YYSTYPE_IS_DECLARED 1
135#endif
136
137
138
139
yytokentype
Definition: grammar.cc:266
@ CMD_1
Definition: grammar.h:85
@ PLUSPLUS
Definition: grammar.h:48
@ NOT
Definition: grammar.h:46
@ KILL_CMD
Definition: grammar.h:100
@ END_RING
Definition: grammar.h:84
@ MINUSMINUS
Definition: grammar.h:45
@ IDEAL_CMD
Definition: grammar.h:58
@ UMINUS
Definition: grammar.h:125
@ PARAMETER
Definition: grammar.h:123
@ PAR_CMD
Definition: grammar.h:76
@ PREIMAGE_CMD
Definition: grammar.h:77
@ CMD_23
Definition: grammar.h:90
@ EXAMPLE_CMD
Definition: grammar.h:97
@ VALTVARS
Definition: grammar.h:79
@ CMD_2
Definition: grammar.h:86
@ MATRIX_CMD
Definition: grammar.h:60
@ KEEPRING_CMD
Definition: grammar.h:71
@ RING_DECL
Definition: grammar.h:95
@ TYPE_CMD
Definition: grammar.h:104
@ BUCKET_CMD
Definition: grammar.h:57
@ RING_DECL_LIST
Definition: grammar.h:96
@ BIGINTMAT_CMD
Definition: grammar.h:52
@ KOSZUL_CMD
Definition: grammar.h:73
@ SYS_BREAK
Definition: grammar.h:120
@ SETRING_CMD
Definition: grammar.h:103
@ RETURN
Definition: grammar.h:122
@ IMAP_CMD
Definition: grammar.h:72
@ ARROW
Definition: grammar.h:50
@ GE
Definition: grammar.h:43
@ EQUAL_EQUAL
Definition: grammar.h:42
@ CMD_3
Definition: grammar.h:87
@ SYSVAR
Definition: grammar.h:124
@ ROOT_DECL
Definition: grammar.h:93
@ APPLY
Definition: grammar.h:111
@ MAP_CMD
Definition: grammar.h:59
@ EVAL
Definition: grammar.h:116
@ INT_CONST
Definition: grammar.h:107
@ PROC_CMD
Definition: grammar.h:54
@ BLOCKTOK
Definition: grammar.h:106
@ LE
Definition: grammar.h:44
@ BEGIN_RING
Definition: grammar.h:56
@ INTMAT_CMD
Definition: grammar.h:53
@ MONOM
Definition: grammar.h:109
@ LISTVAR_CMD
Definition: grammar.h:102
@ UNKNOWN_IDENT
Definition: grammar.h:108
@ LIB_CMD
Definition: grammar.h:101
@ ROOT_DECL_LIST
Definition: grammar.h:94
@ BREAK_CMD
Definition: grammar.h:113
@ ELSE_CMD
Definition: grammar.h:115
@ VMAXMULT
Definition: grammar.h:81
@ MODUL_CMD
Definition: grammar.h:61
@ CMD_123
Definition: grammar.h:91
@ ASSUME_CMD
Definition: grammar.h:112
@ IF_CMD
Definition: grammar.h:119
@ MONOM_CMD
Definition: grammar.h:75
@ VMAXDEG
Definition: grammar.h:80
@ SMATRIX_CMD
Definition: grammar.h:65
@ FOR_CMD
Definition: grammar.h:118
@ VECTOR_CMD
Definition: grammar.h:66
@ RESOLUTION_CMD
Definition: grammar.h:64
@ NOTEQUAL
Definition: grammar.h:47
@ CMD_12
Definition: grammar.h:88
@ CONTINUE_CMD
Definition: grammar.h:114
@ VAR_CMD
Definition: grammar.h:78
@ STRINGTOK
Definition: grammar.h:105
@ DOTDOT
Definition: grammar.h:41
@ PROC_DEF
Definition: grammar.h:110
@ COLONCOLON
Definition: grammar.h:49
@ CMD_13
Definition: grammar.h:89
@ WHILE_CMD
Definition: grammar.h:121
@ HELP_CMD
Definition: grammar.h:99
@ NUMBER_CMD
Definition: grammar.h:62
@ MAXID_CMD
Definition: grammar.h:74
@ POLY_CMD
Definition: grammar.h:63
@ VMINPOLY
Definition: grammar.h:83
@ CMD_M
Definition: grammar.h:92
@ RING_CMD
Definition: grammar.h:55
@ QUOTE
Definition: grammar.h:117
@ VNOETHER
Definition: grammar.h:82
@ E_CMD
Definition: grammar.h:68
@ FETCH_CMD
Definition: grammar.h:69
@ GRING_CMD
Definition: grammar.h:51
@ FREEMODULE_CMD
Definition: grammar.h:70
@ EXPORT_CMD
Definition: grammar.h:98
@ BETTI_CMD
Definition: grammar.h:67