File: cxx-parser.html

package info (click to toggle)
synopsis 0.8.0-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 10,112 kB
  • ctags: 12,996
  • sloc: cpp: 34,254; ansic: 33,620; python: 10,975; sh: 7,261; xml: 6,369; makefile: 773; asm: 445
file content (8 lines) | stat: -rw-r--r-- 2,603 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Cxx Parser</title><link rel="stylesheet" href="synopsis.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="Synopsis Tutorial"><link rel="up" href="ch04.html" title="Chapter4.Processor design"><link rel="previous" href="cc-parser.html" title="C Parser"><link rel="next" href="linker.html" title="Linker"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Cxx Parser</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="cc-parser.html">Prev</a></td><th width="60%" align="center">Chapter4.Processor design</th><td width="20%" align="right"><a accesskey="n" href="linker.html">Next</a></td></tr></table></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="cxx-parser"></a>Cxx Parser</h2></div></div><div></div></div><p>The Cxx parser parses C++. If the <span class="type">preprocess</span> parameter is set, it will
        call the preprocessor (see <a href="cpp-parser.html" title="Cpp Parser">the section called &#8220;Cpp Parser&#8221;</a>). Its main purpose is to generate
        an AST containing all declarations. However, it can store more detailed information about
        the source code to be used in conjunction with the HTML parser to generate a cross-referenced
        view of the code. The <span class="type">syntax_prefix</span> and <span class="type">xref_prefix</span> parameters are
        used to indicate directories within which to store information about the source files being
        parsed. For a view of the processing pipeline to generate cross-referenced code see
        <a href="html-formatter.html#cross-referencing" title="SourceCode Cross Referencing">the section called &#8220;SourceCode Cross Referencing&#8221;</a>.</p></div><div class="navfooter"><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="cc-parser.html">Prev</a></td><td width="20%" align="center"><a accesskey="u" href="ch04.html">Up</a></td><td width="40%" align="right"><a accesskey="n" href="linker.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">C Parser</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">Linker</td></tr></table></div></body></html>