update doc.go
This commit is contained in:
parent
e39f847146
commit
a762ab3754
8
doc.go
8
doc.go
@ -5,20 +5,18 @@ A Parser for PHP written in Go
|
|||||||
Features:
|
Features:
|
||||||
|
|
||||||
* Fully support PHP5 and PHP7 syntax
|
* Fully support PHP5 and PHP7 syntax
|
||||||
|
|
||||||
* Abstract syntax tree representation
|
* Abstract syntax tree representation
|
||||||
|
|
||||||
* Traversing AST
|
* Traversing AST
|
||||||
|
|
||||||
Install
|
Install:
|
||||||
|
|
||||||
go get github.com/z7zmey/php-parser
|
go get github.com/z7zmey/php-parser
|
||||||
|
|
||||||
CLI dumper
|
CLI dumper:
|
||||||
|
|
||||||
$GOPATH/bin/php-parser -php5 /path/to/file/or/dir
|
$GOPATH/bin/php-parser -php5 /path/to/file/or/dir
|
||||||
|
|
||||||
Package usage example
|
Package usage example:
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user