Changes between Version 1 and Version 2 of Commentary/Compiler/RdrNameType
- Timestamp:
- 09/08/06 04:13:07 (7 years ago)
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}}} = 2 4 3 5 When 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)]]: … … 29 31 }}} 30 32 A {{{ModuleName}}} is just a {{{FastString}}} (see [[GhcFile(compiler/basicTypes/Module.lhs)]]). 31 But {{{OccName}}} is more inter sting; next section.33 But {{{OccName}}} is more interesting; next section. 32 34 33 35 == The {{{OccName}}} type ==
