📄 parser.c
字号:
/* A Bison parser, made by GNU Bison 1.875d. *//* Skeleton parser for Yacc-like parsing with Bison, Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *//* As a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. This special exception was added by the Free Software Foundation in version 1.24 of Bison. *//* Written by Richard Stallman by simplifying the original so called ``semantic'' parser. *//* All symbols defined below should begin with yy or YY, to avoid infringing on user name space. This should be done even for local variables, as they might otherwise be expanded by user macros. There are some unavoidable exceptions within include files to define necessary library symbols; they are noted "INFRINGES ON USER NAME SPACE" below. *//* Identify Bison output. */#define YYBISON 1/* Skeleton name. */#define YYSKELETON_NAME "yacc.c"/* Pure parsers. */#define YYPURE 0/* Using locations. */#define YYLSP_NEEDED 0/* Tokens. */#ifndef YYTOKENTYPE# define YYTOKENTYPE /* Put the tokens into the symbol table, so that GDB and other debuggers know about them. */ enum yytokentype { TK_NOEMITTERS = 258, TK_DOC = 259, TK_EXPORTEDDOC = 260, TK_MAKEFILE = 261, TK_ACCESSCODE = 262, TK_GETCODE = 263, TK_SETCODE = 264, TK_PREINITCODE = 265, TK_POSTINITCODE = 266, TK_MODCODE = 267, TK_TYPECODE = 268, TK_PREPYCODE = 269, TK_COPYING = 270, TK_MAPPEDTYPE = 271, TK_CODELINE = 272, TK_IF = 273, TK_END = 274, TK_NAME = 275, TK_PATHNAME = 276, TK_STRING = 277, TK_VIRTUALCATCHERCODE = 278, TK_TRAVERSECODE = 279, TK_CLEARCODE = 280, TK_READBUFFERCODE = 281, TK_WRITEBUFFERCODE = 282, TK_SEGCOUNTCODE = 283, TK_CHARBUFFERCODE = 284, TK_METHODCODE = 285, TK_FROMTYPE = 286, TK_TOTYPE = 287, TK_TOSUBCLASS = 288, TK_INCLUDE = 289, TK_OPTINCLUDE = 290, TK_IMPORT = 291, TK_MODHEADERCODE = 292, TK_TYPEHEADERCODE = 293, TK_MODULE = 294, TK_CMODULE = 295, TK_CLASS = 296, TK_STRUCT = 297, TK_PUBLIC = 298, TK_PROTECTED = 299, TK_PRIVATE = 300, TK_SIGNALS = 301, TK_SLOTS = 302, TK_BOOL = 303, TK_SHORT = 304, TK_INT = 305, TK_LONG = 306, TK_FLOAT = 307, TK_DOUBLE = 308, TK_CHAR = 309, TK_VOID = 310, TK_PYOBJECT = 311, TK_PYTUPLE = 312, TK_PYLIST = 313, TK_PYDICT = 314, TK_PYCALLABLE = 315, TK_PYSLICE = 316, TK_PYTYPE = 317, TK_VIRTUAL = 318, TK_ENUM = 319, TK_SIGNED = 320, TK_UNSIGNED = 321, TK_SCOPE = 322, TK_LOGICAL_OR = 323, TK_CONST = 324, TK_STATIC = 325, TK_SIPSIGNAL = 326, TK_SIPSLOT = 327, TK_SIPANYSLOT = 328, TK_SIPRXCON = 329, TK_SIPRXDIS = 330, TK_SIPSLOTCON = 331, TK_SIPSLOTDIS = 332, TK_NUMBER = 333, TK_REAL = 334, TK_TYPEDEF = 335, TK_NAMESPACE = 336, TK_TIMELINE = 337, TK_PLATFORMS = 338, TK_FEATURE = 339, TK_LICENSE = 340, TK_QCHAR = 341, TK_TRUE = 342, TK_FALSE = 343, TK_NULL = 344, TK_OPERATOR = 345, TK_THROW = 346, TK_QOBJECT = 347, TK_EXCEPTION = 348, TK_RAISECODE = 349, TK_EXPLICIT = 350, TK_TEMPLATE = 351, TK_ELLIPSIS = 352 };#endif#define TK_NOEMITTERS 258#define TK_DOC 259#define TK_EXPORTEDDOC 260#define TK_MAKEFILE 261#define TK_ACCESSCODE 262#define TK_GETCODE 263#define TK_SETCODE 264#define TK_PREINITCODE 265#define TK_POSTINITCODE 266#define TK_MODCODE 267#define TK_TYPECODE 268#define TK_PREPYCODE 269#define TK_COPYING 270#define TK_MAPPEDTYPE 271#define TK_CODELINE 272#define TK_IF 273#define TK_END 274#define TK_NAME 275#define TK_PATHNAME 276#define TK_STRING 277#define TK_VIRTUALCATCHERCODE 278#define TK_TRAVERSECODE 279#define TK_CLEARCODE 280#define TK_READBUFFERCODE 281#define TK_WRITEBUFFERCODE 282#define TK_SEGCOUNTCODE 283#define TK_CHARBUFFERCODE 284#define TK_METHODCODE 285#define TK_FROMTYPE 286#define TK_TOTYPE 287#define TK_TOSUBCLASS 288#define TK_INCLUDE 289#define TK_OPTINCLUDE 290#define TK_IMPORT 291#define TK_MODHEADERCODE 292#define TK_TYPEHEADERCODE 293#define TK_MODULE 294#define TK_CMODULE 295#define TK_CLASS 296#define TK_STRUCT 297#define TK_PUBLIC 298#define TK_PROTECTED 299#define TK_PRIVATE 300#define TK_SIGNALS 301#define TK_SLOTS 302#define TK_BOOL 303#define TK_SHORT 304#define TK_INT 305#define TK_LONG 306#define TK_FLOAT 307#define TK_DOUBLE 308#define TK_CHAR 309#define TK_VOID 310#define TK_PYOBJECT 311#define TK_PYTUPLE 312#define TK_PYLIST 313#define TK_PYDICT 314#define TK_PYCALLABLE 315#define TK_PYSLICE 316#define TK_PYTYPE 317#define TK_VIRTUAL 318#define TK_ENUM 319#define TK_SIGNED 320#define TK_UNSIGNED 321#define TK_SCOPE 322#define TK_LOGICAL_OR 323#define TK_CONST 324#define TK_STATIC 325#define TK_SIPSIGNAL 326#define TK_SIPSLOT 327#define TK_SIPANYSLOT 328#define TK_SIPRXCON 329#define TK_SIPRXDIS 330#define TK_SIPSLOTCON 331#define TK_SIPSLOTDIS 332#define TK_NUMBER 333#define TK_REAL 334#define TK_TYPEDEF 335#define TK_NAMESPACE 336#define TK_TIMELINE 337#define TK_PLATFORMS 338#define TK_FEATURE 339#define TK_LICENSE 340#define TK_QCHAR 341#define TK_TRUE 342#define TK_FALSE 343#define TK_NULL 344#define TK_OPERATOR 345#define TK_THROW 346#define TK_QOBJECT 347#define TK_EXCEPTION 348#define TK_RAISECODE 349#define TK_EXPLICIT 350#define TK_TEMPLATE 351#define TK_ELLIPSIS 352/* Copy the first part of user declarations. */#line 16 "parser.y"#include <stdlib.h>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -