tolerant-php-parser/playground
Sara Itani 7d6c3ac301 add position->line/char range helpers 2016-12-27 10:04:28 -05:00
..
client add parser playground extension 2016-12-11 00:09:26 -08:00
example add parser playground extension 2016-12-11 00:09:26 -08:00
server add position->line/char range helpers 2016-12-27 10:04:28 -05:00
License.txt add parser playground extension 2016-12-11 00:09:26 -08:00
README.md update playground readme 2016-12-11 00:16:45 -08:00

README.md

PHP Parser + VSCode Extension Sample

Overview

Demonstrates some of the basic usage and functionality of the parser.

  • Error squigglies
  • writes AST to adjacent *.ast file

Instructions

  1. npm install client/server dependencies, run Extension
  2. open PHP file from example folder, and *.ast file to the side
  3. check out error information, and corresponding AST
  4. make some changes, and save to view updates