update doc.go
This commit is contained in:
parent
3c726379c2
commit
43fe661731
12
doc.go
12
doc.go
@ -1,16 +1,22 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
## Features:
|
A Parser for PHP written in Go
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
Example
|
CLI dumper
|
||||||
|
|
||||||
|
$GOPATH/bin/php-parser -php5 /path/to/file/or/dir
|
||||||
|
|
||||||
|
Package usage example
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user