rename flag -meta to -ff

This commit is contained in:
z7zmey
2019-02-25 16:52:47 +02:00
parent 37c9c2092f
commit a7229f53dd
12 changed files with 55 additions and 55 deletions

View File

@@ -22,7 +22,7 @@ func ExampleDumper() {
}`
php7parser := php7.NewParser(bytes.NewBufferString(src), "test.php")
php7parser.WithMeta()
php7parser.WithFreeFloating()
php7parser.Parse()
nodes := php7parser.GetRootNode()

View File

@@ -22,7 +22,7 @@ func ExampleGoDumper() {
}`
php7parser := php7.NewParser(bytes.NewBufferString(src), "test.php")
php7parser.WithMeta()
php7parser.WithFreeFloating()
php7parser.Parse()
nodes := php7parser.GetRootNode()

View File

@@ -23,7 +23,7 @@ func ExampleJsonDumper() {
}`
php7parser := php7.NewParser(bytes.NewBufferString(src), "test.php")
php7parser.WithMeta()
php7parser.WithFreeFloating()
php7parser.Parse()
nodes := php7parser.GetRootNode()

View File

@@ -28,7 +28,7 @@ func ExamplePrettyJsonDumper() {
`
php7parser := php7.NewParser(bytes.NewBufferString(src), "test.php")
php7parser.WithMeta()
php7parser.WithFreeFloating()
php7parser.Parse()
nodes := php7parser.GetRootNode()