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. Appendices
  8. Parsing Expression Grammar notation
  9. Complete pretokenisation grammar
  10. Discussion
  11. Rationale for this model
  12. Grammar for raw string literals
  13. Open questions
  14. Rustc oddities