1. Introduction
  2. The description
  3. Overview
  4. Definitions
  5. Before tokenising
  6. Tokenising
    1. Pretokens
    2. Pretokenising
      1. Common definitions
      2. Whitespace and comment pretokens
      3. String and byte literal pretokens
      4. Numeric literal pretokens
      5. Identifier pretokens
      6. Punctuation pretokens
    3. Fine-grained tokens
    4. Reprocessing
      1. Escape processing
      2. List of reprocessing cases
  7. Lowering doc-comments
  8. Appendices
  9. Parsing Expression Grammar notation
  10. Complete pretokenisation grammar
  11. Discussion
  12. Rationale for this model
  13. Grammar for raw string literals
  14. Open questions
  15. Rustc oddities