1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-11-27 04:14:44 +01:00
PHP-Parser/doc
Nikita Popov eaee6687e0 Tweaks
2017-10-03 19:13:20 +02:00
..
component Tweaks 2017-10-03 19:13:20 +02:00
0_Introduction.markdown Tweaks 2017-10-03 19:13:20 +02:00
2_Usage_of_basic_components.markdown Fix example code to work (#390) 2017-05-28 12:35:04 +02:00
3_Other_node_tree_representations.markdown Implement JsonDecoder 2017-08-18 23:56:12 +02:00
4_Code_generation.markdown Fixed incorrect class inheritance (#394) 2017-07-19 16:55:00 +02:00
5_FAQ.markdown Docs: fix FAQ link anchor (#406) 2017-08-08 17:53:02 +02:00
README.md Add name resolution, pretty printing component docs 2017-10-03 19:09:59 +02:00

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)