update doc.go
This commit is contained in:
parent
e39f847146
commit
a762ab3754
14
doc.go
14
doc.go
@ -4,21 +4,19 @@ 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
|
||||||
|
* Traversing AST
|
||||||
|
|
||||||
* Abstract syntax tree representation
|
Install:
|
||||||
|
|
||||||
* Traversing AST
|
|
||||||
|
|
||||||
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