php-parser/doc/README.md
Gabriel Caruso bcb45d31eb Trailing whitespaces (#461)
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
2018-01-08 11:10:03 +01:00

1.1 KiB

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)
  • Performance
    • Disabling XDebug
    • Reusing objects
    • Garbage collection impact