php-parser/doc/README.md
Nikita Popov f5f3b0d49d Add name resolution, pretty printing component docs
The docs are receiving too little love...
2017-10-03 19:09:59 +02:00

970 B

Table of Contents

Guide

  1. Introduction
  2. Usage of basic components
  3. Other node tree representations
  4. Code generation
  5. Frequently asked questions

Component documentation

  • Name resolution
    • Name resolver options
    • Name resolution context
  • Pretty printing
    • Converting AST back to PHP code
    • Customizing formatting
    • Formatting-preserving code transformations
  • Lexer
    • Lexer options
    • Token and file positions for nodes
    • Custom attributes
  • Error handling
    • Column information for errors
    • Error recovery (parsing of syntactically incorrect code)