Changes between Version 1 and Version 2 of Commentary/Compiler/RdrNameType


Ignore:
Timestamp:
Sep 8, 2006 11:13:07 AM (8 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/RdrNameType

    v1 v2  
    1 = {{{RdrNames}}} and {{{CccName}}} = 
     1[ Up: [wiki:Commentary/Compiler/HscMain] ] 
     2 
     3= {{{RdrNames}}} and {{{OccNames}}} = 
    24 
    35When the parser parses an identifier, it generates a {{{RdrName}}}.  A {{{RdrName}}} is pretty much just a string, or a pair of strings, for a qualified name, such as {{{M.x}}}.  Here's the data type declaration, from [[GhcFile(compiler/basicTypes/RdrName.lhs)]]: 
     
    2931}}} 
    3032A {{{ModuleName}}} is just a {{{FastString}}} (see [[GhcFile(compiler/basicTypes/Module.lhs)]]).   
    31 But {{{OccName}}} is more intersting; next section. 
     33But {{{OccName}}} is more interesting; next section. 
    3234 
    3335== The {{{OccName}}} type ==