rename flag -meta to -ff
This commit is contained in:
@@ -22,7 +22,7 @@ func ExampleDumper() {
|
||||
}`
|
||||
|
||||
php7parser := php7.NewParser(bytes.NewBufferString(src), "test.php")
|
||||
php7parser.WithMeta()
|
||||
php7parser.WithFreeFloating()
|
||||
php7parser.Parse()
|
||||
nodes := php7parser.GetRootNode()
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ func ExampleGoDumper() {
|
||||
}`
|
||||
|
||||
php7parser := php7.NewParser(bytes.NewBufferString(src), "test.php")
|
||||
php7parser.WithMeta()
|
||||
php7parser.WithFreeFloating()
|
||||
php7parser.Parse()
|
||||
nodes := php7parser.GetRootNode()
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ func ExampleJsonDumper() {
|
||||
}`
|
||||
|
||||
php7parser := php7.NewParser(bytes.NewBufferString(src), "test.php")
|
||||
php7parser.WithMeta()
|
||||
php7parser.WithFreeFloating()
|
||||
php7parser.Parse()
|
||||
nodes := php7parser.GetRootNode()
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ func ExamplePrettyJsonDumper() {
|
||||
`
|
||||
|
||||
php7parser := php7.NewParser(bytes.NewBufferString(src), "test.php")
|
||||
php7parser.WithMeta()
|
||||
php7parser.WithFreeFloating()
|
||||
php7parser.Parse()
|
||||
nodes := php7parser.GetRootNode()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user