From 3c726379c2bbebb14114ef94e01022fdabe22998 Mon Sep 17 00:00:00 2001 From: z7zmey Date: Tue, 20 Feb 2018 19:20:32 +0200 Subject: [PATCH] add doc.go --- doc.go | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 doc.go diff --git a/doc.go b/doc.go new file mode 100644 index 0000000..896001e --- /dev/null +++ b/doc.go @@ -0,0 +1,36 @@ +/* + +## Features: + + Fully support PHP5 and PHP7 syntax + Abstract syntax tree representation + Traversing AST + +## Install + + go get github.com/z7zmey/php-parser + +Example + + package main + + import ( + "bytes" + + "github.com/z7zmey/php-parser/php7" + "github.com/z7zmey/php-parser/visitor" + ) + + func main() { + src := bytes.NewBufferString(`