⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bison_15.htm

📁 Lex和Yacc的Manual
💻 HTM
字号:
<HTML><HEAD><!-- This HTML file has been created by texi2html 1.44     from /opt/src/gnu/bison-1.25/bison.texinfo on 30 June 1997 --><TITLE>Bison 1.25 - Index</TITLE></HEAD><BODY>Go to the <A HREF="bison_1.html">first</A>, <A HREF="bison_14.html">previous</A>, next, last section, <A HREF="index.html">table of contents</A>.<HR><H1><A NAME="SEC93" HREF="index.html#SEC93">Index</A></H1><P><H2>$</H2><DIR><LI><A HREF="bison_6.html#IDX83">$$</A><LI></DIR><H2>%</H2><DIR><LI><A HREF="bison_6.html#IDX109">%expect</A><LI><A HREF="bison_8.html#IDX159">%left</A><LI><A HREF="bison_8.html#IDX161">%nonassoc</A><LI><A HREF="bison_8.html#IDX166">%prec</A><LI><A HREF="bison_6.html#IDX116">%pure_parser</A><LI><A HREF="bison_8.html#IDX160">%right</A><LI><A HREF="bison_6.html#IDX113">%start</A><LI><A HREF="bison_6.html#IDX95">%token</A><LI><A HREF="bison_6.html#IDX104">%type</A><LI><A HREF="bison_6.html#IDX101">%union</A></DIR><H2>@</H2><DIR><LI></DIR><H2>a</H2><DIR><LI><A HREF="bison_6.html#IDX82">action</A><LI><A HREF="bison_6.html#IDX86">action data types</A><LI><A HREF="bison_7.html#IDX139">action features summary</A><LI><A HREF="bison_6.html#IDX88">actions in mid-rule</A><LI><A HREF="bison_4.html#IDX17">actions, semantic</A><LI><A HREF="bison_6.html#IDX56">additional C code section</A><LI><A HREF="bison_8.html#IDX145">algorithm of parser</A><LI><A HREF="bison_8.html#IDX158">associativity</A></DIR><H2>b</H2><DIR><LI><A HREF="bison_4.html#IDX5">Backus-Naur form</A><LI><A HREF="bison_6.html#IDX117">Bison declaration summary</A><LI><A HREF="bison_6.html#IDX91">Bison declarations</A><LI><A HREF="bison_6.html#IDX52">Bison declarations (introduction)</A><LI><A HREF="bison_4.html#IDX11">Bison grammar</A><LI><A HREF="bison_12.html#IDX193">Bison invocation</A><LI><A HREF="bison_4.html#IDX18">Bison parser</A><LI><A HREF="bison_8.html#IDX144">Bison parser algorithm</A><LI><A HREF="bison_13.html#IDX197">Bison symbols, table of</A><LI><A HREF="bison_4.html#IDX19">Bison utility</A><LI><A HREF="bison_4.html#IDX4">BNF</A></DIR><H2>c</H2><DIR><LI><A HREF="bison_6.html#IDX57">C code, section for additional</A><LI><A HREF="bison_6.html#IDX50">C declarations section</A><LI><A HREF="bison_7.html#IDX120">C-language interface</A><LI><LI><A HREF="bison_5.html#IDX43">calculator, infix notation</A><LI><A HREF="bison_5.html#IDX47">calculator, multi-function</A><LI><A HREF="bison_5.html#IDX33">calculator, simple</A><LI><A HREF="bison_6.html#IDX62">character token</A><LI><A HREF="bison_5.html#IDX40">compiling the parser</A><LI><A HREF="bison_8.html#IDX152">conflicts</A><LI><A HREF="bison_8.html#IDX171">conflicts, reduce/reduce</A><LI><A HREF="bison_6.html#IDX108">conflicts, suppressing warnings of</A><LI><A HREF="bison_8.html#IDX162">context-dependent precedence</A><LI><A HREF="bison_4.html#IDX2">context-free grammar</A><LI><A HREF="bison_5.html#IDX36">controlling function</A></DIR><H2>d</H2><DIR><LI><LI><A HREF="bison_6.html#IDX87">data types in actions</A><LI><A HREF="bison_6.html#IDX80">data types of semantic values</A><LI><A HREF="bison_11.html#IDX189">debugging</A><LI><A HREF="bison_6.html#IDX118">declaration summary</A><LI><A HREF="bison_6.html#IDX90">declarations, Bison</A><LI><A HREF="bison_6.html#IDX53">declarations, Bison (introduction)</A><LI><A HREF="bison_6.html#IDX51">declarations, C</A><LI><A HREF="bison_6.html#IDX94">declaring literal string tokens</A><LI><A HREF="bison_6.html#IDX97">declaring operator precedence</A><LI><A HREF="bison_6.html#IDX110">declaring the start symbol</A><LI><A HREF="bison_6.html#IDX92">declaring token type names</A><LI><A HREF="bison_6.html#IDX99">declaring value types</A><LI><A HREF="bison_6.html#IDX102">declaring value types, nonterminals</A><LI><A HREF="bison_6.html#IDX85">default action</A><LI><A HREF="bison_6.html#IDX81">default data type</A><LI><A HREF="bison_8.html#IDX178">default stack limit</A><LI><A HREF="bison_6.html#IDX112">default start symbol</A><LI><A HREF="bison_6.html#IDX76">defining language semantics</A></DIR><H2>e</H2><DIR><LI><LI><A HREF="bison_9.html#IDX182">error</A><LI><A HREF="bison_9.html#IDX180">error recovery</A><LI><A HREF="bison_5.html#IDX44">error recovery, simple</A><LI><A HREF="bison_7.html#IDX132">error reporting function</A><LI><A HREF="bison_5.html#IDX38">error reporting routine</A><LI><A HREF="bison_5.html#IDX29">examples, simple</A><LI><A HREF="bison_5.html#IDX49">exercises</A></DIR><H2>f</H2><DIR><LI><A HREF="bison_4.html#IDX25">file format</A><LI><A HREF="bison_8.html#IDX167">finite-state machine</A><LI><A HREF="bison_4.html#IDX13">formal grammar</A><LI><A HREF="bison_4.html#IDX26">format of grammar file</A></DIR><H2>g</H2><DIR><LI><A HREF="bison_14.html#IDX199">glossary</A><LI><A HREF="bison_4.html#IDX24">grammar file</A><LI><A HREF="bison_6.html#IDX69">grammar rule syntax</A><LI><A HREF="bison_6.html#IDX54">grammar rules section</A><LI><A HREF="bison_4.html#IDX12">grammar, Bison</A><LI><A HREF="bison_4.html#IDX3">grammar, context-free</A><LI><A HREF="bison_4.html#IDX9">grouping, syntactic</A></DIR><H2>i</H2><DIR><LI><A HREF="bison_5.html#IDX41">infix notation calculator</A><LI><A HREF="bison_7.html#IDX121">interface</A><LI><A HREF="bison_1.html#IDX1">introduction</A><LI><A HREF="bison_12.html#IDX192">invoking Bison</A><LI><A HREF="bison_12.html#IDX195">invoking Bison under VMS</A></DIR><H2>l</H2><DIR><LI><A HREF="bison_8.html#IDX173">LALR(1)</A><LI><A HREF="bison_6.html#IDX77">language semantics, defining</A><LI><A HREF="bison_4.html#IDX27">layout of Bison grammar</A><LI><A HREF="bison_6.html#IDX73">left recursion</A><LI><A HREF="bison_7.html#IDX126">lexical analyzer</A><LI><A HREF="bison_4.html#IDX20">lexical analyzer, purpose</A><LI><A HREF="bison_5.html#IDX35">lexical analyzer, writing</A><LI><A HREF="bison_10.html#IDX186">lexical tie-in</A><LI><A HREF="bison_6.html#IDX66">literal string token</A><LI><A HREF="bison_6.html#IDX63">literal token</A><LI><A HREF="bison_8.html#IDX150">look-ahead token</A><LI><A HREF="bison_8.html#IDX172">LR(1)</A></DIR><H2>m</H2><DIR><LI><A HREF="bison_5.html#IDX37">main function in simple example</A><LI><LI><A HREF="bison_6.html#IDX89">mid-rule actions</A><LI><A HREF="bison_6.html#IDX67">multi-character literal</A><LI><A HREF="bison_5.html#IDX45">multi-function calculator</A><LI><A HREF="bison_6.html#IDX75">mutual recursion</A></DIR><H2>n</H2><DIR><LI><A HREF="bison_6.html#IDX58">nonterminal symbol</A></DIR><H2>o</H2><DIR><LI><A HREF="bison_8.html#IDX156">operator precedence</A><LI><A HREF="bison_6.html#IDX98">operator precedence, declaring</A><LI><A HREF="bison_12.html#IDX194">options for invoking Bison</A><LI><A HREF="bison_8.html#IDX176">overflow of parser stack</A></DIR><H2>p</H2><DIR><LI><A HREF="bison_7.html#IDX134">parse error</A><LI><A HREF="bison_4.html#IDX21">parser</A><LI><A HREF="bison_8.html#IDX148">parser stack</A><LI><A HREF="bison_8.html#IDX175">parser stack overflow</A><LI><A HREF="bison_8.html#IDX168">parser state</A><LI><A HREF="bison_5.html#IDX31">polish notation calculator</A><LI><A HREF="bison_6.html#IDX96">precedence declarations</A><LI><A HREF="bison_8.html#IDX157">precedence of operators</A><LI><A HREF="bison_8.html#IDX164">precedence, context-dependent</A><LI><A HREF="bison_8.html#IDX165">precedence, unary operator</A><LI><A HREF="bison_6.html#IDX106">preventing warnings about conflicts</A><LI><A HREF="bison_6.html#IDX115">pure parser</A></DIR><H2>r</H2><DIR><LI><A HREF="bison_9.html#IDX181">recovery from errors</A><LI><A HREF="bison_6.html#IDX72">recursive rule</A><LI><A HREF="bison_8.html#IDX170">reduce/reduce conflict</A><LI><A HREF="bison_8.html#IDX147">reduction</A><LI><A HREF="bison_6.html#IDX114">reentrant parser</A><LI><A HREF="bison_5.html#IDX30">reverse polish notation</A><LI><A HREF="bison_6.html#IDX74">right recursion</A><LI><LI><A HREF="bison_6.html#IDX68">rule syntax</A><LI><A HREF="bison_6.html#IDX55">rules section for grammar</A><LI><A HREF="bison_5.html#IDX39">running Bison (introduction)</A></DIR><H2>s</H2><DIR><LI><A HREF="bison_4.html#IDX16">semantic actions</A><LI><A HREF="bison_4.html#IDX14">semantic value</A><LI><A HREF="bison_6.html#IDX78">semantic value type</A><LI><A HREF="bison_8.html#IDX153">shift/reduce conflicts</A><LI><A HREF="bison_8.html#IDX146">shifting</A><LI><A HREF="bison_5.html#IDX28">simple examples</A><LI><A HREF="bison_6.html#IDX64">single-character literal</A><LI><A HREF="bison_8.html#IDX174">stack overflow</A><LI><A HREF="bison_8.html#IDX149">stack, parser</A><LI><A HREF="bison_4.html#IDX22">stages in using Bison</A><LI><A HREF="bison_4.html#IDX10">start symbol</A><LI><A HREF="bison_6.html#IDX111">start symbol, declaring</A><LI><A HREF="bison_8.html#IDX169">state (of parser)</A><LI><A HREF="bison_6.html#IDX65">string token</A><LI><A HREF="bison_7.html#IDX138">summary, action features</A><LI><A HREF="bison_6.html#IDX119">summary, Bison declaration</A><LI><A HREF="bison_6.html#IDX105">suppressing conflict warnings</A><LI><A HREF="bison_6.html#IDX61">symbol</A><LI><A HREF="bison_5.html#IDX48">symbol table example</A><LI><A HREF="bison_4.html#IDX6">symbols (abstract)</A><LI><A HREF="bison_13.html#IDX198">symbols in Bison, table of</A><LI><A HREF="bison_4.html#IDX8">syntactic grouping</A><LI><A HREF="bison_7.html#IDX135">syntax error</A><LI><A HREF="bison_6.html#IDX70">syntax of grammar rules</A></DIR><H2>t</H2><DIR><LI><A HREF="bison_6.html#IDX59">terminal symbol</A><LI><A HREF="bison_4.html#IDX7">token</A><LI><A HREF="bison_6.html#IDX60">token type</A><LI><A HREF="bison_6.html#IDX93">token type names, declaring</A><LI><A HREF="bison_11.html#IDX190">tracing the parser</A></DIR><H2>u</H2><DIR><LI><A HREF="bison_8.html#IDX163">unary operator precedence</A><LI><A HREF="bison_4.html#IDX23">using Bison</A></DIR><H2>v</H2><DIR><LI><A HREF="bison_6.html#IDX79">value type, semantic</A><LI><A HREF="bison_6.html#IDX100">value types, declaring</A><LI><A HREF="bison_6.html#IDX103">value types, nonterminals, declaring</A><LI><A HREF="bison_4.html#IDX15">value, semantic</A><LI><A HREF="bison_12.html#IDX196">VMS</A></DIR><H2>w</H2><DIR><LI><A HREF="bison_6.html#IDX107">warnings, preventing</A><LI><A HREF="bison_5.html#IDX34">writing a lexical analyzer</A></DIR><H2>y</H2><DIR><LI><A HREF="bison_7.html#IDX124">YYABORT</A><LI><A HREF="bison_7.html#IDX123">YYACCEPT</A><LI><A HREF="bison_7.html#IDX140">YYBACKUP</A><LI><A HREF="bison_8.html#IDX151">yychar</A><LI><A HREF="bison_9.html#IDX184">yyclearin</A><LI><A HREF="bison_11.html#IDX187">YYDEBUG</A><LI><A HREF="bison_11.html#IDX188">yydebug</A><LI><A HREF="bison_7.html#IDX141">YYEMPTY</A><LI><A HREF="bison_9.html#IDX183">yyerrok</A><LI><A HREF="bison_7.html#IDX142">YYERROR</A><LI><A HREF="bison_7.html#IDX133">yyerror</A><LI><A HREF="bison_7.html#IDX136">YYERROR_VERBOSE</A><LI><A HREF="bison_8.html#IDX179">YYINITDEPTH</A><LI><A HREF="bison_7.html#IDX125">yylex</A><LI><A HREF="bison_7.html#IDX131">YYLEX_PARAM</A><LI><A HREF="bison_7.html#IDX128">yylloc</A><LI><A HREF="bison_7.html#IDX129">YYLTYPE</A><LI><A HREF="bison_7.html#IDX127">yylval</A><LI><A HREF="bison_8.html#IDX177">YYMAXDEPTH</A><LI><A HREF="bison_7.html#IDX137">yynerrs</A><LI><A HREF="bison_7.html#IDX122">yyparse</A><LI><A HREF="bison_7.html#IDX130">YYPARSE_PARAM</A><LI><A HREF="bison_11.html#IDX191">YYPRINT</A><LI><A HREF="bison_9.html#IDX185">YYRECOVERING</A></DIR><H2>|</H2><DIR><LI><A HREF="bison_6.html#IDX71">|</A></DIR></P><HR>Go to the <A HREF="bison_1.html">first</A>, <A HREF="bison_14.html">previous</A>, next, last section, <A HREF="index.html">table of contents</A>.</BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -