Merge pull request #506 from andrewcsmith/patch-2
[supercollider.git] / SCDoc / SCDoc.tab.hpp
blob322a6bee806604f4049ea412d803a6770fdc61eb
1 /* A Bison parser, made by GNU Bison 2.5. */
3 /* Bison interface for Yacc-like parsers in C
5 Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc.
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.
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.
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/>. */
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.
30 This special exception was added by the Free Software Foundation in
31 version 2.2 of Bison. */
34 /* Tokens. */
35 #ifndef YYTOKENTYPE
36 # define YYTOKENTYPE
37 /* Put the tokens into the symbol table, so that GDB and other debuggers
38 know about them. */
39 enum yytokentype {
40 END = 0,
41 CLASS = 258,
42 TITLE = 259,
43 SUMMARY = 260,
44 RELATED = 261,
45 CATEGORIES = 262,
46 REDIRECT = 263,
47 CLASSTREE = 264,
48 COPYMETHOD = 265,
49 KEYWORD = 266,
50 PRIVATE = 267,
51 SECTION = 268,
52 SUBSECTION = 269,
53 METHOD = 270,
54 ARGUMENT = 271,
55 DESCRIPTION = 272,
56 CLASSMETHODS = 273,
57 INSTANCEMETHODS = 274,
58 EXAMPLES = 275,
59 RETURNS = 276,
60 DISCUSSION = 277,
61 LIST = 278,
62 TREE = 279,
63 NUMBEREDLIST = 280,
64 DEFINITIONLIST = 281,
65 TABLE = 282,
66 FOOTNOTE = 283,
67 NOTE = 284,
68 WARNING = 285,
69 CODE = 286,
70 LINK = 287,
71 ANCHOR = 288,
72 SOFT = 289,
73 IMAGE = 290,
74 TELETYPE = 291,
75 MATH = 292,
76 STRONG = 293,
77 EMPHASIS = 294,
78 CODEBLOCK = 295,
79 TELETYPEBLOCK = 296,
80 MATHBLOCK = 297,
81 TAGSYM = 298,
82 BARS = 299,
83 HASHES = 300,
84 TEXT = 301,
85 URL = 302,
86 COMMA = 303,
87 METHODNAME = 304,
88 METHODARGS = 305,
89 NEWLINE = 306,
90 EMPTYLINES = 307,
91 BAD_METHODNAME = 308,
92 START_FULL = 309,
93 START_PARTIAL = 310,
94 START_METADATA = 311
96 #endif
100 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
101 typedef union YYSTYPE
104 /* Line 2068 of yacc.c */
105 #line 55 "SCDoc.y"
107 int i;
108 const char *id;
109 char *str;
110 DocNode *doc_node;
114 /* Line 2068 of yacc.c */
115 #line 116 "SCDoc.tab.hpp"
116 } YYSTYPE;
117 # define YYSTYPE_IS_TRIVIAL 1
118 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
119 # define YYSTYPE_IS_DECLARED 1
120 #endif
122 extern YYSTYPE scdoclval;
124 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
125 typedef struct YYLTYPE
127 int first_line;
128 int first_column;
129 int last_line;
130 int last_column;
131 } YYLTYPE;
132 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
133 # define YYLTYPE_IS_DECLARED 1
134 # define YYLTYPE_IS_TRIVIAL 1
135 #endif
137 extern YYLTYPE scdoclloc;