php-parser/internal/php7/php7_test.go

19704 lines
419 KiB
Go
Raw Normal View History

2020-05-12 21:16:36 +00:00
package php7_test
import (
"io/ioutil"
2020-05-12 21:16:36 +00:00
"testing"
"gotest.tools/assert"
"github.com/z7zmey/php-parser/internal/php7"
2020-06-29 20:00:56 +00:00
"github.com/z7zmey/php-parser/internal/scanner"
2020-05-12 21:16:36 +00:00
"github.com/z7zmey/php-parser/pkg/ast"
"github.com/z7zmey/php-parser/pkg/ast/traverser"
"github.com/z7zmey/php-parser/pkg/ast/visitor"
2020-05-12 21:16:36 +00:00
"github.com/z7zmey/php-parser/pkg/errors"
"github.com/z7zmey/php-parser/pkg/position"
)
func TestPhp7(t *testing.T) {
src, err := ioutil.ReadFile("test.php")
assert.NilError(t, err)
2020-05-12 21:16:36 +00:00
expected := &ast.Root{
Node: ast.Node{
Position: &position.Position{
StartLine: 2,
EndLine: 348,
StartPos: 3,
EndPos: 5706,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 2,
EndLine: 2,
StartPos: 3,
EndPos: 18,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprFunctionCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 2,
EndLine: 2,
StartPos: 3,
EndPos: 17,
2020-05-12 21:16:36 +00:00
},
},
Function: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 2,
EndLine: 2,
StartPos: 3,
EndPos: 6,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 2,
EndLine: 2,
StartPos: 3,
EndPos: 6,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
},
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 2,
EndLine: 2,
StartPos: 6,
EndPos: 17,
2020-05-12 21:16:36 +00:00
},
},
Arguments: []ast.Vertex{
&ast.Argument{
Node: ast.Node{
Position: &position.Position{
StartLine: 2,
EndLine: 2,
StartPos: 7,
EndPos: 9,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 2,
EndLine: 2,
StartPos: 7,
EndPos: 9,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 2,
EndLine: 2,
StartPos: 7,
EndPos: 9,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
&ast.Argument{
Node: ast.Node{
Position: &position.Position{
StartLine: 2,
EndLine: 2,
StartPos: 11,
EndPos: 16,
2020-05-12 21:16:36 +00:00
},
},
Variadic: true,
2020-05-12 21:16:36 +00:00
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 2,
EndLine: 2,
StartPos: 14,
EndPos: 16,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 2,
EndLine: 2,
StartPos: 14,
EndPos: 16,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 3,
EndLine: 3,
StartPos: 19,
EndPos: 35,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprFunctionCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 3,
EndLine: 3,
StartPos: 19,
EndPos: 34,
2020-05-12 21:16:36 +00:00
},
},
Function: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 3,
EndLine: 3,
StartPos: 19,
EndPos: 23,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 3,
EndLine: 3,
StartPos: 19,
EndPos: 23,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$foo"),
2020-05-12 21:16:36 +00:00
},
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 3,
EndLine: 3,
StartPos: 23,
EndPos: 34,
2020-05-12 21:16:36 +00:00
},
},
Arguments: []ast.Vertex{
&ast.Argument{
Node: ast.Node{
Position: &position.Position{
StartLine: 3,
EndLine: 3,
StartPos: 24,
EndPos: 26,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 3,
EndLine: 3,
StartPos: 24,
EndPos: 26,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 3,
EndLine: 3,
StartPos: 24,
EndPos: 26,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
&ast.Argument{
Node: ast.Node{
Position: &position.Position{
StartLine: 3,
EndLine: 3,
StartPos: 28,
EndPos: 33,
2020-05-12 21:16:36 +00:00
},
},
Variadic: true,
2020-05-12 21:16:36 +00:00
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 3,
EndLine: 3,
StartPos: 31,
EndPos: 33,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 3,
EndLine: 3,
StartPos: 31,
EndPos: 33,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 4,
EndLine: 4,
StartPos: 36,
EndPos: 57,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprMethodCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 4,
EndLine: 4,
StartPos: 36,
EndPos: 56,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 4,
EndLine: 4,
StartPos: 36,
EndPos: 40,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 4,
EndLine: 4,
StartPos: 36,
EndPos: 40,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$foo"),
2020-05-12 21:16:36 +00:00
},
},
Method: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 4,
EndLine: 4,
StartPos: 42,
EndPos: 45,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 4,
EndLine: 4,
StartPos: 45,
EndPos: 56,
2020-05-12 21:16:36 +00:00
},
},
Arguments: []ast.Vertex{
&ast.Argument{
Node: ast.Node{
Position: &position.Position{
StartLine: 4,
EndLine: 4,
StartPos: 46,
EndPos: 48,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 4,
EndLine: 4,
StartPos: 46,
EndPos: 48,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 4,
EndLine: 4,
StartPos: 46,
EndPos: 48,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
&ast.Argument{
Node: ast.Node{
Position: &position.Position{
StartLine: 4,
EndLine: 4,
StartPos: 50,
EndPos: 55,
2020-05-12 21:16:36 +00:00
},
},
Variadic: true,
2020-05-12 21:16:36 +00:00
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 4,
EndLine: 4,
StartPos: 53,
EndPos: 55,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 4,
EndLine: 4,
StartPos: 53,
EndPos: 55,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 5,
EndLine: 5,
StartPos: 58,
EndPos: 78,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprStaticCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 5,
EndLine: 5,
StartPos: 58,
EndPos: 77,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 5,
EndLine: 5,
StartPos: 58,
EndPos: 61,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 5,
EndLine: 5,
StartPos: 58,
EndPos: 61,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
},
},
Call: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 5,
EndLine: 5,
StartPos: 63,
EndPos: 66,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 5,
EndLine: 5,
StartPos: 66,
EndPos: 77,
2020-05-12 21:16:36 +00:00
},
},
Arguments: []ast.Vertex{
&ast.Argument{
Node: ast.Node{
Position: &position.Position{
StartLine: 5,
EndLine: 5,
StartPos: 67,
EndPos: 69,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 5,
EndLine: 5,
StartPos: 67,
EndPos: 69,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 5,
EndLine: 5,
StartPos: 67,
EndPos: 69,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
&ast.Argument{
Node: ast.Node{
Position: &position.Position{
StartLine: 5,
EndLine: 5,
StartPos: 71,
EndPos: 76,
2020-05-12 21:16:36 +00:00
},
},
Variadic: true,
2020-05-12 21:16:36 +00:00
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 5,
EndLine: 5,
StartPos: 74,
EndPos: 76,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 5,
EndLine: 5,
StartPos: 74,
EndPos: 76,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 6,
EndLine: 6,
StartPos: 79,
EndPos: 100,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprStaticCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 6,
EndLine: 6,
StartPos: 79,
EndPos: 99,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 6,
EndLine: 6,
StartPos: 79,
EndPos: 83,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 6,
EndLine: 6,
StartPos: 79,
EndPos: 83,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$foo"),
2020-05-12 21:16:36 +00:00
},
},
Call: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 6,
EndLine: 6,
StartPos: 85,
EndPos: 88,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 6,
EndLine: 6,
StartPos: 88,
EndPos: 99,
2020-05-12 21:16:36 +00:00
},
},
Arguments: []ast.Vertex{
&ast.Argument{
Node: ast.Node{
Position: &position.Position{
StartLine: 6,
EndLine: 6,
StartPos: 89,
EndPos: 91,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 6,
EndLine: 6,
StartPos: 89,
EndPos: 91,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 6,
EndLine: 6,
StartPos: 89,
EndPos: 91,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
&ast.Argument{
Node: ast.Node{
Position: &position.Position{
StartLine: 6,
EndLine: 6,
StartPos: 93,
EndPos: 98,
2020-05-12 21:16:36 +00:00
},
},
Variadic: true,
2020-05-12 21:16:36 +00:00
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 6,
EndLine: 6,
StartPos: 96,
EndPos: 98,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 6,
EndLine: 6,
StartPos: 96,
EndPos: 98,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 7,
EndLine: 7,
StartPos: 101,
EndPos: 120,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprNew{
Node: ast.Node{
Position: &position.Position{
StartLine: 7,
EndLine: 7,
StartPos: 101,
EndPos: 119,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 7,
EndLine: 7,
StartPos: 105,
EndPos: 108,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 7,
EndLine: 7,
StartPos: 105,
EndPos: 108,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
},
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 7,
EndLine: 7,
StartPos: 108,
EndPos: 119,
2020-05-12 21:16:36 +00:00
},
},
Arguments: []ast.Vertex{
&ast.Argument{
Node: ast.Node{
Position: &position.Position{
StartLine: 7,
EndLine: 7,
StartPos: 109,
EndPos: 111,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 7,
EndLine: 7,
StartPos: 109,
EndPos: 111,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 7,
EndLine: 7,
StartPos: 109,
EndPos: 111,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
&ast.Argument{
Node: ast.Node{
Position: &position.Position{
StartLine: 7,
EndLine: 7,
StartPos: 113,
EndPos: 118,
2020-05-12 21:16:36 +00:00
},
},
Variadic: true,
2020-05-12 21:16:36 +00:00
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 7,
EndLine: 7,
StartPos: 116,
EndPos: 118,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 7,
EndLine: 7,
StartPos: 116,
EndPos: 118,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 9,
EndLine: 9,
StartPos: 144,
EndPos: 169,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprNew{
Node: ast.Node{
Position: &position.Position{
StartLine: 9,
EndLine: 9,
StartPos: 144,
EndPos: 168,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 9,
EndLine: 9,
StartPos: 148,
EndPos: 168,
2020-05-12 21:16:36 +00:00
},
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 9,
EndLine: 9,
StartPos: 154,
EndPos: 165,
2020-05-12 21:16:36 +00:00
},
},
Arguments: []ast.Vertex{
&ast.Argument{
Node: ast.Node{
Position: &position.Position{
StartLine: 9,
EndLine: 9,
StartPos: 155,
EndPos: 157,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 9,
EndLine: 9,
StartPos: 155,
EndPos: 157,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 9,
EndLine: 9,
StartPos: 155,
EndPos: 157,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
&ast.Argument{
Node: ast.Node{
Position: &position.Position{
StartLine: 9,
EndLine: 9,
StartPos: 159,
EndPos: 164,
2020-05-12 21:16:36 +00:00
},
},
Variadic: true,
2020-05-12 21:16:36 +00:00
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 9,
EndLine: 9,
StartPos: 162,
EndPos: 164,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 9,
EndLine: 9,
StartPos: 162,
EndPos: 164,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
Stmts: []ast.Vertex{},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 10,
EndLine: 10,
StartPos: 170,
EndPos: 183,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprNew{
Node: ast.Node{
Position: &position.Position{
StartLine: 10,
EndLine: 10,
StartPos: 170,
EndPos: 182,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 10,
EndLine: 10,
StartPos: 174,
EndPos: 182,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 11,
EndLine: 11,
StartPos: 184,
EndPos: 193,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprNew{
Node: ast.Node{
Position: &position.Position{
StartLine: 11,
EndLine: 11,
StartPos: 184,
EndPos: 192,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 11,
EndLine: 11,
StartPos: 188,
EndPos: 192,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 11,
EndLine: 11,
StartPos: 188,
EndPos: 192,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$foo"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 12,
EndLine: 12,
StartPos: 194,
EndPos: 206,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprNew{
Node: ast.Node{
Position: &position.Position{
StartLine: 12,
EndLine: 12,
StartPos: 194,
EndPos: 205,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.ExprArrayDimFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 12,
EndLine: 12,
StartPos: 198,
EndPos: 205,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 12,
EndLine: 12,
StartPos: 198,
EndPos: 202,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 12,
EndLine: 12,
StartPos: 198,
EndPos: 202,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$foo"),
2020-05-12 21:16:36 +00:00
},
},
Dim: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 12,
EndLine: 12,
StartPos: 203,
EndPos: 204,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 13,
EndLine: 13,
StartPos: 207,
EndPos: 222,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprNew{
Node: ast.Node{
Position: &position.Position{
StartLine: 13,
EndLine: 13,
StartPos: 207,
EndPos: 221,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.ExprArrayDimFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 13,
EndLine: 13,
StartPos: 211,
EndPos: 221,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 13,
EndLine: 13,
StartPos: 211,
EndPos: 215,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 13,
EndLine: 13,
StartPos: 211,
EndPos: 215,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$foo"),
2020-05-12 21:16:36 +00:00
},
},
Dim: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 13,
EndLine: 13,
StartPos: 216,
EndPos: 220,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 13,
EndLine: 13,
StartPos: 216,
EndPos: 220,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$bar"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 14,
EndLine: 14,
StartPos: 223,
EndPos: 237,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprNew{
Node: ast.Node{
Position: &position.Position{
StartLine: 14,
EndLine: 14,
StartPos: 223,
EndPos: 236,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.ExprPropertyFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 14,
EndLine: 14,
StartPos: 227,
EndPos: 236,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 14,
EndLine: 14,
StartPos: 227,
EndPos: 231,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 14,
EndLine: 14,
StartPos: 227,
EndPos: 231,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$foo"),
2020-05-12 21:16:36 +00:00
},
},
Property: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 14,
EndLine: 14,
StartPos: 233,
EndPos: 236,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 15,
EndLine: 15,
StartPos: 238,
EndPos: 253,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprNew{
Node: ast.Node{
Position: &position.Position{
StartLine: 15,
EndLine: 15,
StartPos: 238,
EndPos: 252,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.ExprStaticPropertyFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 15,
EndLine: 15,
StartPos: 242,
EndPos: 252,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 15,
EndLine: 15,
StartPos: 242,
EndPos: 246,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 15,
EndLine: 15,
StartPos: 242,
EndPos: 246,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$foo"),
2020-05-12 21:16:36 +00:00
},
},
Property: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 15,
EndLine: 15,
StartPos: 248,
EndPos: 252,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 15,
EndLine: 15,
StartPos: 248,
EndPos: 252,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$bar"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 16,
EndLine: 16,
StartPos: 254,
EndPos: 271,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprNew{
Node: ast.Node{
Position: &position.Position{
StartLine: 16,
EndLine: 16,
StartPos: 254,
EndPos: 270,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.ExprStaticPropertyFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 16,
EndLine: 16,
StartPos: 258,
EndPos: 270,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 16,
EndLine: 16,
StartPos: 258,
EndPos: 264,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("static"),
},
Property: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 16,
EndLine: 16,
StartPos: 266,
EndPos: 270,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 16,
EndLine: 16,
StartPos: 266,
EndPos: 270,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$bar"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtFunction{
Node: ast.Node{
Position: &position.Position{
StartLine: 18,
EndLine: 18,
StartPos: 273,
EndPos: 318,
2020-05-12 21:16:36 +00:00
},
},
FunctionName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 18,
EndLine: 18,
StartPos: 282,
EndPos: 285,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Params: []ast.Vertex{
&ast.Parameter{
Node: ast.Node{
Position: &position.Position{
StartLine: 18,
EndLine: 18,
StartPos: 286,
EndPos: 300,
2020-05-12 21:16:36 +00:00
},
},
Type: &ast.Nullable{
Node: ast.Node{
Position: &position.Position{
StartLine: 18,
EndLine: 18,
StartPos: 286,
EndPos: 290,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 18,
EndLine: 18,
StartPos: 287,
EndPos: 290,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 18,
EndLine: 18,
StartPos: 287,
EndPos: 290,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
},
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 18,
EndLine: 18,
StartPos: 291,
EndPos: 295,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 18,
EndLine: 18,
StartPos: 291,
EndPos: 295,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$bar"),
2020-05-12 21:16:36 +00:00
},
},
DefaultValue: &ast.ExprConstFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 18,
EndLine: 18,
StartPos: 296,
EndPos: 300,
2020-05-12 21:16:36 +00:00
},
},
Const: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 18,
EndLine: 18,
StartPos: 296,
EndPos: 300,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 18,
EndLine: 18,
StartPos: 296,
EndPos: 300,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("null"),
},
},
},
},
},
&ast.Parameter{
Node: ast.Node{
Position: &position.Position{
StartLine: 18,
EndLine: 18,
StartPos: 302,
EndPos: 314,
2020-05-12 21:16:36 +00:00
},
},
Type: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 18,
EndLine: 18,
StartPos: 302,
EndPos: 305,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 18,
EndLine: 18,
StartPos: 302,
EndPos: 305,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("baz"),
},
},
},
Var: &ast.Reference{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 18,
EndLine: 18,
StartPos: 306,
EndPos: 314,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.Variadic{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 18,
EndLine: 18,
StartPos: 307,
EndPos: 314,
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 18,
EndLine: 18,
StartPos: 310,
EndPos: 314,
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 18,
EndLine: 18,
StartPos: 310,
EndPos: 314,
},
},
Value: []byte("$baz"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
Stmts: []ast.Vertex{},
},
&ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 319,
EndPos: 383,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 325,
EndPos: 328,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Stmts: []ast.Vertex{
&ast.StmtClassMethod{
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 330,
EndPos: 382,
2020-05-12 21:16:36 +00:00
},
},
MethodName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 346,
EndPos: 349,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Modifiers: []ast.Vertex{
&ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 330,
EndPos: 336,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("public"),
},
},
Params: []ast.Vertex{
&ast.Parameter{
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 350,
EndPos: 364,
2020-05-12 21:16:36 +00:00
},
},
Type: &ast.Nullable{
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 350,
EndPos: 354,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 351,
EndPos: 354,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 351,
EndPos: 354,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
},
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 355,
EndPos: 359,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 355,
EndPos: 359,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$bar"),
2020-05-12 21:16:36 +00:00
},
},
DefaultValue: &ast.ExprConstFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 360,
EndPos: 364,
2020-05-12 21:16:36 +00:00
},
},
Const: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 360,
EndPos: 364,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 360,
EndPos: 364,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("null"),
},
},
},
},
},
&ast.Parameter{
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 366,
EndPos: 378,
2020-05-12 21:16:36 +00:00
},
},
Type: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 366,
EndPos: 369,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 366,
EndPos: 369,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("baz"),
},
},
},
Var: &ast.Reference{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 370,
EndPos: 378,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.Variadic{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 371,
EndPos: 378,
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 374,
EndPos: 378,
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 374,
EndPos: 378,
},
},
Value: []byte("$baz"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 19,
EndLine: 19,
StartPos: 380,
EndPos: 382,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 20,
EndLine: 20,
StartPos: 384,
EndPos: 426,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprClosure{
Node: ast.Node{
Position: &position.Position{
StartLine: 20,
EndLine: 20,
StartPos: 384,
EndPos: 425,
2020-05-12 21:16:36 +00:00
},
},
Params: []ast.Vertex{
&ast.Parameter{
Node: ast.Node{
Position: &position.Position{
StartLine: 20,
EndLine: 20,
StartPos: 393,
EndPos: 407,
2020-05-12 21:16:36 +00:00
},
},
Type: &ast.Nullable{
Node: ast.Node{
Position: &position.Position{
StartLine: 20,
EndLine: 20,
StartPos: 393,
EndPos: 397,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 20,
EndLine: 20,
StartPos: 394,
EndPos: 397,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 20,
EndLine: 20,
StartPos: 394,
EndPos: 397,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
},
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 20,
EndLine: 20,
StartPos: 398,
EndPos: 402,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 20,
EndLine: 20,
StartPos: 398,
EndPos: 402,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$bar"),
2020-05-12 21:16:36 +00:00
},
},
DefaultValue: &ast.ExprConstFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 20,
EndLine: 20,
StartPos: 403,
EndPos: 407,
2020-05-12 21:16:36 +00:00
},
},
Const: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 20,
EndLine: 20,
StartPos: 403,
EndPos: 407,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 20,
EndLine: 20,
StartPos: 403,
EndPos: 407,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("null"),
},
},
},
},
},
&ast.Parameter{
Node: ast.Node{
Position: &position.Position{
StartLine: 20,
EndLine: 20,
StartPos: 409,
EndPos: 421,
2020-05-12 21:16:36 +00:00
},
},
Type: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 20,
EndLine: 20,
StartPos: 409,
EndPos: 412,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 20,
EndLine: 20,
StartPos: 409,
EndPos: 412,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("baz"),
},
},
},
Var: &ast.Reference{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 20,
EndLine: 20,
StartPos: 413,
EndPos: 421,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.Variadic{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 20,
EndLine: 20,
StartPos: 414,
EndPos: 421,
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 20,
EndLine: 20,
StartPos: 417,
EndPos: 421,
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 20,
EndLine: 20,
StartPos: 417,
EndPos: 421,
},
},
Value: []byte("$baz"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
Stmts: []ast.Vertex{},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 21,
EndLine: 21,
StartPos: 427,
EndPos: 476,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprClosure{
Node: ast.Node{
Position: &position.Position{
StartLine: 21,
EndLine: 21,
StartPos: 427,
EndPos: 475,
2020-05-12 21:16:36 +00:00
},
},
Static: true,
2020-05-12 21:16:36 +00:00
Params: []ast.Vertex{
&ast.Parameter{
Node: ast.Node{
Position: &position.Position{
StartLine: 21,
EndLine: 21,
StartPos: 443,
EndPos: 457,
2020-05-12 21:16:36 +00:00
},
},
Type: &ast.Nullable{
Node: ast.Node{
Position: &position.Position{
StartLine: 21,
EndLine: 21,
StartPos: 443,
EndPos: 447,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 21,
EndLine: 21,
StartPos: 444,
EndPos: 447,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 21,
EndLine: 21,
StartPos: 444,
EndPos: 447,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
},
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 21,
EndLine: 21,
StartPos: 448,
EndPos: 452,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 21,
EndLine: 21,
StartPos: 448,
EndPos: 452,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$bar"),
2020-05-12 21:16:36 +00:00
},
},
DefaultValue: &ast.ExprConstFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 21,
EndLine: 21,
StartPos: 453,
EndPos: 457,
2020-05-12 21:16:36 +00:00
},
},
Const: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 21,
EndLine: 21,
StartPos: 453,
EndPos: 457,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 21,
EndLine: 21,
StartPos: 453,
EndPos: 457,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("null"),
},
},
},
},
},
&ast.Parameter{
Node: ast.Node{
Position: &position.Position{
StartLine: 21,
EndLine: 21,
StartPos: 459,
EndPos: 471,
2020-05-12 21:16:36 +00:00
},
},
Type: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 21,
EndLine: 21,
StartPos: 459,
EndPos: 462,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 21,
EndLine: 21,
StartPos: 459,
EndPos: 462,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("baz"),
},
},
},
Var: &ast.Reference{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 21,
EndLine: 21,
StartPos: 463,
EndPos: 471,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.Variadic{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 21,
EndLine: 21,
StartPos: 464,
EndPos: 471,
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 21,
EndLine: 21,
StartPos: 467,
EndPos: 471,
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 21,
EndLine: 21,
StartPos: 467,
EndPos: 471,
},
},
Value: []byte("$baz"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
Stmts: []ast.Vertex{},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 23,
EndLine: 23,
StartPos: 478,
EndPos: 498,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 23,
EndLine: 23,
StartPos: 478,
EndPos: 497,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1234567890123456789"),
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 24,
EndLine: 24,
StartPos: 499,
EndPos: 520,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarDnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 24,
EndLine: 24,
StartPos: 499,
EndPos: 519,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("12345678901234567890"),
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 25,
EndLine: 25,
StartPos: 521,
EndPos: 524,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarDnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 25,
EndLine: 25,
StartPos: 521,
EndPos: 523,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("0."),
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 26,
EndLine: 26,
StartPos: 525,
EndPos: 592,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 26,
EndLine: 26,
StartPos: 525,
EndPos: 591,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("0b0111111111111111111111111111111111111111111111111111111111111111"),
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 27,
EndLine: 27,
StartPos: 593,
EndPos: 660,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarDnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 27,
EndLine: 27,
StartPos: 593,
EndPos: 659,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("0b1111111111111111111111111111111111111111111111111111111111111111"),
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 28,
EndLine: 28,
StartPos: 661,
EndPos: 682,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 28,
EndLine: 28,
StartPos: 661,
EndPos: 681,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("0x007111111111111111"),
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 29,
EndLine: 29,
StartPos: 683,
EndPos: 702,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarDnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 29,
EndLine: 29,
StartPos: 683,
EndPos: 701,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("0x8111111111111111"),
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 30,
EndLine: 30,
StartPos: 703,
EndPos: 713,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarMagicConstant{
Node: ast.Node{
Position: &position.Position{
StartLine: 30,
EndLine: 30,
StartPos: 703,
EndPos: 712,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("__CLASS__"),
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 31,
EndLine: 31,
StartPos: 714,
EndPos: 722,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarMagicConstant{
Node: ast.Node{
Position: &position.Position{
StartLine: 31,
EndLine: 31,
StartPos: 714,
EndPos: 721,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("__DIR__"),
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 32,
EndLine: 32,
StartPos: 723,
EndPos: 732,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarMagicConstant{
Node: ast.Node{
Position: &position.Position{
StartLine: 32,
EndLine: 32,
StartPos: 723,
EndPos: 731,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("__FILE__"),
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 33,
EndLine: 33,
StartPos: 733,
EndPos: 746,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarMagicConstant{
Node: ast.Node{
Position: &position.Position{
StartLine: 33,
EndLine: 33,
StartPos: 733,
EndPos: 745,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("__FUNCTION__"),
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 34,
EndLine: 34,
StartPos: 747,
EndPos: 756,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarMagicConstant{
Node: ast.Node{
Position: &position.Position{
StartLine: 34,
EndLine: 34,
StartPos: 747,
EndPos: 755,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("__LINE__"),
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 35,
EndLine: 35,
StartPos: 757,
EndPos: 771,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarMagicConstant{
Node: ast.Node{
Position: &position.Position{
StartLine: 35,
EndLine: 35,
StartPos: 757,
EndPos: 770,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("__NAMESPACE__"),
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 36,
EndLine: 36,
StartPos: 772,
EndPos: 783,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarMagicConstant{
Node: ast.Node{
Position: &position.Position{
StartLine: 36,
EndLine: 36,
StartPos: 772,
EndPos: 782,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("__METHOD__"),
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 37,
EndLine: 37,
StartPos: 784,
EndPos: 794,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarMagicConstant{
Node: ast.Node{
Position: &position.Position{
StartLine: 37,
EndLine: 37,
StartPos: 784,
EndPos: 793,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("__TRAIT__"),
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 39,
EndLine: 39,
StartPos: 796,
EndPos: 808,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarEncapsed{
Node: ast.Node{
Position: &position.Position{
StartLine: 39,
EndLine: 39,
StartPos: 796,
EndPos: 807,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.ScalarEncapsedStringPart{
Node: ast.Node{
Position: &position.Position{
StartLine: 39,
EndLine: 39,
StartPos: 797,
EndPos: 802,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("test "),
},
&ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 39,
EndLine: 39,
StartPos: 802,
EndPos: 806,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 39,
EndLine: 39,
StartPos: 802,
EndPos: 806,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$var"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 40,
EndLine: 40,
StartPos: 809,
EndPos: 824,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarEncapsed{
Node: ast.Node{
Position: &position.Position{
StartLine: 40,
EndLine: 40,
StartPos: 809,
EndPos: 823,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.ScalarEncapsedStringPart{
Node: ast.Node{
Position: &position.Position{
StartLine: 40,
EndLine: 40,
StartPos: 810,
EndPos: 815,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("test "),
},
&ast.ExprArrayDimFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 40,
EndLine: 40,
StartPos: 815,
EndPos: 822,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 40,
EndLine: 40,
StartPos: 815,
EndPos: 819,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 40,
EndLine: 40,
StartPos: 815,
EndPos: 819,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$var"),
2020-05-12 21:16:36 +00:00
},
},
Dim: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 40,
EndLine: 40,
StartPos: 820,
EndPos: 821,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 41,
EndLine: 41,
StartPos: 825,
EndPos: 841,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarEncapsed{
Node: ast.Node{
Position: &position.Position{
StartLine: 41,
EndLine: 41,
StartPos: 825,
EndPos: 840,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.ScalarEncapsedStringPart{
Node: ast.Node{
Position: &position.Position{
StartLine: 41,
EndLine: 41,
StartPos: 826,
EndPos: 831,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("test "),
},
&ast.ExprArrayDimFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 41,
EndLine: 41,
StartPos: 831,
EndPos: 839,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 41,
EndLine: 41,
StartPos: 831,
EndPos: 835,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 41,
EndLine: 41,
StartPos: 831,
EndPos: 835,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$var"),
2020-05-12 21:16:36 +00:00
},
},
Dim: &ast.ExprUnaryMinus{
Node: ast.Node{
Position: &position.Position{
StartLine: 41,
EndLine: 41,
StartPos: 836,
EndPos: 838,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 41,
EndLine: 41,
StartPos: 836,
EndPos: 838,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 42,
EndLine: 42,
StartPos: 842,
EndPos: 896,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarEncapsed{
Node: ast.Node{
Position: &position.Position{
StartLine: 42,
EndLine: 42,
StartPos: 842,
EndPos: 895,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.ScalarEncapsedStringPart{
Node: ast.Node{
Position: &position.Position{
StartLine: 42,
EndLine: 42,
StartPos: 843,
EndPos: 848,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("test "),
},
&ast.ExprArrayDimFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 42,
EndLine: 42,
StartPos: 848,
EndPos: 894,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 42,
EndLine: 42,
StartPos: 848,
EndPos: 852,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 42,
EndLine: 42,
StartPos: 848,
EndPos: 852,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$var"),
2020-05-12 21:16:36 +00:00
},
},
Dim: &ast.ScalarString{
Node: ast.Node{
Position: &position.Position{
StartLine: 42,
EndLine: 42,
StartPos: 853,
EndPos: 893,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1234567890123456789012345678901234567890"),
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 43,
EndLine: 43,
StartPos: 897,
EndPos: 952,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarEncapsed{
Node: ast.Node{
Position: &position.Position{
StartLine: 43,
EndLine: 43,
StartPos: 897,
EndPos: 951,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.ScalarEncapsedStringPart{
Node: ast.Node{
Position: &position.Position{
StartLine: 43,
EndLine: 43,
StartPos: 898,
EndPos: 903,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("test "),
},
&ast.ExprArrayDimFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 43,
EndLine: 43,
StartPos: 903,
EndPos: 950,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 43,
EndLine: 43,
StartPos: 903,
EndPos: 907,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 43,
EndLine: 43,
StartPos: 903,
EndPos: 907,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$var"),
2020-05-12 21:16:36 +00:00
},
},
Dim: &ast.ScalarString{
Node: ast.Node{
Position: &position.Position{
StartLine: 43,
EndLine: 43,
StartPos: 908,
EndPos: 949,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("-1234567890123456789012345678901234567890"),
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 44,
EndLine: 44,
StartPos: 953,
EndPos: 970,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarEncapsed{
Node: ast.Node{
Position: &position.Position{
StartLine: 44,
EndLine: 44,
StartPos: 953,
EndPos: 969,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.ScalarEncapsedStringPart{
Node: ast.Node{
Position: &position.Position{
StartLine: 44,
EndLine: 44,
StartPos: 954,
EndPos: 959,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("test "),
},
&ast.ExprArrayDimFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 44,
EndLine: 44,
StartPos: 959,
EndPos: 968,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 44,
EndLine: 44,
StartPos: 959,
EndPos: 963,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 44,
EndLine: 44,
StartPos: 959,
EndPos: 963,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$var"),
2020-05-12 21:16:36 +00:00
},
},
Dim: &ast.ScalarString{
Node: ast.Node{
Position: &position.Position{
StartLine: 44,
EndLine: 44,
StartPos: 964,
EndPos: 967,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 45,
EndLine: 45,
StartPos: 971,
EndPos: 989,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarEncapsed{
Node: ast.Node{
Position: &position.Position{
StartLine: 45,
EndLine: 45,
StartPos: 971,
EndPos: 988,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.ScalarEncapsedStringPart{
Node: ast.Node{
Position: &position.Position{
StartLine: 45,
EndLine: 45,
StartPos: 972,
EndPos: 977,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("test "),
},
&ast.ExprArrayDimFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 45,
EndLine: 45,
StartPos: 977,
EndPos: 987,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 45,
EndLine: 45,
StartPos: 977,
EndPos: 981,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 45,
EndLine: 45,
StartPos: 977,
EndPos: 981,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$var"),
2020-05-12 21:16:36 +00:00
},
},
Dim: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 45,
EndLine: 45,
StartPos: 982,
EndPos: 986,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 45,
EndLine: 45,
StartPos: 982,
EndPos: 986,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$bar"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 46,
EndLine: 46,
StartPos: 990,
EndPos: 1002,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarEncapsed{
Node: ast.Node{
Position: &position.Position{
StartLine: 46,
EndLine: 46,
StartPos: 990,
EndPos: 1001,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 46,
EndLine: 46,
StartPos: 991,
EndPos: 995,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 46,
EndLine: 46,
StartPos: 991,
EndPos: 995,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$foo"),
2020-05-12 21:16:36 +00:00
},
},
&ast.ScalarEncapsedStringPart{
Node: ast.Node{
Position: &position.Position{
StartLine: 46,
EndLine: 46,
StartPos: 995,
EndPos: 996,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte(" "),
},
&ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 46,
EndLine: 46,
StartPos: 996,
EndPos: 1000,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 46,
EndLine: 46,
StartPos: 996,
EndPos: 1000,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$bar"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 47,
EndLine: 47,
StartPos: 1003,
EndPos: 1022,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarEncapsed{
Node: ast.Node{
Position: &position.Position{
StartLine: 47,
EndLine: 47,
StartPos: 1003,
EndPos: 1021,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.ScalarEncapsedStringPart{
Node: ast.Node{
Position: &position.Position{
StartLine: 47,
EndLine: 47,
StartPos: 1004,
EndPos: 1009,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("test "),
},
&ast.ExprPropertyFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 47,
EndLine: 47,
StartPos: 1009,
EndPos: 1018,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 47,
EndLine: 47,
StartPos: 1009,
EndPos: 1013,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 47,
EndLine: 47,
StartPos: 1009,
EndPos: 1013,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$foo"),
2020-05-12 21:16:36 +00:00
},
},
Property: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 47,
EndLine: 47,
StartPos: 1015,
EndPos: 1018,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
},
&ast.ScalarEncapsedStringPart{
Node: ast.Node{
Position: &position.Position{
StartLine: 47,
EndLine: 47,
StartPos: 1018,
EndPos: 1020,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("()"),
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 48,
EndLine: 48,
StartPos: 1023,
EndPos: 1037,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarEncapsed{
Node: ast.Node{
Position: &position.Position{
StartLine: 48,
EndLine: 48,
StartPos: 1023,
EndPos: 1036,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.ScalarEncapsedStringPart{
Node: ast.Node{
Position: &position.Position{
StartLine: 48,
EndLine: 48,
StartPos: 1024,
EndPos: 1029,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("test "),
},
&ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 48,
EndLine: 48,
StartPos: 1029,
EndPos: 1035,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 48,
EndLine: 48,
StartPos: 1031,
EndPos: 1034,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 49,
EndLine: 49,
StartPos: 1038,
EndPos: 1055,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarEncapsed{
Node: ast.Node{
Position: &position.Position{
StartLine: 49,
EndLine: 49,
StartPos: 1038,
EndPos: 1054,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.ScalarEncapsedStringPart{
Node: ast.Node{
Position: &position.Position{
StartLine: 49,
EndLine: 49,
StartPos: 1039,
EndPos: 1044,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("test "),
},
&ast.ExprArrayDimFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 49,
EndLine: 49,
StartPos: 1044,
EndPos: 1053,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 49,
EndLine: 49,
StartPos: 1046,
EndPos: 1049,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 49,
EndLine: 49,
StartPos: 1046,
EndPos: 1049,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
},
Dim: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 49,
EndLine: 49,
StartPos: 1050,
EndPos: 1051,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("0"),
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 50,
EndLine: 50,
StartPos: 1056,
EndPos: 1071,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarEncapsed{
Node: ast.Node{
Position: &position.Position{
StartLine: 50,
EndLine: 50,
StartPos: 1056,
EndPos: 1070,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.ScalarEncapsedStringPart{
Node: ast.Node{
Position: &position.Position{
StartLine: 50,
EndLine: 50,
StartPos: 1057,
EndPos: 1062,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("test "),
},
&ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 50,
EndLine: 50,
StartPos: 1062,
EndPos: 1069,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 50,
EndLine: 50,
StartPos: 1064,
EndPos: 1068,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 50,
EndLine: 50,
StartPos: 1064,
EndPos: 1068,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$foo"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 51,
EndLine: 51,
StartPos: 1072,
EndPos: 1093,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarEncapsed{
Node: ast.Node{
Position: &position.Position{
StartLine: 51,
EndLine: 51,
StartPos: 1072,
EndPos: 1092,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.ScalarEncapsedStringPart{
Node: ast.Node{
Position: &position.Position{
StartLine: 51,
EndLine: 51,
StartPos: 1073,
EndPos: 1078,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("test "),
},
&ast.ExprMethodCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 51,
EndLine: 51,
StartPos: 1079,
EndPos: 1090,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 51,
EndLine: 51,
StartPos: 1079,
EndPos: 1083,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 51,
EndLine: 51,
StartPos: 1079,
EndPos: 1083,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$foo"),
2020-05-12 21:16:36 +00:00
},
},
Method: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 51,
EndLine: 51,
StartPos: 1085,
EndPos: 1088,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 51,
EndLine: 51,
StartPos: 1088,
EndPos: 1090,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
},
&ast.StmtIf{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 53,
EndLine: 54,
StartPos: 1095,
EndPos: 1111,
2020-05-12 21:16:36 +00:00
},
},
Alt: true,
2020-05-12 21:16:36 +00:00
Cond: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 53,
EndLine: 53,
StartPos: 1099,
EndPos: 1101,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 53,
EndLine: 53,
StartPos: 1099,
EndPos: 1101,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: -1,
EndLine: -1,
StartPos: -1,
EndPos: -1,
},
},
Stmts: []ast.Vertex{},
},
},
&ast.StmtIf{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 55,
EndLine: 57,
StartPos: 1112,
EndPos: 1141,
2020-05-12 21:16:36 +00:00
},
},
Alt: true,
2020-05-12 21:16:36 +00:00
Cond: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 55,
EndLine: 55,
StartPos: 1116,
EndPos: 1118,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 55,
EndLine: 55,
StartPos: 1116,
EndPos: 1118,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: -1,
EndLine: -1,
StartPos: -1,
EndPos: -1,
},
},
Stmts: []ast.Vertex{},
},
ElseIf: []ast.Vertex{
&ast.StmtElseIf{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 56,
EndLine: -1,
StartPos: 1122,
2020-05-12 21:16:36 +00:00
EndPos: -1,
},
},
Alt: true,
2020-05-12 21:16:36 +00:00
Cond: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 56,
EndLine: 56,
StartPos: 1130,
EndPos: 1132,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 56,
EndLine: 56,
StartPos: 1130,
EndPos: 1132,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: -1,
EndLine: -1,
StartPos: -1,
EndPos: -1,
},
},
Stmts: []ast.Vertex{},
},
},
},
},
&ast.StmtIf{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 58,
EndLine: 60,
StartPos: 1142,
EndPos: 1164,
2020-05-12 21:16:36 +00:00
},
},
Alt: true,
2020-05-12 21:16:36 +00:00
Cond: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 58,
EndLine: 58,
StartPos: 1146,
EndPos: 1148,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 58,
EndLine: 58,
StartPos: 1146,
EndPos: 1148,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: -1,
EndLine: -1,
StartPos: -1,
EndPos: -1,
},
},
Stmts: []ast.Vertex{},
},
Else: &ast.StmtElse{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 59,
EndLine: -1,
StartPos: 1152,
2020-05-12 21:16:36 +00:00
EndPos: -1,
},
},
Alt: true,
2020-05-12 21:16:36 +00:00
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: -1,
EndLine: -1,
StartPos: -1,
EndPos: -1,
},
},
Stmts: []ast.Vertex{},
},
},
},
&ast.StmtIf{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 61,
EndLine: 65,
StartPos: 1165,
EndPos: 1213,
2020-05-12 21:16:36 +00:00
},
},
Alt: true,
2020-05-12 21:16:36 +00:00
Cond: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 61,
EndLine: 61,
StartPos: 1169,
EndPos: 1171,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 61,
EndLine: 61,
StartPos: 1169,
EndPos: 1171,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: -1,
EndLine: -1,
StartPos: -1,
EndPos: -1,
},
},
Stmts: []ast.Vertex{},
},
ElseIf: []ast.Vertex{
&ast.StmtElseIf{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 62,
EndLine: -1,
StartPos: 1175,
2020-05-12 21:16:36 +00:00
EndPos: -1,
},
},
Alt: true,
2020-05-12 21:16:36 +00:00
Cond: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 62,
EndLine: 62,
StartPos: 1183,
EndPos: 1185,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 62,
EndLine: 62,
StartPos: 1183,
EndPos: 1185,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: -1,
EndLine: -1,
StartPos: -1,
EndPos: -1,
},
},
Stmts: []ast.Vertex{},
},
},
&ast.StmtElseIf{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 63,
EndLine: -1,
StartPos: 1188,
2020-05-12 21:16:36 +00:00
EndPos: -1,
},
},
Alt: true,
2020-05-12 21:16:36 +00:00
Cond: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 63,
EndLine: 63,
StartPos: 1196,
EndPos: 1198,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 63,
EndLine: 63,
StartPos: 1196,
EndPos: 1198,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$c"),
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: -1,
EndLine: -1,
StartPos: -1,
EndPos: -1,
},
},
Stmts: []ast.Vertex{},
},
},
},
Else: &ast.StmtElse{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 64,
EndLine: -1,
StartPos: 1201,
2020-05-12 21:16:36 +00:00
EndPos: -1,
},
},
Alt: true,
2020-05-12 21:16:36 +00:00
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: -1,
EndLine: -1,
StartPos: -1,
EndPos: -1,
},
},
Stmts: []ast.Vertex{},
},
},
},
&ast.StmtWhile{
Node: ast.Node{
Position: &position.Position{
StartLine: 67,
EndLine: 67,
StartPos: 1215,
EndPos: 1235,
2020-05-12 21:16:36 +00:00
},
},
Cond: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 67,
EndLine: 67,
StartPos: 1222,
EndPos: 1223,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 67,
EndLine: 67,
StartPos: 1225,
EndPos: 1235,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{
&ast.StmtBreak{
Node: ast.Node{
Position: &position.Position{
StartLine: 67,
EndLine: 67,
StartPos: 1227,
EndPos: 1233,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
&ast.StmtWhile{
Node: ast.Node{
Position: &position.Position{
StartLine: 68,
EndLine: 68,
StartPos: 1236,
EndPos: 1258,
2020-05-12 21:16:36 +00:00
},
},
Cond: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 68,
EndLine: 68,
StartPos: 1243,
EndPos: 1244,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 68,
EndLine: 68,
StartPos: 1246,
EndPos: 1258,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{
&ast.StmtBreak{
Node: ast.Node{
Position: &position.Position{
StartLine: 68,
EndLine: 68,
StartPos: 1248,
EndPos: 1256,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 68,
EndLine: 68,
StartPos: 1254,
EndPos: 1255,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("2"),
},
},
},
},
},
&ast.StmtWhile{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 69,
EndLine: 69,
StartPos: 1259,
EndPos: 1290,
2020-05-12 21:16:36 +00:00
},
},
Alt: true,
2020-05-12 21:16:36 +00:00
Cond: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 69,
EndLine: 69,
StartPos: 1266,
EndPos: 1267,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 69,
EndLine: 69,
StartPos: 1271,
EndPos: 1280,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{
&ast.StmtBreak{
Node: ast.Node{
Position: &position.Position{
StartLine: 69,
EndLine: 69,
StartPos: 1271,
EndPos: 1280,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 69,
EndLine: 69,
StartPos: 1277,
EndPos: 1278,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("3"),
},
},
},
},
},
&ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 70,
EndLine: 70,
StartPos: 1291,
EndPos: 1334,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 70,
EndLine: 70,
StartPos: 1297,
EndPos: 1300,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Stmts: []ast.Vertex{
&ast.StmtClassConstList{
Node: ast.Node{
Position: &position.Position{
StartLine: 70,
EndLine: 70,
StartPos: 1302,
EndPos: 1332,
2020-05-12 21:16:36 +00:00
},
},
Modifiers: []ast.Vertex{
&ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 70,
EndLine: 70,
StartPos: 1302,
EndPos: 1308,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("public"),
},
},
Consts: []ast.Vertex{
&ast.StmtConstant{
Node: ast.Node{
Position: &position.Position{
StartLine: 70,
EndLine: 70,
StartPos: 1315,
EndPos: 1322,
2020-05-12 21:16:36 +00:00
},
},
Name: &ast.Identifier{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 70,
EndLine: 70,
StartPos: 1315,
EndPos: 1318,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("FOO"),
},
Expr: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 70,
EndLine: 70,
StartPos: 1321,
EndPos: 1322,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
&ast.StmtConstant{
Node: ast.Node{
Position: &position.Position{
StartLine: 70,
EndLine: 70,
StartPos: 1324,
EndPos: 1331,
2020-05-12 21:16:36 +00:00
},
},
Name: &ast.Identifier{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 70,
EndLine: 70,
StartPos: 1324,
EndPos: 1327,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("BAR"),
},
Expr: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 70,
EndLine: 70,
StartPos: 1330,
EndPos: 1331,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("2"),
},
},
},
},
},
},
&ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 71,
EndLine: 71,
StartPos: 1335,
EndPos: 1371,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 71,
EndLine: 71,
StartPos: 1341,
EndPos: 1344,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Stmts: []ast.Vertex{
&ast.StmtClassConstList{
Node: ast.Node{
Position: &position.Position{
StartLine: 71,
EndLine: 71,
StartPos: 1346,
EndPos: 1369,
2020-05-12 21:16:36 +00:00
},
},
Consts: []ast.Vertex{
&ast.StmtConstant{
Node: ast.Node{
Position: &position.Position{
StartLine: 71,
EndLine: 71,
StartPos: 1352,
EndPos: 1359,
2020-05-12 21:16:36 +00:00
},
},
Name: &ast.Identifier{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 71,
EndLine: 71,
StartPos: 1352,
EndPos: 1355,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("FOO"),
},
Expr: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 71,
EndLine: 71,
StartPos: 1358,
EndPos: 1359,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
&ast.StmtConstant{
Node: ast.Node{
Position: &position.Position{
StartLine: 71,
EndLine: 71,
StartPos: 1361,
EndPos: 1368,
2020-05-12 21:16:36 +00:00
},
},
Name: &ast.Identifier{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 71,
EndLine: 71,
StartPos: 1361,
EndPos: 1364,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("BAR"),
},
Expr: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 71,
EndLine: 71,
StartPos: 1367,
EndPos: 1368,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("2"),
},
},
},
},
},
},
&ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 72,
EndLine: 72,
StartPos: 1372,
EndPos: 1402,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 72,
EndLine: 72,
StartPos: 1378,
EndPos: 1381,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Stmts: []ast.Vertex{
&ast.StmtClassMethod{
Node: ast.Node{
Position: &position.Position{
StartLine: 72,
EndLine: 72,
StartPos: 1383,
EndPos: 1400,
2020-05-12 21:16:36 +00:00
},
},
MethodName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 72,
EndLine: 72,
StartPos: 1392,
EndPos: 1395,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 72,
EndLine: 72,
StartPos: 1398,
EndPos: 1400,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
},
},
&ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 73,
EndLine: 73,
StartPos: 1403,
EndPos: 1448,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 73,
EndLine: 73,
StartPos: 1409,
EndPos: 1412,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Stmts: []ast.Vertex{
&ast.StmtClassMethod{
Node: ast.Node{
Position: &position.Position{
StartLine: 73,
EndLine: 73,
StartPos: 1414,
EndPos: 1446,
2020-05-12 21:16:36 +00:00
},
},
ReturnsRef: true,
MethodName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 73,
EndLine: 73,
StartPos: 1438,
EndPos: 1441,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
Modifiers: []ast.Vertex{
&ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 73,
EndLine: 73,
StartPos: 1414,
EndPos: 1420,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("public"),
},
&ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 73,
EndLine: 73,
StartPos: 1421,
EndPos: 1427,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("static"),
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 73,
EndLine: 73,
StartPos: 1444,
EndPos: 1446,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
},
},
&ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 74,
EndLine: 74,
StartPos: 1449,
EndPos: 1500,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 74,
EndLine: 74,
StartPos: 1455,
EndPos: 1458,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Stmts: []ast.Vertex{
&ast.StmtClassMethod{
Node: ast.Node{
Position: &position.Position{
StartLine: 74,
EndLine: 74,
StartPos: 1460,
EndPos: 1498,
2020-05-12 21:16:36 +00:00
},
},
ReturnsRef: true,
MethodName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 74,
EndLine: 74,
StartPos: 1484,
EndPos: 1487,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
Modifiers: []ast.Vertex{
&ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 74,
EndLine: 74,
StartPos: 1460,
EndPos: 1466,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("public"),
},
&ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 74,
EndLine: 74,
StartPos: 1467,
EndPos: 1473,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("static"),
},
},
ReturnType: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 74,
EndLine: 74,
StartPos: 1491,
EndPos: 1495,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 74,
EndLine: 74,
StartPos: 1491,
EndPos: 1495,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("void"),
},
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 74,
EndLine: 74,
StartPos: 1496,
EndPos: 1498,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
},
},
&ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 75,
EndLine: 75,
StartPos: 1501,
EndPos: 1522,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 75,
EndLine: 75,
StartPos: 1516,
EndPos: 1519,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Modifiers: []ast.Vertex{
&ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 75,
EndLine: 75,
StartPos: 1501,
EndPos: 1509,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("abstract"),
},
},
Stmts: []ast.Vertex{},
},
&ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 76,
EndLine: 76,
StartPos: 1523,
EndPos: 1554,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 76,
EndLine: 76,
StartPos: 1535,
EndPos: 1538,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Modifiers: []ast.Vertex{
&ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 76,
EndLine: 76,
StartPos: 1523,
EndPos: 1528,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("final"),
},
},
Extends: &ast.StmtClassExtends{
Node: ast.Node{
Position: &position.Position{
StartLine: 76,
EndLine: 76,
StartPos: 1539,
EndPos: 1550,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 76,
EndLine: 76,
StartPos: 1547,
EndPos: 1550,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 76,
EndLine: 76,
StartPos: 1547,
EndPos: 1550,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
},
},
},
Stmts: []ast.Vertex{},
},
&ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 77,
EndLine: 77,
StartPos: 1555,
EndPos: 1589,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 77,
EndLine: 77,
StartPos: 1567,
EndPos: 1570,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Modifiers: []ast.Vertex{
&ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 77,
EndLine: 77,
StartPos: 1555,
EndPos: 1560,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("final"),
},
},
Implements: &ast.StmtClassImplements{
Node: ast.Node{
Position: &position.Position{
StartLine: 77,
EndLine: 77,
StartPos: 1571,
EndPos: 1585,
2020-05-12 21:16:36 +00:00
},
},
InterfaceNames: []ast.Vertex{
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 77,
EndLine: 77,
StartPos: 1582,
EndPos: 1585,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 77,
EndLine: 77,
StartPos: 1582,
EndPos: 1585,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
},
},
},
},
Stmts: []ast.Vertex{},
},
&ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 78,
EndLine: 78,
StartPos: 1590,
EndPos: 1629,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 78,
EndLine: 78,
StartPos: 1602,
EndPos: 1605,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Modifiers: []ast.Vertex{
&ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 78,
EndLine: 78,
StartPos: 1590,
EndPos: 1595,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("final"),
},
},
Implements: &ast.StmtClassImplements{
Node: ast.Node{
Position: &position.Position{
StartLine: 78,
EndLine: 78,
StartPos: 1606,
EndPos: 1625,
2020-05-12 21:16:36 +00:00
},
},
InterfaceNames: []ast.Vertex{
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 78,
EndLine: 78,
StartPos: 1617,
EndPos: 1620,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 78,
EndLine: 78,
StartPos: 1617,
EndPos: 1620,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
},
},
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 78,
EndLine: 78,
StartPos: 1622,
EndPos: 1625,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 78,
EndLine: 78,
StartPos: 1622,
EndPos: 1625,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("baz"),
},
},
},
},
},
Stmts: []ast.Vertex{},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 79,
EndLine: 79,
StartPos: 1630,
EndPos: 1678,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprNew{
Node: ast.Node{
Position: &position.Position{
StartLine: 79,
EndLine: 79,
StartPos: 1630,
EndPos: 1677,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 79,
EndLine: 79,
StartPos: 1634,
EndPos: 1677,
2020-05-12 21:16:36 +00:00
},
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 79,
EndLine: 79,
StartPos: 1639,
EndPos: 1641,
2020-05-12 21:16:36 +00:00
},
},
},
Extends: &ast.StmtClassExtends{
Node: ast.Node{
Position: &position.Position{
StartLine: 79,
EndLine: 79,
StartPos: 1642,
EndPos: 1653,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 79,
EndLine: 79,
StartPos: 1650,
EndPos: 1653,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 79,
EndLine: 79,
StartPos: 1650,
EndPos: 1653,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
},
},
},
Implements: &ast.StmtClassImplements{
Node: ast.Node{
Position: &position.Position{
StartLine: 79,
EndLine: 79,
StartPos: 1654,
EndPos: 1673,
2020-05-12 21:16:36 +00:00
},
},
InterfaceNames: []ast.Vertex{
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 79,
EndLine: 79,
StartPos: 1665,
EndPos: 1668,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 79,
EndLine: 79,
StartPos: 1665,
EndPos: 1668,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
},
},
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 79,
EndLine: 79,
StartPos: 1670,
EndPos: 1673,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 79,
EndLine: 79,
StartPos: 1670,
EndPos: 1673,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("baz"),
},
},
},
},
},
Stmts: []ast.Vertex{},
},
},
},
&ast.StmtConstList{
Node: ast.Node{
Position: &position.Position{
StartLine: 81,
EndLine: 81,
StartPos: 1680,
EndPos: 1703,
2020-05-12 21:16:36 +00:00
},
},
Consts: []ast.Vertex{
&ast.StmtConstant{
Node: ast.Node{
Position: &position.Position{
StartLine: 81,
EndLine: 81,
StartPos: 1686,
EndPos: 1693,
2020-05-12 21:16:36 +00:00
},
},
Name: &ast.Identifier{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 81,
EndLine: 81,
StartPos: 1686,
EndPos: 1689,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("FOO"),
},
Expr: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 81,
EndLine: 81,
StartPos: 1692,
EndPos: 1693,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
&ast.StmtConstant{
Node: ast.Node{
Position: &position.Position{
StartLine: 81,
EndLine: 81,
StartPos: 1695,
EndPos: 1702,
2020-05-12 21:16:36 +00:00
},
},
Name: &ast.Identifier{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 81,
EndLine: 81,
StartPos: 1695,
EndPos: 1698,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("BAR"),
},
Expr: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 81,
EndLine: 81,
StartPos: 1701,
EndPos: 1702,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("2"),
},
},
},
},
&ast.StmtWhile{
Node: ast.Node{
Position: &position.Position{
StartLine: 82,
EndLine: 82,
StartPos: 1704,
EndPos: 1727,
2020-05-12 21:16:36 +00:00
},
},
Cond: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 82,
EndLine: 82,
StartPos: 1711,
EndPos: 1712,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 82,
EndLine: 82,
StartPos: 1714,
EndPos: 1727,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{
&ast.StmtContinue{
Node: ast.Node{
Position: &position.Position{
StartLine: 82,
EndLine: 82,
StartPos: 1716,
EndPos: 1725,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
&ast.StmtWhile{
Node: ast.Node{
Position: &position.Position{
StartLine: 83,
EndLine: 83,
StartPos: 1728,
EndPos: 1753,
2020-05-12 21:16:36 +00:00
},
},
Cond: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 83,
EndLine: 83,
StartPos: 1735,
EndPos: 1736,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 83,
EndLine: 83,
StartPos: 1738,
EndPos: 1753,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{
&ast.StmtContinue{
Node: ast.Node{
Position: &position.Position{
StartLine: 83,
EndLine: 83,
StartPos: 1740,
EndPos: 1751,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 83,
EndLine: 83,
StartPos: 1749,
EndPos: 1750,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("2"),
},
},
},
},
},
&ast.StmtWhile{
Node: ast.Node{
Position: &position.Position{
StartLine: 84,
EndLine: 84,
StartPos: 1754,
EndPos: 1780,
2020-05-12 21:16:36 +00:00
},
},
Cond: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 84,
EndLine: 84,
StartPos: 1761,
EndPos: 1762,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 84,
EndLine: 84,
StartPos: 1764,
EndPos: 1780,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{
&ast.StmtContinue{
Node: ast.Node{
Position: &position.Position{
StartLine: 84,
EndLine: 84,
StartPos: 1766,
EndPos: 1778,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 84,
EndLine: 84,
StartPos: 1775,
EndPos: 1776,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("3"),
},
},
},
},
},
&ast.StmtDeclare{
Node: ast.Node{
Position: &position.Position{
StartLine: 85,
EndLine: 85,
StartPos: 1781,
EndPos: 1798,
2020-05-12 21:16:36 +00:00
},
},
Consts: []ast.Vertex{
&ast.StmtConstant{
Node: ast.Node{
Position: &position.Position{
StartLine: 85,
EndLine: 85,
StartPos: 1789,
EndPos: 1796,
2020-05-12 21:16:36 +00:00
},
},
Name: &ast.Identifier{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 85,
EndLine: 85,
StartPos: 1789,
EndPos: 1794,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("ticks"),
},
Expr: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 85,
EndLine: 85,
StartPos: 1795,
EndPos: 1796,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
},
Stmt: &ast.StmtNop{
Node: ast.Node{
Position: &position.Position{
StartLine: 85,
EndLine: 85,
StartPos: 1797,
EndPos: 1798,
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtDeclare{
Node: ast.Node{
Position: &position.Position{
StartLine: 86,
EndLine: 86,
StartPos: 1799,
EndPos: 1818,
2020-05-12 21:16:36 +00:00
},
},
Consts: []ast.Vertex{
&ast.StmtConstant{
Node: ast.Node{
Position: &position.Position{
StartLine: 86,
EndLine: 86,
StartPos: 1807,
EndPos: 1814,
2020-05-12 21:16:36 +00:00
},
},
Name: &ast.Identifier{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 86,
EndLine: 86,
StartPos: 1807,
EndPos: 1812,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("ticks"),
},
Expr: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 86,
EndLine: 86,
StartPos: 1813,
EndPos: 1814,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 86,
EndLine: 86,
StartPos: 1816,
EndPos: 1818,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
&ast.StmtDeclare{
Node: ast.Node{
Position: &position.Position{
StartLine: 87,
EndLine: 87,
StartPos: 1819,
EndPos: 1848,
2020-05-12 21:16:36 +00:00
},
},
Alt: true,
Consts: []ast.Vertex{
&ast.StmtConstant{
Node: ast.Node{
Position: &position.Position{
StartLine: 87,
EndLine: 87,
StartPos: 1827,
EndPos: 1834,
2020-05-12 21:16:36 +00:00
},
},
Name: &ast.Identifier{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 87,
EndLine: 87,
StartPos: 1827,
EndPos: 1832,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("ticks"),
},
Expr: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 87,
EndLine: 87,
StartPos: 1833,
EndPos: 1834,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: -1,
EndLine: -1,
StartPos: -1,
EndPos: -1,
},
},
Stmts: []ast.Vertex{},
},
},
&ast.StmtDo{
Node: ast.Node{
Position: &position.Position{
StartLine: 88,
EndLine: 88,
StartPos: 1849,
EndPos: 1864,
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 88,
EndLine: 88,
StartPos: 1852,
EndPos: 1854,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
Cond: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 88,
EndLine: 88,
StartPos: 1861,
EndPos: 1862,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
&ast.StmtEcho{
Node: ast.Node{
Position: &position.Position{
StartLine: 89,
EndLine: 89,
StartPos: 1865,
EndPos: 1876,
2020-05-12 21:16:36 +00:00
},
},
Exprs: []ast.Vertex{
&ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 89,
EndLine: 89,
StartPos: 1870,
EndPos: 1872,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 89,
EndLine: 89,
StartPos: 1870,
EndPos: 1872,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
&ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 89,
EndLine: 89,
StartPos: 1874,
EndPos: 1875,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
},
&ast.StmtEcho{
Node: ast.Node{
Position: &position.Position{
StartLine: 90,
EndLine: 90,
StartPos: 1877,
EndPos: 1886,
2020-05-12 21:16:36 +00:00
},
},
Exprs: []ast.Vertex{
&ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 90,
EndLine: 90,
StartPos: 1882,
EndPos: 1884,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 90,
EndLine: 90,
StartPos: 1882,
EndPos: 1884,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtFor{
Node: ast.Node{
Position: &position.Position{
StartLine: 91,
EndLine: 91,
StartPos: 1887,
EndPos: 1922,
2020-05-12 21:16:36 +00:00
},
},
Init: []ast.Vertex{
&ast.ExprAssign{
Node: ast.Node{
Position: &position.Position{
StartLine: 91,
EndLine: 91,
StartPos: 1891,
EndPos: 1897,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 91,
EndLine: 91,
StartPos: 1891,
EndPos: 1893,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 91,
EndLine: 91,
StartPos: 1891,
EndPos: 1893,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$i"),
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 91,
EndLine: 91,
StartPos: 1896,
EndPos: 1897,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("0"),
},
},
},
Cond: []ast.Vertex{
&ast.ExprBinarySmaller{
Node: ast.Node{
Position: &position.Position{
StartLine: 91,
EndLine: 91,
StartPos: 1899,
EndPos: 1906,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 91,
EndLine: 91,
StartPos: 1899,
EndPos: 1901,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 91,
EndLine: 91,
StartPos: 1899,
EndPos: 1901,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$i"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 91,
EndLine: 91,
StartPos: 1904,
EndPos: 1906,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("10"),
},
},
},
Loop: []ast.Vertex{
&ast.ExprPostInc{
Node: ast.Node{
Position: &position.Position{
StartLine: 91,
EndLine: 91,
StartPos: 1908,
EndPos: 1912,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 91,
EndLine: 91,
StartPos: 1908,
EndPos: 1910,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 91,
EndLine: 91,
StartPos: 1908,
EndPos: 1910,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$i"),
2020-05-12 21:16:36 +00:00
},
},
},
&ast.ExprPostInc{
Node: ast.Node{
Position: &position.Position{
StartLine: 91,
EndLine: 91,
StartPos: 1914,
EndPos: 1918,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 91,
EndLine: 91,
StartPos: 1914,
EndPos: 1916,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 91,
EndLine: 91,
StartPos: 1914,
EndPos: 1916,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$i"),
2020-05-12 21:16:36 +00:00
},
},
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 91,
EndLine: 91,
StartPos: 1920,
EndPos: 1922,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
&ast.StmtFor{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 92,
EndLine: 92,
StartPos: 1923,
EndPos: 1959,
2020-05-12 21:16:36 +00:00
},
},
Alt: true,
2020-05-12 21:16:36 +00:00
Cond: []ast.Vertex{
&ast.ExprBinarySmaller{
Node: ast.Node{
Position: &position.Position{
StartLine: 92,
EndLine: 92,
StartPos: 1929,
EndPos: 1936,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 92,
EndLine: 92,
StartPos: 1929,
EndPos: 1931,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 92,
EndLine: 92,
StartPos: 1929,
EndPos: 1931,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$i"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 92,
EndLine: 92,
StartPos: 1934,
EndPos: 1936,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("10"),
},
},
},
Loop: []ast.Vertex{
&ast.ExprPostInc{
Node: ast.Node{
Position: &position.Position{
StartLine: 92,
EndLine: 92,
StartPos: 1938,
EndPos: 1942,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 92,
EndLine: 92,
StartPos: 1938,
EndPos: 1940,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 92,
EndLine: 92,
StartPos: 1938,
EndPos: 1940,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$i"),
2020-05-12 21:16:36 +00:00
},
},
},
&ast.ExprPostInc{
Node: ast.Node{
Position: &position.Position{
StartLine: 92,
EndLine: 92,
StartPos: 1944,
EndPos: 1948,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 92,
EndLine: 92,
StartPos: 1944,
EndPos: 1946,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 92,
EndLine: 92,
StartPos: 1944,
EndPos: 1946,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$i"),
2020-05-12 21:16:36 +00:00
},
},
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: -1,
EndLine: -1,
StartPos: -1,
EndPos: -1,
},
},
Stmts: []ast.Vertex{},
},
},
&ast.StmtForeach{
Node: ast.Node{
Position: &position.Position{
StartLine: 93,
EndLine: 93,
StartPos: 1960,
EndPos: 1981,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 93,
EndLine: 93,
StartPos: 1969,
EndPos: 1971,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 93,
EndLine: 93,
StartPos: 1969,
EndPos: 1971,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 93,
EndLine: 93,
StartPos: 1975,
EndPos: 1977,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 93,
EndLine: 93,
StartPos: 1975,
EndPos: 1977,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$v"),
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 93,
EndLine: 93,
StartPos: 1979,
EndPos: 1981,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
&ast.StmtForeach{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 94,
EndLine: 94,
StartPos: 1982,
EndPos: 2014,
2020-05-12 21:16:36 +00:00
},
},
Alt: true,
2020-05-12 21:16:36 +00:00
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 94,
EndLine: 94,
StartPos: 1991,
EndPos: 1993,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 94,
EndLine: 94,
StartPos: 1991,
EndPos: 1993,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 94,
EndLine: 94,
StartPos: 1997,
EndPos: 1999,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 94,
EndLine: 94,
StartPos: 1997,
EndPos: 1999,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$v"),
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: -1,
EndLine: -1,
StartPos: -1,
EndPos: -1,
},
},
Stmts: []ast.Vertex{},
},
},
&ast.StmtForeach{
Node: ast.Node{
Position: &position.Position{
StartLine: 95,
EndLine: 95,
StartPos: 2015,
EndPos: 2042,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 95,
EndLine: 95,
StartPos: 2024,
EndPos: 2026,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 95,
EndLine: 95,
StartPos: 2024,
EndPos: 2026,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Key: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 95,
EndLine: 95,
StartPos: 2030,
EndPos: 2032,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 95,
EndLine: 95,
StartPos: 2030,
EndPos: 2032,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$k"),
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 95,
EndLine: 95,
StartPos: 2036,
EndPos: 2038,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 95,
EndLine: 95,
StartPos: 2036,
EndPos: 2038,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$v"),
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 95,
EndLine: 95,
StartPos: 2040,
EndPos: 2042,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
&ast.StmtForeach{
Node: ast.Node{
Position: &position.Position{
StartLine: 96,
EndLine: 96,
StartPos: 2043,
EndPos: 2071,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 96,
EndLine: 96,
StartPos: 2052,
EndPos: 2054,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 96,
EndLine: 96,
StartPos: 2052,
EndPos: 2054,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Key: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 96,
EndLine: 96,
StartPos: 2058,
EndPos: 2060,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 96,
EndLine: 96,
StartPos: 2058,
EndPos: 2060,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$k"),
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprReference{
Node: ast.Node{
Position: &position.Position{
StartLine: 96,
EndLine: 96,
StartPos: 2064,
EndPos: 2067,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 96,
EndLine: 96,
StartPos: 2065,
EndPos: 2067,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 96,
EndLine: 96,
StartPos: 2065,
EndPos: 2067,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$v"),
2020-05-12 21:16:36 +00:00
},
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 96,
EndLine: 96,
StartPos: 2069,
EndPos: 2071,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
&ast.StmtForeach{
Node: ast.Node{
Position: &position.Position{
StartLine: 97,
EndLine: 97,
StartPos: 2072,
EndPos: 2105,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 97,
EndLine: 97,
StartPos: 2081,
EndPos: 2083,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 97,
EndLine: 97,
StartPos: 2081,
EndPos: 2083,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Key: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 97,
EndLine: 97,
StartPos: 2087,
EndPos: 2089,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 97,
EndLine: 97,
StartPos: 2087,
EndPos: 2089,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$k"),
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprList{
Node: ast.Node{
Position: &position.Position{
StartLine: 97,
EndLine: 97,
StartPos: 2093,
EndPos: 2101,
2020-05-12 21:16:36 +00:00
},
},
Items: []ast.Vertex{
&ast.ExprArrayItem{
Node: ast.Node{
Position: &position.Position{
StartLine: 97,
EndLine: 97,
StartPos: 2098,
EndPos: 2100,
2020-05-12 21:16:36 +00:00
},
},
Val: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 97,
EndLine: 97,
StartPos: 2098,
EndPos: 2100,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 97,
EndLine: 97,
StartPos: 2098,
EndPos: 2100,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$v"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 97,
EndLine: 97,
StartPos: 2103,
EndPos: 2105,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
&ast.StmtForeach{
Node: ast.Node{
Position: &position.Position{
StartLine: 98,
EndLine: 98,
StartPos: 2106,
EndPos: 2135,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 98,
EndLine: 98,
StartPos: 2115,
EndPos: 2117,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 98,
EndLine: 98,
StartPos: 2115,
EndPos: 2117,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Key: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 98,
EndLine: 98,
StartPos: 2121,
EndPos: 2123,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 98,
EndLine: 98,
StartPos: 2121,
EndPos: 2123,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$k"),
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprShortList{
Node: ast.Node{
Position: &position.Position{
StartLine: 98,
EndLine: 98,
StartPos: 2127,
EndPos: 2131,
2020-05-12 21:16:36 +00:00
},
},
Items: []ast.Vertex{
&ast.ExprArrayItem{
Node: ast.Node{
Position: &position.Position{
StartLine: 98,
EndLine: 98,
StartPos: 2128,
EndPos: 2130,
2020-05-12 21:16:36 +00:00
},
},
Val: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 98,
EndLine: 98,
StartPos: 2128,
EndPos: 2130,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 98,
EndLine: 98,
StartPos: 2128,
EndPos: 2130,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$v"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 98,
EndLine: 98,
StartPos: 2133,
EndPos: 2135,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
&ast.StmtFunction{
Node: ast.Node{
Position: &position.Position{
StartLine: 99,
EndLine: 99,
StartPos: 2136,
EndPos: 2153,
2020-05-12 21:16:36 +00:00
},
},
FunctionName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 99,
EndLine: 99,
StartPos: 2145,
EndPos: 2148,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Stmts: []ast.Vertex{},
},
&ast.StmtFunction{
Node: ast.Node{
Position: &position.Position{
StartLine: 100,
EndLine: 100,
StartPos: 2154,
EndPos: 2178,
2020-05-12 21:16:36 +00:00
},
},
FunctionName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 100,
EndLine: 100,
StartPos: 2163,
EndPos: 2166,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Stmts: []ast.Vertex{
&ast.StmtReturn{
Node: ast.Node{
Position: &position.Position{
StartLine: 100,
EndLine: 100,
StartPos: 2170,
EndPos: 2177,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtFunction{
Node: ast.Node{
Position: &position.Position{
StartLine: 101,
EndLine: 101,
StartPos: 2179,
EndPos: 2206,
2020-05-12 21:16:36 +00:00
},
},
ReturnsRef: true,
FunctionName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 101,
EndLine: 101,
StartPos: 2189,
EndPos: 2192,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Stmts: []ast.Vertex{
&ast.StmtReturn{
Node: ast.Node{
Position: &position.Position{
StartLine: 101,
EndLine: 101,
StartPos: 2196,
EndPos: 2205,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 101,
EndLine: 101,
StartPos: 2203,
EndPos: 2204,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
},
},
&ast.StmtFunction{
Node: ast.Node{
Position: &position.Position{
StartLine: 102,
EndLine: 102,
StartPos: 2207,
EndPos: 2231,
2020-05-12 21:16:36 +00:00
},
},
ReturnsRef: true,
FunctionName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 102,
EndLine: 102,
StartPos: 2217,
EndPos: 2220,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
ReturnType: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 102,
EndLine: 102,
StartPos: 2224,
EndPos: 2228,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 102,
EndLine: 102,
StartPos: 2224,
EndPos: 2228,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("void"),
},
},
},
Stmts: []ast.Vertex{},
},
&ast.StmtGlobal{
Node: ast.Node{
Position: &position.Position{
StartLine: 103,
EndLine: 103,
StartPos: 2232,
EndPos: 2246,
2020-05-12 21:16:36 +00:00
},
},
Vars: []ast.Vertex{
&ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 103,
EndLine: 103,
StartPos: 2239,
EndPos: 2241,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 103,
EndLine: 103,
StartPos: 2239,
EndPos: 2241,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
&ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 103,
EndLine: 103,
StartPos: 2243,
EndPos: 2245,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 103,
EndLine: 103,
StartPos: 2243,
EndPos: 2245,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtLabel{
Node: ast.Node{
Position: &position.Position{
StartLine: 104,
EndLine: 104,
StartPos: 2247,
EndPos: 2249,
2020-05-12 21:16:36 +00:00
},
},
LabelName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 104,
EndLine: 104,
StartPos: 2247,
EndPos: 2248,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("a"),
},
},
&ast.StmtGoto{
Node: ast.Node{
Position: &position.Position{
StartLine: 105,
EndLine: 105,
StartPos: 2250,
EndPos: 2257,
2020-05-12 21:16:36 +00:00
},
},
Label: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 105,
EndLine: 105,
StartPos: 2255,
EndPos: 2256,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("a"),
},
},
&ast.StmtIf{
Node: ast.Node{
Position: &position.Position{
StartLine: 106,
EndLine: 106,
StartPos: 2258,
EndPos: 2268,
2020-05-12 21:16:36 +00:00
},
},
Cond: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 106,
EndLine: 106,
StartPos: 2262,
EndPos: 2264,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 106,
EndLine: 106,
StartPos: 2262,
EndPos: 2264,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 106,
EndLine: 106,
StartPos: 2266,
EndPos: 2268,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
&ast.StmtIf{
Node: ast.Node{
Position: &position.Position{
StartLine: 107,
EndLine: 107,
StartPos: 2269,
EndPos: 2294,
2020-05-12 21:16:36 +00:00
},
},
Cond: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 107,
EndLine: 107,
StartPos: 2273,
EndPos: 2275,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 107,
EndLine: 107,
StartPos: 2273,
EndPos: 2275,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 107,
EndLine: 107,
StartPos: 2277,
EndPos: 2279,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
ElseIf: []ast.Vertex{
&ast.StmtElseIf{
Node: ast.Node{
Position: &position.Position{
StartLine: 107,
EndLine: 107,
StartPos: 2280,
EndPos: 2294,
2020-05-12 21:16:36 +00:00
},
},
Cond: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 107,
EndLine: 107,
StartPos: 2288,
EndPos: 2290,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 107,
EndLine: 107,
StartPos: 2288,
EndPos: 2290,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 107,
EndLine: 107,
StartPos: 2292,
EndPos: 2294,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
},
},
&ast.StmtIf{
Node: ast.Node{
Position: &position.Position{
StartLine: 108,
EndLine: 108,
StartPos: 2295,
EndPos: 2313,
2020-05-12 21:16:36 +00:00
},
},
Cond: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 108,
EndLine: 108,
StartPos: 2299,
EndPos: 2301,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 108,
EndLine: 108,
StartPos: 2299,
EndPos: 2301,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 108,
EndLine: 108,
StartPos: 2303,
EndPos: 2305,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
Else: &ast.StmtElse{
Node: ast.Node{
Position: &position.Position{
StartLine: 108,
EndLine: 108,
StartPos: 2306,
EndPos: 2313,
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 108,
EndLine: 108,
StartPos: 2311,
EndPos: 2313,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
},
&ast.StmtIf{
Node: ast.Node{
Position: &position.Position{
StartLine: 109,
EndLine: 109,
StartPos: 2314,
EndPos: 2362,
2020-05-12 21:16:36 +00:00
},
},
Cond: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 109,
EndLine: 109,
StartPos: 2318,
EndPos: 2320,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 109,
EndLine: 109,
StartPos: 2318,
EndPos: 2320,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 109,
EndLine: 109,
StartPos: 2322,
EndPos: 2324,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
ElseIf: []ast.Vertex{
&ast.StmtElseIf{
Node: ast.Node{
Position: &position.Position{
StartLine: 109,
EndLine: 109,
StartPos: 2325,
EndPos: 2339,
2020-05-12 21:16:36 +00:00
},
},
Cond: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 109,
EndLine: 109,
StartPos: 2333,
EndPos: 2335,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 109,
EndLine: 109,
StartPos: 2333,
EndPos: 2335,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 109,
EndLine: 109,
StartPos: 2337,
EndPos: 2339,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
&ast.StmtElseIf{
Node: ast.Node{
Position: &position.Position{
StartLine: 109,
EndLine: 109,
StartPos: 2340,
EndPos: 2354,
2020-05-12 21:16:36 +00:00
},
},
Cond: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 109,
EndLine: 109,
StartPos: 2348,
EndPos: 2350,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 109,
EndLine: 109,
StartPos: 2348,
EndPos: 2350,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$c"),
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 109,
EndLine: 109,
StartPos: 2352,
EndPos: 2354,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
},
Else: &ast.StmtElse{
Node: ast.Node{
Position: &position.Position{
StartLine: 109,
EndLine: 109,
StartPos: 2355,
EndPos: 2362,
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 109,
EndLine: 109,
StartPos: 2360,
EndPos: 2362,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
},
&ast.StmtIf{
Node: ast.Node{
Position: &position.Position{
StartLine: 110,
EndLine: 110,
StartPos: 2363,
EndPos: 2412,
2020-05-12 21:16:36 +00:00
},
},
Cond: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 110,
EndLine: 110,
StartPos: 2367,
EndPos: 2369,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 110,
EndLine: 110,
StartPos: 2367,
EndPos: 2369,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 110,
EndLine: 110,
StartPos: 2371,
EndPos: 2373,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
ElseIf: []ast.Vertex{
&ast.StmtElseIf{
Node: ast.Node{
Position: &position.Position{
StartLine: 110,
EndLine: 110,
StartPos: 2374,
EndPos: 2388,
2020-05-12 21:16:36 +00:00
},
},
Cond: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 110,
EndLine: 110,
StartPos: 2382,
EndPos: 2384,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 110,
EndLine: 110,
StartPos: 2382,
EndPos: 2384,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 110,
EndLine: 110,
StartPos: 2386,
EndPos: 2388,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
},
Else: &ast.StmtElse{
Node: ast.Node{
Position: &position.Position{
StartLine: 110,
EndLine: 110,
StartPos: 2389,
EndPos: 2412,
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtIf{
Node: ast.Node{
Position: &position.Position{
StartLine: 110,
EndLine: 110,
StartPos: 2394,
EndPos: 2412,
2020-05-12 21:16:36 +00:00
},
},
Cond: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 110,
EndLine: 110,
StartPos: 2398,
EndPos: 2400,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 110,
EndLine: 110,
StartPos: 2398,
EndPos: 2400,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$c"),
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 110,
EndLine: 110,
StartPos: 2402,
EndPos: 2404,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
Else: &ast.StmtElse{
Node: ast.Node{
Position: &position.Position{
StartLine: 110,
EndLine: 110,
StartPos: 2405,
EndPos: 2412,
2020-05-12 21:16:36 +00:00
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 110,
EndLine: 110,
StartPos: 2410,
EndPos: 2412,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
},
},
},
&ast.StmtNop{
Node: ast.Node{
Position: &position.Position{
StartLine: 111,
EndLine: 111,
StartPos: 2413,
EndPos: 2415,
2020-05-12 21:16:36 +00:00
},
},
},
&ast.StmtInlineHtml{
Node: ast.Node{
Position: &position.Position{
StartLine: 111,
EndLine: 111,
StartPos: 2415,
EndPos: 2428,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte(" <div></div> "),
},
&ast.StmtInterface{
Node: ast.Node{
Position: &position.Position{
StartLine: 112,
EndLine: 112,
StartPos: 2431,
EndPos: 2447,
2020-05-12 21:16:36 +00:00
},
},
InterfaceName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 112,
EndLine: 112,
StartPos: 2441,
EndPos: 2444,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
Stmts: []ast.Vertex{},
},
&ast.StmtInterface{
Node: ast.Node{
Position: &position.Position{
StartLine: 113,
EndLine: 113,
StartPos: 2448,
EndPos: 2476,
2020-05-12 21:16:36 +00:00
},
},
InterfaceName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 113,
EndLine: 113,
StartPos: 2458,
EndPos: 2461,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
Extends: &ast.StmtInterfaceExtends{
Node: ast.Node{
Position: &position.Position{
StartLine: 113,
EndLine: 113,
StartPos: 2462,
EndPos: 2473,
2020-05-12 21:16:36 +00:00
},
},
InterfaceNames: []ast.Vertex{
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 113,
EndLine: 113,
StartPos: 2470,
EndPos: 2473,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 113,
EndLine: 113,
StartPos: 2470,
EndPos: 2473,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
},
},
},
},
},
Stmts: []ast.Vertex{},
},
&ast.StmtInterface{
Node: ast.Node{
Position: &position.Position{
StartLine: 114,
EndLine: 114,
StartPos: 2477,
EndPos: 2510,
2020-05-12 21:16:36 +00:00
},
},
InterfaceName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 114,
EndLine: 114,
StartPos: 2487,
EndPos: 2490,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
Extends: &ast.StmtInterfaceExtends{
Node: ast.Node{
Position: &position.Position{
StartLine: 114,
EndLine: 114,
StartPos: 2491,
EndPos: 2507,
2020-05-12 21:16:36 +00:00
},
},
InterfaceNames: []ast.Vertex{
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 114,
EndLine: 114,
StartPos: 2499,
EndPos: 2502,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 114,
EndLine: 114,
StartPos: 2499,
EndPos: 2502,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
},
},
},
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 114,
EndLine: 114,
StartPos: 2504,
EndPos: 2507,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 114,
EndLine: 114,
StartPos: 2504,
EndPos: 2507,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Baz"),
},
},
},
},
},
Stmts: []ast.Vertex{},
},
&ast.StmtNamespace{
Node: ast.Node{
Position: &position.Position{
StartLine: 115,
EndLine: 115,
StartPos: 2511,
EndPos: 2525,
2020-05-12 21:16:36 +00:00
},
},
Name: &ast.NameName{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 115,
EndLine: 115,
StartPos: 2521,
EndPos: 2524,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 115,
EndLine: 115,
StartPos: 2521,
EndPos: 2524,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
},
},
},
&ast.StmtNamespace{
Node: ast.Node{
Position: &position.Position{
StartLine: 116,
EndLine: 116,
StartPos: 2526,
EndPos: 2542,
2020-05-12 21:16:36 +00:00
},
},
Name: &ast.NameName{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 116,
EndLine: 116,
StartPos: 2536,
EndPos: 2539,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 116,
EndLine: 116,
StartPos: 2536,
EndPos: 2539,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
},
},
Stmts: []ast.Vertex{},
},
&ast.StmtNamespace{
Node: ast.Node{
Position: &position.Position{
StartLine: 117,
EndLine: 117,
StartPos: 2543,
EndPos: 2555,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
&ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 118,
EndLine: 118,
StartPos: 2556,
EndPos: 2575,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 118,
EndLine: 118,
StartPos: 2562,
EndPos: 2565,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Stmts: []ast.Vertex{
&ast.StmtPropertyList{
Node: ast.Node{
Position: &position.Position{
StartLine: 118,
EndLine: 118,
StartPos: 2567,
EndPos: 2574,
2020-05-12 21:16:36 +00:00
},
},
Modifiers: []ast.Vertex{
&ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 118,
EndLine: 118,
StartPos: 2567,
EndPos: 2570,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("var"),
},
},
Properties: []ast.Vertex{
&ast.StmtProperty{
Node: ast.Node{
Position: &position.Position{
StartLine: 118,
EndLine: 118,
StartPos: 2571,
EndPos: 2573,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 118,
EndLine: 118,
StartPos: 2571,
EndPos: 2573,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 118,
EndLine: 118,
StartPos: 2571,
EndPos: 2573,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
},
&ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 119,
EndLine: 119,
StartPos: 2576,
EndPos: 2613,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 119,
EndLine: 119,
StartPos: 2582,
EndPos: 2585,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Stmts: []ast.Vertex{
&ast.StmtPropertyList{
Node: ast.Node{
Position: &position.Position{
StartLine: 119,
EndLine: 119,
StartPos: 2587,
EndPos: 2612,
2020-05-12 21:16:36 +00:00
},
},
Modifiers: []ast.Vertex{
&ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 119,
EndLine: 119,
StartPos: 2587,
EndPos: 2593,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("public"),
},
&ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 119,
EndLine: 119,
StartPos: 2594,
EndPos: 2600,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("static"),
},
},
Properties: []ast.Vertex{
&ast.StmtProperty{
Node: ast.Node{
Position: &position.Position{
StartLine: 119,
EndLine: 119,
StartPos: 2601,
EndPos: 2603,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 119,
EndLine: 119,
StartPos: 2601,
EndPos: 2603,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 119,
EndLine: 119,
StartPos: 2601,
EndPos: 2603,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
&ast.StmtProperty{
Node: ast.Node{
Position: &position.Position{
StartLine: 119,
EndLine: 119,
StartPos: 2605,
EndPos: 2611,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 119,
EndLine: 119,
StartPos: 2605,
EndPos: 2607,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 119,
EndLine: 119,
StartPos: 2605,
EndPos: 2607,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 119,
EndLine: 119,
StartPos: 2610,
EndPos: 2611,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
},
},
},
},
&ast.StmtStatic{
Node: ast.Node{
Position: &position.Position{
StartLine: 120,
EndLine: 120,
StartPos: 2614,
EndPos: 2632,
2020-05-12 21:16:36 +00:00
},
},
Vars: []ast.Vertex{
&ast.StmtStaticVar{
Node: ast.Node{
Position: &position.Position{
StartLine: 120,
EndLine: 120,
StartPos: 2621,
EndPos: 2623,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 120,
EndLine: 120,
StartPos: 2621,
EndPos: 2623,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 120,
EndLine: 120,
StartPos: 2621,
EndPos: 2623,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
&ast.StmtStaticVar{
Node: ast.Node{
Position: &position.Position{
StartLine: 120,
EndLine: 120,
StartPos: 2625,
EndPos: 2631,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 120,
EndLine: 120,
StartPos: 2625,
EndPos: 2627,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 120,
EndLine: 120,
StartPos: 2625,
EndPos: 2627,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 120,
EndLine: 120,
StartPos: 2630,
EndPos: 2631,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
},
},
&ast.StmtSwitch{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 122,
EndLine: 126,
StartPos: 2634,
EndPos: 2694,
2020-05-12 21:16:36 +00:00
},
},
Alt: true,
2020-05-12 21:16:36 +00:00
Cond: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 122,
EndLine: 122,
StartPos: 2642,
EndPos: 2643,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
CaseList: []ast.Vertex{
&ast.StmtCase{
Node: ast.Node{
Position: &position.Position{
StartLine: 123,
EndLine: -1,
StartPos: 2651,
EndPos: -1,
},
2020-05-12 21:16:36 +00:00
},
Cond: &ast.ScalarLnumber{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 123,
EndLine: 123,
StartPos: 2656,
EndPos: 2657,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
Stmts: []ast.Vertex{},
},
&ast.StmtDefault{
Node: ast.Node{
Position: &position.Position{
StartLine: 124,
EndLine: -1,
StartPos: 2663,
EndPos: -1,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
&ast.StmtCase{
Node: ast.Node{
Position: &position.Position{
StartLine: 125,
EndLine: -1,
StartPos: 2676,
EndPos: -1,
2020-05-12 21:16:36 +00:00
},
},
Cond: &ast.ScalarLnumber{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 125,
EndLine: 125,
StartPos: 2681,
EndPos: 2682,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("2"),
2020-05-12 21:16:36 +00:00
},
Stmts: []ast.Vertex{},
2020-05-12 21:16:36 +00:00
},
},
},
&ast.StmtSwitch{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 128,
EndLine: 131,
StartPos: 2696,
EndPos: 2744,
2020-05-12 21:16:36 +00:00
},
},
Alt: true,
2020-05-12 21:16:36 +00:00
Cond: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 128,
EndLine: 128,
StartPos: 2704,
EndPos: 2705,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
CaseList: []ast.Vertex{
&ast.StmtCase{
Node: ast.Node{
Position: &position.Position{
StartLine: 129,
EndLine: -1,
StartPos: 2714,
EndPos: -1,
},
2020-05-12 21:16:36 +00:00
},
Cond: &ast.ScalarLnumber{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 129,
EndLine: 129,
StartPos: 2719,
EndPos: 2720,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
Stmts: []ast.Vertex{},
},
&ast.StmtCase{
Node: ast.Node{
Position: &position.Position{
StartLine: 130,
EndLine: -1,
StartPos: 2726,
EndPos: -1,
2020-05-12 21:16:36 +00:00
},
},
Cond: &ast.ScalarLnumber{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 130,
EndLine: 130,
StartPos: 2731,
EndPos: 2732,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("2"),
2020-05-12 21:16:36 +00:00
},
Stmts: []ast.Vertex{},
2020-05-12 21:16:36 +00:00
},
},
},
&ast.StmtSwitch{
Node: ast.Node{
Position: &position.Position{
StartLine: 133,
EndLine: 136,
StartPos: 2746,
EndPos: 2798,
2020-05-12 21:16:36 +00:00
},
},
Cond: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 133,
EndLine: 133,
StartPos: 2754,
EndPos: 2755,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
CaseList: []ast.Vertex{
&ast.StmtCase{
Node: ast.Node{
Position: &position.Position{
StartLine: 134,
EndLine: 134,
StartPos: 2763,
EndPos: 2777,
},
2020-05-12 21:16:36 +00:00
},
Cond: &ast.ScalarLnumber{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 134,
EndLine: 134,
StartPos: 2768,
EndPos: 2769,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
Stmts: []ast.Vertex{
&ast.StmtBreak{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 134,
EndLine: 134,
StartPos: 2771,
EndPos: 2777,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtCase{
Node: ast.Node{
Position: &position.Position{
StartLine: 135,
EndLine: 135,
StartPos: 2782,
EndPos: 2796,
2020-05-12 21:16:36 +00:00
},
},
Cond: &ast.ScalarLnumber{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 135,
EndLine: 135,
StartPos: 2787,
EndPos: 2788,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("2"),
},
Stmts: []ast.Vertex{
&ast.StmtBreak{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 135,
EndLine: 135,
StartPos: 2790,
EndPos: 2796,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
},
&ast.StmtSwitch{
Node: ast.Node{
Position: &position.Position{
StartLine: 138,
EndLine: 141,
StartPos: 2800,
EndPos: 2853,
2020-05-12 21:16:36 +00:00
},
},
Cond: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 138,
EndLine: 138,
StartPos: 2808,
EndPos: 2809,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
CaseList: []ast.Vertex{
&ast.StmtCase{
Node: ast.Node{
Position: &position.Position{
StartLine: 139,
EndLine: 139,
StartPos: 2818,
EndPos: 2832,
},
2020-05-12 21:16:36 +00:00
},
Cond: &ast.ScalarLnumber{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 139,
EndLine: 139,
StartPos: 2823,
EndPos: 2824,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
Stmts: []ast.Vertex{
&ast.StmtBreak{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 139,
EndLine: 139,
StartPos: 2826,
EndPos: 2832,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtCase{
Node: ast.Node{
Position: &position.Position{
StartLine: 140,
EndLine: 140,
StartPos: 2837,
EndPos: 2851,
2020-05-12 21:16:36 +00:00
},
},
Cond: &ast.ScalarLnumber{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 140,
EndLine: 140,
StartPos: 2842,
EndPos: 2843,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("2"),
},
Stmts: []ast.Vertex{
&ast.StmtBreak{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 140,
EndLine: 140,
StartPos: 2845,
EndPos: 2851,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
},
&ast.StmtThrow{
Node: ast.Node{
Position: &position.Position{
StartLine: 143,
EndLine: 143,
StartPos: 2855,
EndPos: 2864,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 143,
EndLine: 143,
StartPos: 2861,
EndPos: 2863,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 143,
EndLine: 143,
StartPos: 2861,
EndPos: 2863,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$e"),
2020-05-12 21:16:36 +00:00
},
},
},
&ast.StmtTrait{
Node: ast.Node{
Position: &position.Position{
StartLine: 145,
EndLine: 145,
StartPos: 2866,
EndPos: 2878,
2020-05-12 21:16:36 +00:00
},
},
TraitName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 145,
EndLine: 145,
StartPos: 2872,
EndPos: 2875,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
Stmts: []ast.Vertex{},
},
&ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 146,
EndLine: 146,
StartPos: 2879,
EndPos: 2901,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 146,
EndLine: 146,
StartPos: 2885,
EndPos: 2888,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
Stmts: []ast.Vertex{
&ast.StmtTraitUse{
Node: ast.Node{
Position: &position.Position{
StartLine: 146,
EndLine: 146,
StartPos: 2891,
EndPos: 2899,
2020-05-12 21:16:36 +00:00
},
},
Traits: []ast.Vertex{
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 146,
EndLine: 146,
StartPos: 2895,
EndPos: 2898,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 146,
EndLine: 146,
StartPos: 2895,
EndPos: 2898,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
},
},
},
},
TraitAdaptationList: &ast.StmtNop{
Node: ast.Node{
Position: &position.Position{
StartLine: 146,
EndLine: 146,
StartPos: 2898,
EndPos: 2899,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
&ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 147,
EndLine: 147,
StartPos: 2902,
EndPos: 2931,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 147,
EndLine: 147,
StartPos: 2908,
EndPos: 2911,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
Stmts: []ast.Vertex{
&ast.StmtTraitUse{
Node: ast.Node{
Position: &position.Position{
StartLine: 147,
EndLine: 147,
StartPos: 2914,
EndPos: 2929,
2020-05-12 21:16:36 +00:00
},
},
Traits: []ast.Vertex{
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 147,
EndLine: 147,
StartPos: 2918,
EndPos: 2921,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 147,
EndLine: 147,
StartPos: 2918,
EndPos: 2921,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
},
},
},
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 147,
EndLine: 147,
StartPos: 2923,
EndPos: 2926,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 147,
EndLine: 147,
StartPos: 2923,
EndPos: 2926,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Baz"),
},
},
},
},
TraitAdaptationList: &ast.StmtTraitAdaptationList{
Node: ast.Node{
Position: &position.Position{
StartLine: 147,
EndLine: 147,
StartPos: 2927,
EndPos: 2929,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
&ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 148,
EndLine: 148,
StartPos: 2932,
EndPos: 2978,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 148,
EndLine: 148,
StartPos: 2938,
EndPos: 2941,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
Stmts: []ast.Vertex{
&ast.StmtTraitUse{
Node: ast.Node{
Position: &position.Position{
StartLine: 148,
EndLine: 148,
StartPos: 2944,
EndPos: 2976,
2020-05-12 21:16:36 +00:00
},
},
Traits: []ast.Vertex{
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 148,
EndLine: 148,
StartPos: 2948,
EndPos: 2951,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 148,
EndLine: 148,
StartPos: 2948,
EndPos: 2951,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
},
},
},
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 148,
EndLine: 148,
StartPos: 2953,
EndPos: 2956,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 148,
EndLine: 148,
StartPos: 2953,
EndPos: 2956,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Baz"),
},
},
},
},
TraitAdaptationList: &ast.StmtTraitAdaptationList{
Node: ast.Node{
Position: &position.Position{
StartLine: 148,
EndLine: 148,
StartPos: 2957,
EndPos: 2976,
2020-05-12 21:16:36 +00:00
},
},
Adaptations: []ast.Vertex{
&ast.StmtTraitUseAlias{
Node: ast.Node{
Position: &position.Position{
StartLine: 148,
EndLine: 148,
StartPos: 2959,
EndPos: 2973,
2020-05-12 21:16:36 +00:00
},
},
Ref: &ast.StmtTraitMethodRef{
Node: ast.Node{
Position: &position.Position{
StartLine: 148,
EndLine: 148,
StartPos: 2959,
EndPos: 2962,
2020-05-12 21:16:36 +00:00
},
},
Method: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 148,
EndLine: 148,
StartPos: 2959,
EndPos: 2962,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("one"),
},
},
Alias: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 148,
EndLine: 148,
StartPos: 2966,
EndPos: 2973,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("include"),
},
},
},
},
},
},
},
&ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 149,
EndLine: 149,
StartPos: 2979,
EndPos: 3024,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 149,
EndLine: 149,
StartPos: 2985,
EndPos: 2988,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
Stmts: []ast.Vertex{
&ast.StmtTraitUse{
Node: ast.Node{
Position: &position.Position{
StartLine: 149,
EndLine: 149,
StartPos: 2991,
EndPos: 3022,
2020-05-12 21:16:36 +00:00
},
},
Traits: []ast.Vertex{
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 149,
EndLine: 149,
StartPos: 2995,
EndPos: 2998,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 149,
EndLine: 149,
StartPos: 2995,
EndPos: 2998,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
},
},
},
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 149,
EndLine: 149,
StartPos: 3000,
EndPos: 3003,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 149,
EndLine: 149,
StartPos: 3000,
EndPos: 3003,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Baz"),
},
},
},
},
TraitAdaptationList: &ast.StmtTraitAdaptationList{
Node: ast.Node{
Position: &position.Position{
StartLine: 149,
EndLine: 149,
StartPos: 3004,
EndPos: 3022,
2020-05-12 21:16:36 +00:00
},
},
Adaptations: []ast.Vertex{
&ast.StmtTraitUseAlias{
Node: ast.Node{
Position: &position.Position{
StartLine: 149,
EndLine: 149,
StartPos: 3006,
EndPos: 3019,
2020-05-12 21:16:36 +00:00
},
},
Ref: &ast.StmtTraitMethodRef{
Node: ast.Node{
Position: &position.Position{
StartLine: 149,
EndLine: 149,
StartPos: 3006,
EndPos: 3009,
2020-05-12 21:16:36 +00:00
},
},
Method: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 149,
EndLine: 149,
StartPos: 3006,
EndPos: 3009,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("one"),
},
},
Modifier: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 149,
EndLine: 149,
StartPos: 3013,
EndPos: 3019,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("public"),
},
},
},
},
},
},
},
&ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 150,
EndLine: 150,
StartPos: 3025,
EndPos: 3074,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 150,
EndLine: 150,
StartPos: 3031,
EndPos: 3034,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
Stmts: []ast.Vertex{
&ast.StmtTraitUse{
Node: ast.Node{
Position: &position.Position{
StartLine: 150,
EndLine: 150,
StartPos: 3037,
EndPos: 3072,
2020-05-12 21:16:36 +00:00
},
},
Traits: []ast.Vertex{
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 150,
EndLine: 150,
StartPos: 3041,
EndPos: 3044,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 150,
EndLine: 150,
StartPos: 3041,
EndPos: 3044,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
},
},
},
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 150,
EndLine: 150,
StartPos: 3046,
EndPos: 3049,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 150,
EndLine: 150,
StartPos: 3046,
EndPos: 3049,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Baz"),
},
},
},
},
TraitAdaptationList: &ast.StmtTraitAdaptationList{
Node: ast.Node{
Position: &position.Position{
StartLine: 150,
EndLine: 150,
StartPos: 3050,
EndPos: 3072,
2020-05-12 21:16:36 +00:00
},
},
Adaptations: []ast.Vertex{
&ast.StmtTraitUseAlias{
Node: ast.Node{
Position: &position.Position{
StartLine: 150,
EndLine: 150,
StartPos: 3052,
EndPos: 3069,
2020-05-12 21:16:36 +00:00
},
},
Ref: &ast.StmtTraitMethodRef{
Node: ast.Node{
Position: &position.Position{
StartLine: 150,
EndLine: 150,
StartPos: 3052,
EndPos: 3055,
2020-05-12 21:16:36 +00:00
},
},
Method: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 150,
EndLine: 150,
StartPos: 3052,
EndPos: 3055,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("one"),
},
},
Modifier: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 150,
EndLine: 150,
StartPos: 3059,
EndPos: 3065,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("public"),
},
Alias: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 150,
EndLine: 150,
StartPos: 3066,
EndPos: 3069,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("two"),
},
},
},
},
},
},
},
&ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3075,
EndPos: 3152,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3081,
EndPos: 3084,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
Stmts: []ast.Vertex{
&ast.StmtTraitUse{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3087,
EndPos: 3150,
2020-05-12 21:16:36 +00:00
},
},
Traits: []ast.Vertex{
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3091,
EndPos: 3094,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3091,
EndPos: 3094,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
},
},
},
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3096,
EndPos: 3099,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3096,
EndPos: 3099,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Baz"),
},
},
},
},
TraitAdaptationList: &ast.StmtTraitAdaptationList{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3100,
EndPos: 3150,
2020-05-12 21:16:36 +00:00
},
},
Adaptations: []ast.Vertex{
&ast.StmtTraitUsePrecedence{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3102,
EndPos: 3130,
2020-05-12 21:16:36 +00:00
},
},
Ref: &ast.StmtTraitMethodRef{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3102,
EndPos: 3110,
2020-05-12 21:16:36 +00:00
},
},
Trait: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3102,
EndPos: 3105,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3102,
EndPos: 3105,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
},
},
},
Method: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3107,
EndPos: 3110,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("one"),
},
},
Insteadof: []ast.Vertex{
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3121,
EndPos: 3124,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3121,
EndPos: 3124,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Baz"),
},
},
},
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3126,
EndPos: 3130,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3126,
EndPos: 3130,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Quux"),
},
},
},
},
},
&ast.StmtTraitUseAlias{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3132,
EndPos: 3147,
2020-05-12 21:16:36 +00:00
},
},
Ref: &ast.StmtTraitMethodRef{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3132,
EndPos: 3140,
2020-05-12 21:16:36 +00:00
},
},
Trait: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3132,
EndPos: 3135,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3132,
EndPos: 3135,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Baz"),
},
},
},
Method: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3137,
EndPos: 3140,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("one"),
},
},
Alias: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 151,
EndLine: 151,
StartPos: 3144,
EndPos: 3147,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("two"),
},
},
},
},
},
},
},
&ast.StmtTry{
Node: ast.Node{
Position: &position.Position{
StartLine: 153,
EndLine: -1,
StartPos: 3154,
2020-05-12 21:16:36 +00:00
EndPos: -1,
},
},
Stmts: []ast.Vertex{},
Catches: []ast.Vertex{},
},
&ast.StmtTry{
Node: ast.Node{
Position: &position.Position{
StartLine: 154,
EndLine: 154,
StartPos: 3161,
EndPos: 3191,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
Catches: []ast.Vertex{
&ast.StmtCatch{
Node: ast.Node{
Position: &position.Position{
StartLine: 154,
EndLine: 154,
StartPos: 3168,
EndPos: 3191,
2020-05-12 21:16:36 +00:00
},
},
Types: []ast.Vertex{
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 154,
EndLine: 154,
StartPos: 3175,
EndPos: 3184,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 154,
EndLine: 154,
StartPos: 3175,
EndPos: 3184,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Exception"),
},
},
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 154,
EndLine: 154,
StartPos: 3185,
EndPos: 3187,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 154,
EndLine: 154,
StartPos: 3185,
EndPos: 3187,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$e"),
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
},
&ast.StmtTry{
Node: ast.Node{
Position: &position.Position{
StartLine: 155,
EndLine: 155,
StartPos: 3192,
EndPos: 3239,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
Catches: []ast.Vertex{
&ast.StmtCatch{
Node: ast.Node{
Position: &position.Position{
StartLine: 155,
EndLine: 155,
StartPos: 3199,
EndPos: 3239,
2020-05-12 21:16:36 +00:00
},
},
Types: []ast.Vertex{
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 155,
EndLine: 155,
StartPos: 3206,
EndPos: 3215,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 155,
EndLine: 155,
StartPos: 3206,
EndPos: 3215,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Exception"),
},
},
},
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 155,
EndLine: 155,
StartPos: 3216,
EndPos: 3232,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 155,
EndLine: 155,
StartPos: 3216,
EndPos: 3232,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("RuntimeException"),
},
},
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 155,
EndLine: 155,
StartPos: 3233,
EndPos: 3235,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 155,
EndLine: 155,
StartPos: 3233,
EndPos: 3235,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$e"),
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
},
&ast.StmtTry{
Node: ast.Node{
Position: &position.Position{
StartLine: 156,
EndLine: 156,
StartPos: 3240,
EndPos: 3301,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
Catches: []ast.Vertex{
&ast.StmtCatch{
Node: ast.Node{
Position: &position.Position{
StartLine: 156,
EndLine: 156,
StartPos: 3247,
EndPos: 3270,
2020-05-12 21:16:36 +00:00
},
},
Types: []ast.Vertex{
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 156,
EndLine: 156,
StartPos: 3254,
EndPos: 3263,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 156,
EndLine: 156,
StartPos: 3254,
EndPos: 3263,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Exception"),
},
},
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 156,
EndLine: 156,
StartPos: 3264,
EndPos: 3266,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 156,
EndLine: 156,
StartPos: 3264,
EndPos: 3266,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$e"),
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
&ast.StmtCatch{
Node: ast.Node{
Position: &position.Position{
StartLine: 156,
EndLine: 156,
StartPos: 3271,
EndPos: 3301,
2020-05-12 21:16:36 +00:00
},
},
Types: []ast.Vertex{
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 156,
EndLine: 156,
StartPos: 3278,
EndPos: 3294,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 156,
EndLine: 156,
StartPos: 3278,
EndPos: 3294,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("RuntimeException"),
},
},
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 156,
EndLine: 156,
StartPos: 3295,
EndPos: 3297,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 156,
EndLine: 156,
StartPos: 3295,
EndPos: 3297,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$e"),
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
},
&ast.StmtTry{
Node: ast.Node{
Position: &position.Position{
StartLine: 157,
EndLine: 157,
StartPos: 3302,
EndPos: 3343,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
Catches: []ast.Vertex{
&ast.StmtCatch{
Node: ast.Node{
Position: &position.Position{
StartLine: 157,
EndLine: 157,
StartPos: 3309,
EndPos: 3332,
2020-05-12 21:16:36 +00:00
},
},
Types: []ast.Vertex{
&ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 157,
EndLine: 157,
StartPos: 3316,
EndPos: 3325,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 157,
EndLine: 157,
StartPos: 3316,
EndPos: 3325,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Exception"),
},
},
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 157,
EndLine: 157,
StartPos: 3326,
EndPos: 3328,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 157,
EndLine: 157,
StartPos: 3326,
EndPos: 3328,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$e"),
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
Finally: &ast.StmtFinally{
Node: ast.Node{
Position: &position.Position{
StartLine: 157,
EndLine: 157,
StartPos: 3333,
EndPos: 3343,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
&ast.StmtUnset{
Node: ast.Node{
Position: &position.Position{
StartLine: 159,
EndLine: 159,
StartPos: 3345,
EndPos: 3360,
2020-05-12 21:16:36 +00:00
},
},
Vars: []ast.Vertex{
&ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 159,
EndLine: 159,
StartPos: 3351,
EndPos: 3353,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 159,
EndLine: 159,
StartPos: 3351,
EndPos: 3353,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
&ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 159,
EndLine: 159,
StartPos: 3355,
EndPos: 3357,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 159,
EndLine: 159,
StartPos: 3355,
EndPos: 3357,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtUse{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 161,
EndLine: 161,
StartPos: 3362,
EndPos: 3370,
2020-05-12 21:16:36 +00:00
},
},
UseDeclarations: []ast.Vertex{
&ast.StmtUseDeclaration{
Node: ast.Node{
Position: &position.Position{
StartLine: 161,
EndLine: 161,
StartPos: 3366,
EndPos: 3369,
},
2020-05-12 21:16:36 +00:00
},
Use: &ast.NameName{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 161,
EndLine: 161,
StartPos: 3366,
EndPos: 3369,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 161,
EndLine: 161,
StartPos: 3366,
EndPos: 3369,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
&ast.StmtUse{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 162,
EndLine: 162,
StartPos: 3371,
EndPos: 3380,
2020-05-12 21:16:36 +00:00
},
},
UseDeclarations: []ast.Vertex{
&ast.StmtUseDeclaration{
Node: ast.Node{
Position: &position.Position{
StartLine: 162,
EndLine: 162,
StartPos: 3375,
EndPos: 3379,
},
2020-05-12 21:16:36 +00:00
},
Use: &ast.NameName{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 162,
EndLine: 162,
StartPos: 3376,
EndPos: 3379,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 162,
EndLine: 162,
StartPos: 3376,
EndPos: 3379,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
&ast.StmtUse{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 163,
EndLine: 163,
StartPos: 3381,
EndPos: 3397,
2020-05-12 21:16:36 +00:00
},
},
UseDeclarations: []ast.Vertex{
&ast.StmtUseDeclaration{
Node: ast.Node{
Position: &position.Position{
StartLine: 163,
EndLine: 163,
StartPos: 3385,
EndPos: 3396,
},
2020-05-12 21:16:36 +00:00
},
Use: &ast.NameName{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 163,
EndLine: 163,
StartPos: 3386,
EndPos: 3389,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 163,
EndLine: 163,
StartPos: 3386,
EndPos: 3389,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
2020-05-12 21:16:36 +00:00
},
},
},
Alias: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 163,
EndLine: 163,
StartPos: 3393,
EndPos: 3396,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtUse{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 164,
EndLine: 164,
StartPos: 3398,
EndPos: 3411,
2020-05-12 21:16:36 +00:00
},
},
UseDeclarations: []ast.Vertex{
&ast.StmtUseDeclaration{
Node: ast.Node{
Position: &position.Position{
StartLine: 164,
EndLine: 164,
StartPos: 3402,
EndPos: 3405,
},
2020-05-12 21:16:36 +00:00
},
Use: &ast.NameName{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 164,
EndLine: 164,
StartPos: 3402,
EndPos: 3405,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 164,
EndLine: 164,
StartPos: 3402,
EndPos: 3405,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtUseDeclaration{
Node: ast.Node{
Position: &position.Position{
StartLine: 164,
EndLine: 164,
StartPos: 3407,
EndPos: 3410,
},
},
Use: &ast.NameName{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 164,
EndLine: 164,
StartPos: 3407,
EndPos: 3410,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 164,
EndLine: 164,
StartPos: 3407,
EndPos: 3410,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
&ast.StmtUse{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 165,
EndLine: 165,
StartPos: 3412,
EndPos: 3432,
2020-05-12 21:16:36 +00:00
},
},
UseDeclarations: []ast.Vertex{
&ast.StmtUseDeclaration{
Node: ast.Node{
Position: &position.Position{
StartLine: 165,
EndLine: 165,
StartPos: 3416,
EndPos: 3419,
},
2020-05-12 21:16:36 +00:00
},
Use: &ast.NameName{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 165,
EndLine: 165,
StartPos: 3416,
EndPos: 3419,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 165,
EndLine: 165,
StartPos: 3416,
EndPos: 3419,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtUseDeclaration{
Node: ast.Node{
Position: &position.Position{
StartLine: 165,
EndLine: 165,
StartPos: 3421,
EndPos: 3431,
},
},
Use: &ast.NameName{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 165,
EndLine: 165,
StartPos: 3421,
EndPos: 3424,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 165,
EndLine: 165,
StartPos: 3421,
EndPos: 3424,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
2020-05-12 21:16:36 +00:00
},
},
},
Alias: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 165,
EndLine: 165,
StartPos: 3428,
EndPos: 3431,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Baz"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtUse{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 166,
EndLine: 166,
StartPos: 3433,
EndPos: 3456,
2020-05-12 21:16:36 +00:00
},
},
Type: &ast.Identifier{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 166,
EndLine: 166,
StartPos: 3437,
EndPos: 3445,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("function"),
},
UseDeclarations: []ast.Vertex{
&ast.StmtUseDeclaration{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 166,
EndLine: 166,
StartPos: 3446,
EndPos: 3449,
2020-05-12 21:16:36 +00:00
},
},
Use: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 166,
EndLine: 166,
StartPos: 3446,
EndPos: 3449,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 166,
EndLine: 166,
StartPos: 3446,
EndPos: 3449,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtUseDeclaration{
Node: ast.Node{
Position: &position.Position{
StartLine: 166,
EndLine: 166,
StartPos: 3451,
EndPos: 3455,
},
},
Use: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 166,
EndLine: 166,
StartPos: 3452,
EndPos: 3455,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 166,
EndLine: 166,
StartPos: 3452,
EndPos: 3455,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
&ast.StmtUse{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 167,
EndLine: 167,
StartPos: 3457,
EndPos: 3494,
2020-05-12 21:16:36 +00:00
},
},
Type: &ast.Identifier{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 167,
EndLine: 167,
StartPos: 3461,
EndPos: 3469,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("function"),
},
UseDeclarations: []ast.Vertex{
&ast.StmtUseDeclaration{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 167,
EndLine: 167,
StartPos: 3470,
EndPos: 3480,
},
},
Use: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 167,
EndLine: 167,
StartPos: 3470,
EndPos: 3473,
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 167,
EndLine: 167,
StartPos: 3470,
EndPos: 3473,
},
},
Value: []byte("Foo"),
},
2020-05-12 21:16:36 +00:00
},
},
Alias: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 167,
EndLine: 167,
StartPos: 3477,
EndPos: 3480,
},
},
Value: []byte("foo"),
},
2020-05-12 21:16:36 +00:00
},
&ast.StmtUseDeclaration{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 167,
EndLine: 167,
StartPos: 3482,
EndPos: 3493,
2020-05-12 21:16:36 +00:00
},
},
Use: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 167,
EndLine: 167,
StartPos: 3483,
EndPos: 3486,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 167,
EndLine: 167,
StartPos: 3483,
EndPos: 3486,
},
},
Value: []byte("Bar"),
},
},
},
Alias: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 167,
EndLine: 167,
StartPos: 3490,
EndPos: 3493,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtUse{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 168,
EndLine: 168,
StartPos: 3495,
EndPos: 3515,
2020-05-12 21:16:36 +00:00
},
},
Type: &ast.Identifier{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 168,
EndLine: 168,
StartPos: 3499,
EndPos: 3504,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("const"),
},
UseDeclarations: []ast.Vertex{
&ast.StmtUseDeclaration{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 168,
EndLine: 168,
StartPos: 3505,
EndPos: 3508,
2020-05-12 21:16:36 +00:00
},
},
Use: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 168,
EndLine: 168,
StartPos: 3505,
EndPos: 3508,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 168,
EndLine: 168,
StartPos: 3505,
EndPos: 3508,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtUseDeclaration{
Node: ast.Node{
Position: &position.Position{
StartLine: 168,
EndLine: 168,
StartPos: 3510,
EndPos: 3514,
},
},
Use: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 168,
EndLine: 168,
StartPos: 3511,
EndPos: 3514,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 168,
EndLine: 168,
StartPos: 3511,
EndPos: 3514,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
&ast.StmtUse{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 169,
EndLine: 169,
StartPos: 3516,
EndPos: 3550,
2020-05-12 21:16:36 +00:00
},
},
Type: &ast.Identifier{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 169,
EndLine: 169,
StartPos: 3520,
EndPos: 3525,
},
},
Value: []byte("const"),
},
UseDeclarations: []ast.Vertex{
&ast.StmtUseDeclaration{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 169,
EndLine: 169,
StartPos: 3526,
EndPos: 3536,
2020-05-12 21:16:36 +00:00
},
},
Use: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 169,
EndLine: 169,
StartPos: 3526,
EndPos: 3529,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 169,
EndLine: 169,
StartPos: 3526,
EndPos: 3529,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
2020-05-12 21:16:36 +00:00
},
},
},
Alias: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 169,
EndLine: 169,
StartPos: 3533,
EndPos: 3536,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
},
&ast.StmtUseDeclaration{
Node: ast.Node{
Position: &position.Position{
StartLine: 169,
EndLine: 169,
StartPos: 3538,
EndPos: 3549,
},
},
Use: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 169,
EndLine: 169,
StartPos: 3539,
EndPos: 3542,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 169,
EndLine: 169,
StartPos: 3539,
EndPos: 3542,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
2020-05-12 21:16:36 +00:00
},
},
},
Alias: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 169,
EndLine: 169,
StartPos: 3546,
EndPos: 3549,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtGroupUse{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 171,
EndLine: 171,
StartPos: 3552,
EndPos: 3572,
2020-05-12 21:16:36 +00:00
},
},
Prefix: &ast.NameName{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 171,
EndLine: 171,
StartPos: 3557,
EndPos: 3560,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 171,
EndLine: 171,
StartPos: 3557,
EndPos: 3560,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
2020-05-12 21:16:36 +00:00
},
},
},
UseDeclarations: []ast.Vertex{
&ast.StmtUseDeclaration{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 171,
EndLine: 171,
StartPos: 3562,
EndPos: 3565,
2020-05-12 21:16:36 +00:00
},
},
Use: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 171,
EndLine: 171,
StartPos: 3562,
EndPos: 3565,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 171,
EndLine: 171,
StartPos: 3562,
EndPos: 3565,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtUseDeclaration{
Node: ast.Node{
Position: &position.Position{
StartLine: 171,
EndLine: 171,
StartPos: 3567,
EndPos: 3570,
},
},
Use: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 171,
EndLine: 171,
StartPos: 3567,
EndPos: 3570,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 171,
EndLine: 171,
StartPos: 3567,
EndPos: 3570,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Baz"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
&ast.StmtGroupUse{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 172,
EndLine: 172,
StartPos: 3573,
EndPos: 3600,
2020-05-12 21:16:36 +00:00
},
},
Prefix: &ast.NameName{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 172,
EndLine: 172,
StartPos: 3577,
EndPos: 3580,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 172,
EndLine: 172,
StartPos: 3577,
EndPos: 3580,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
2020-05-12 21:16:36 +00:00
},
},
},
UseDeclarations: []ast.Vertex{
&ast.StmtUseDeclaration{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 172,
EndLine: 172,
StartPos: 3582,
EndPos: 3585,
2020-05-12 21:16:36 +00:00
},
},
Use: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 172,
EndLine: 172,
StartPos: 3582,
EndPos: 3585,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 172,
EndLine: 172,
StartPos: 3582,
EndPos: 3585,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtUseDeclaration{
Node: ast.Node{
Position: &position.Position{
StartLine: 172,
EndLine: 172,
StartPos: 3587,
EndPos: 3598,
},
},
Use: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 172,
EndLine: 172,
StartPos: 3587,
EndPos: 3590,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 172,
EndLine: 172,
StartPos: 3587,
EndPos: 3590,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Baz"),
},
},
},
Alias: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 172,
EndLine: 172,
StartPos: 3594,
EndPos: 3598,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("quux"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtGroupUse{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 173,
EndLine: 173,
StartPos: 3601,
EndPos: 3629,
2020-05-12 21:16:36 +00:00
},
},
Type: &ast.Identifier{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 173,
EndLine: 173,
StartPos: 3605,
EndPos: 3613,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("function"),
},
Prefix: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 173,
EndLine: 173,
StartPos: 3614,
EndPos: 3617,
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 173,
EndLine: 173,
StartPos: 3614,
EndPos: 3617,
},
2020-05-12 21:16:36 +00:00
},
Value: []byte("Foo"),
2020-05-12 21:16:36 +00:00
},
},
},
UseDeclarations: []ast.Vertex{
&ast.StmtUseDeclaration{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 173,
EndLine: 173,
StartPos: 3619,
EndPos: 3622,
2020-05-12 21:16:36 +00:00
},
},
Use: &ast.NameName{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 173,
EndLine: 173,
StartPos: 3619,
EndPos: 3622,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 173,
EndLine: 173,
StartPos: 3619,
EndPos: 3622,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtUseDeclaration{
Node: ast.Node{
Position: &position.Position{
StartLine: 173,
EndLine: 173,
StartPos: 3624,
EndPos: 3627,
},
},
Use: &ast.NameName{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 173,
EndLine: 173,
StartPos: 3624,
EndPos: 3627,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 173,
EndLine: 173,
StartPos: 3624,
EndPos: 3627,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Baz"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
&ast.StmtGroupUse{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 174,
EndLine: 174,
StartPos: 3630,
EndPos: 3656,
2020-05-12 21:16:36 +00:00
},
},
Type: &ast.Identifier{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 174,
EndLine: 174,
StartPos: 3634,
EndPos: 3639,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("const"),
},
Prefix: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 174,
EndLine: 174,
StartPos: 3641,
EndPos: 3644,
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 174,
EndLine: 174,
StartPos: 3641,
EndPos: 3644,
},
2020-05-12 21:16:36 +00:00
},
Value: []byte("Foo"),
2020-05-12 21:16:36 +00:00
},
},
},
UseDeclarations: []ast.Vertex{
&ast.StmtUseDeclaration{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 174,
EndLine: 174,
StartPos: 3646,
EndPos: 3649,
2020-05-12 21:16:36 +00:00
},
},
Use: &ast.NameName{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 174,
EndLine: 174,
StartPos: 3646,
EndPos: 3649,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 174,
EndLine: 174,
StartPos: 3646,
EndPos: 3649,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtUseDeclaration{
Node: ast.Node{
Position: &position.Position{
StartLine: 174,
EndLine: 174,
StartPos: 3651,
EndPos: 3654,
},
},
Use: &ast.NameName{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 174,
EndLine: 174,
StartPos: 3651,
EndPos: 3654,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 174,
EndLine: 174,
StartPos: 3651,
EndPos: 3654,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Baz"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
&ast.StmtGroupUse{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 175,
EndLine: 175,
StartPos: 3657,
EndPos: 3691,
2020-05-12 21:16:36 +00:00
},
},
Prefix: &ast.NameName{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 175,
EndLine: 175,
StartPos: 3661,
EndPos: 3664,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 175,
EndLine: 175,
StartPos: 3661,
EndPos: 3664,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
2020-05-12 21:16:36 +00:00
},
},
},
UseDeclarations: []ast.Vertex{
&ast.StmtUseDeclaration{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 175,
EndLine: 175,
StartPos: 3666,
EndPos: 3675,
2020-05-12 21:16:36 +00:00
},
},
Type: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 175,
EndLine: 175,
StartPos: 3666,
EndPos: 3671,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("const"),
},
Use: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 175,
EndLine: 175,
StartPos: 3672,
EndPos: 3675,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 175,
EndLine: 175,
StartPos: 3672,
EndPos: 3675,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtUseDeclaration{
Node: ast.Node{
Position: &position.Position{
StartLine: 175,
EndLine: 175,
StartPos: 3677,
EndPos: 3689,
},
},
Type: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 175,
EndLine: 175,
StartPos: 3677,
EndPos: 3685,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("function"),
},
Use: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 175,
EndLine: 175,
StartPos: 3686,
EndPos: 3689,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 175,
EndLine: 175,
StartPos: 3686,
EndPos: 3689,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Baz"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 177,
EndLine: 177,
StartPos: 3693,
EndPos: 3699,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprArrayDimFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 177,
EndLine: 177,
StartPos: 3693,
EndPos: 3698,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 177,
EndLine: 177,
StartPos: 3693,
EndPos: 3695,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 177,
EndLine: 177,
StartPos: 3693,
EndPos: 3695,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Dim: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 177,
EndLine: 177,
StartPos: 3696,
EndPos: 3697,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 178,
EndLine: 178,
StartPos: 3700,
EndPos: 3709,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprArrayDimFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 178,
EndLine: 178,
StartPos: 3700,
EndPos: 3708,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprArrayDimFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 178,
EndLine: 178,
StartPos: 3700,
EndPos: 3705,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 178,
EndLine: 178,
StartPos: 3700,
EndPos: 3702,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 178,
EndLine: 178,
StartPos: 3700,
EndPos: 3702,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Dim: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 178,
EndLine: 178,
StartPos: 3703,
EndPos: 3704,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
Dim: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 178,
EndLine: 178,
StartPos: 3706,
EndPos: 3707,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("2"),
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 179,
EndLine: 179,
StartPos: 3710,
EndPos: 3718,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprArray{
Node: ast.Node{
Position: &position.Position{
StartLine: 179,
EndLine: 179,
StartPos: 3710,
EndPos: 3717,
2020-05-12 21:16:36 +00:00
},
},
Items: []ast.Vertex{},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 180,
EndLine: 180,
StartPos: 3719,
EndPos: 3728,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprArray{
Node: ast.Node{
Position: &position.Position{
StartLine: 180,
EndLine: 180,
StartPos: 3719,
EndPos: 3727,
2020-05-12 21:16:36 +00:00
},
},
Items: []ast.Vertex{
&ast.ExprArrayItem{
Node: ast.Node{
Position: &position.Position{
StartLine: 180,
EndLine: 180,
StartPos: 3725,
EndPos: 3726,
2020-05-12 21:16:36 +00:00
},
},
Val: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 180,
EndLine: 180,
StartPos: 3725,
EndPos: 3726,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 181,
EndLine: 181,
StartPos: 3729,
EndPos: 3747,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprArray{
Node: ast.Node{
Position: &position.Position{
StartLine: 181,
EndLine: 181,
StartPos: 3729,
EndPos: 3746,
2020-05-12 21:16:36 +00:00
},
},
Items: []ast.Vertex{
&ast.ExprArrayItem{
Node: ast.Node{
Position: &position.Position{
StartLine: 181,
EndLine: 181,
StartPos: 3735,
EndPos: 3739,
2020-05-12 21:16:36 +00:00
},
},
Key: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 181,
EndLine: 181,
StartPos: 3735,
EndPos: 3736,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
Val: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 181,
EndLine: 181,
StartPos: 3738,
EndPos: 3739,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
&ast.ExprArrayItem{
Node: ast.Node{
Position: &position.Position{
StartLine: 181,
EndLine: 181,
StartPos: 3741,
EndPos: 3744,
2020-05-12 21:16:36 +00:00
},
},
Val: &ast.ExprReference{
Node: ast.Node{
Position: &position.Position{
StartLine: 181,
EndLine: 181,
StartPos: 3741,
EndPos: 3744,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 181,
EndLine: 181,
StartPos: 3742,
EndPos: 3744,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 181,
EndLine: 181,
StartPos: 3742,
EndPos: 3744,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.ExprArrayItem{},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 182,
EndLine: 182,
StartPos: 3748,
EndPos: 3752,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBitwiseNot{
Node: ast.Node{
Position: &position.Position{
StartLine: 182,
EndLine: 182,
StartPos: 3748,
EndPos: 3751,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 182,
EndLine: 182,
StartPos: 3749,
EndPos: 3751,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 182,
EndLine: 182,
StartPos: 3749,
EndPos: 3751,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 183,
EndLine: 183,
StartPos: 3753,
EndPos: 3757,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBooleanNot{
Node: ast.Node{
Position: &position.Position{
StartLine: 183,
EndLine: 183,
StartPos: 3753,
EndPos: 3756,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 183,
EndLine: 183,
StartPos: 3754,
EndPos: 3756,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 183,
EndLine: 183,
StartPos: 3754,
EndPos: 3756,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 185,
EndLine: 185,
StartPos: 3759,
EndPos: 3768,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprClassConstFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 185,
EndLine: 185,
StartPos: 3759,
EndPos: 3767,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 185,
EndLine: 185,
StartPos: 3759,
EndPos: 3762,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 185,
EndLine: 185,
StartPos: 3759,
EndPos: 3762,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
},
},
ConstantName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 185,
EndLine: 185,
StartPos: 3764,
EndPos: 3767,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 186,
EndLine: 186,
StartPos: 3769,
EndPos: 3779,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprClassConstFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 186,
EndLine: 186,
StartPos: 3769,
EndPos: 3778,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 186,
EndLine: 186,
StartPos: 3769,
EndPos: 3773,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 186,
EndLine: 186,
StartPos: 3769,
EndPos: 3773,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$foo"),
2020-05-12 21:16:36 +00:00
},
},
ConstantName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 186,
EndLine: 186,
StartPos: 3775,
EndPos: 3778,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Bar"),
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 187,
EndLine: 187,
StartPos: 3780,
EndPos: 3790,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprClone{
Node: ast.Node{
Position: &position.Position{
StartLine: 187,
EndLine: 187,
StartPos: 3780,
2020-08-09 20:40:55 +00:00
EndPos: 3789,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 187,
EndLine: 187,
StartPos: 3786,
EndPos: 3788,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 187,
EndLine: 187,
StartPos: 3786,
EndPos: 3788,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 188,
EndLine: 188,
StartPos: 3791,
EndPos: 3800,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprClone{
Node: ast.Node{
Position: &position.Position{
StartLine: 188,
EndLine: 188,
StartPos: 3791,
EndPos: 3799,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 188,
EndLine: 188,
StartPos: 3797,
EndPos: 3799,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 188,
EndLine: 188,
StartPos: 3797,
EndPos: 3799,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 189,
EndLine: 189,
StartPos: 3801,
EndPos: 3814,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprClosure{
Node: ast.Node{
Position: &position.Position{
StartLine: 189,
EndLine: 189,
StartPos: 3801,
EndPos: 3813,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
2020-05-12 21:16:36 +00:00
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 190,
EndLine: 190,
StartPos: 3815,
EndPos: 3849,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprClosure{
Node: ast.Node{
Position: &position.Position{
StartLine: 190,
EndLine: 190,
StartPos: 3815,
EndPos: 3848,
2020-05-12 21:16:36 +00:00
},
},
Params: []ast.Vertex{
&ast.Parameter{
Node: ast.Node{
Position: &position.Position{
StartLine: 190,
EndLine: 190,
StartPos: 3824,
EndPos: 3826,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 190,
EndLine: 190,
StartPos: 3824,
EndPos: 3826,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 190,
EndLine: 190,
StartPos: 3824,
EndPos: 3826,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
&ast.Parameter{
Node: ast.Node{
Position: &position.Position{
StartLine: 190,
EndLine: 190,
StartPos: 3828,
EndPos: 3830,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 190,
EndLine: 190,
StartPos: 3828,
EndPos: 3830,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 190,
EndLine: 190,
StartPos: 3828,
EndPos: 3830,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
ClosureUse: &ast.ExprClosureUse{
Node: ast.Node{
Position: &position.Position{
StartLine: 190,
EndLine: 190,
StartPos: 3832,
EndPos: 3845,
2020-05-12 21:16:36 +00:00
},
},
Uses: []ast.Vertex{
&ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 190,
EndLine: 190,
StartPos: 3837,
EndPos: 3839,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 190,
EndLine: 190,
StartPos: 3837,
EndPos: 3839,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$c"),
2020-05-12 21:16:36 +00:00
},
},
&ast.ExprReference{
Node: ast.Node{
Position: &position.Position{
StartLine: 190,
EndLine: 190,
StartPos: 3841,
EndPos: 3844,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 190,
EndLine: 190,
StartPos: 3842,
EndPos: 3844,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 190,
EndLine: 190,
StartPos: 3842,
EndPos: 3844,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$d"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
Stmts: []ast.Vertex{},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 191,
EndLine: 191,
StartPos: 3850,
EndPos: 3870,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprClosure{
Node: ast.Node{
Position: &position.Position{
StartLine: 191,
EndLine: 191,
StartPos: 3850,
EndPos: 3869,
2020-05-12 21:16:36 +00:00
},
},
ReturnType: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 191,
EndLine: 191,
StartPos: 3862,
EndPos: 3866,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 191,
EndLine: 191,
StartPos: 3862,
EndPos: 3866,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("void"),
},
},
},
Stmts: []ast.Vertex{},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 192,
EndLine: 192,
StartPos: 3871,
EndPos: 3875,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprConstFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 192,
EndLine: 192,
StartPos: 3871,
EndPos: 3874,
2020-05-12 21:16:36 +00:00
},
},
Const: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 192,
EndLine: 192,
StartPos: 3871,
EndPos: 3874,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 192,
EndLine: 192,
StartPos: 3871,
EndPos: 3874,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 193,
EndLine: 193,
StartPos: 3876,
EndPos: 3890,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprConstFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 193,
EndLine: 193,
StartPos: 3876,
EndPos: 3889,
2020-05-12 21:16:36 +00:00
},
},
Const: &ast.NameRelative{
Node: ast.Node{
Position: &position.Position{
StartLine: 193,
EndLine: 193,
StartPos: 3876,
EndPos: 3889,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 193,
EndLine: 193,
StartPos: 3886,
EndPos: 3889,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 194,
EndLine: 194,
StartPos: 3891,
EndPos: 3896,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprConstFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 194,
EndLine: 194,
StartPos: 3891,
EndPos: 3895,
2020-05-12 21:16:36 +00:00
},
},
Const: &ast.NameFullyQualified{
Node: ast.Node{
Position: &position.Position{
StartLine: 194,
EndLine: 194,
StartPos: 3891,
EndPos: 3895,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 194,
EndLine: 194,
StartPos: 3892,
EndPos: 3895,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 196,
EndLine: 196,
StartPos: 3898,
EndPos: 3908,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprEmpty{
Node: ast.Node{
Position: &position.Position{
StartLine: 196,
EndLine: 196,
StartPos: 3898,
EndPos: 3907,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 196,
EndLine: 196,
StartPos: 3904,
EndPos: 3906,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 196,
EndLine: 196,
StartPos: 3904,
EndPos: 3906,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 197,
EndLine: 197,
StartPos: 3909,
EndPos: 3913,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprErrorSuppress{
Node: ast.Node{
Position: &position.Position{
StartLine: 197,
EndLine: 197,
StartPos: 3909,
EndPos: 3912,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 197,
EndLine: 197,
StartPos: 3910,
EndPos: 3912,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 197,
EndLine: 197,
StartPos: 3910,
EndPos: 3912,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 198,
EndLine: 198,
StartPos: 3914,
EndPos: 3923,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprEval{
Node: ast.Node{
Position: &position.Position{
StartLine: 198,
EndLine: 198,
StartPos: 3914,
EndPos: 3922,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 198,
EndLine: 198,
StartPos: 3919,
EndPos: 3921,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 198,
EndLine: 198,
StartPos: 3919,
EndPos: 3921,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 199,
EndLine: 199,
StartPos: 3924,
EndPos: 3929,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprExit{
Node: ast.Node{
Position: &position.Position{
StartLine: 199,
EndLine: 199,
StartPos: 3924,
EndPos: 3928,
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 200,
EndLine: 200,
StartPos: 3930,
EndPos: 3939,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprExit{
Node: ast.Node{
Position: &position.Position{
StartLine: 200,
EndLine: 200,
StartPos: 3930,
EndPos: 3938,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 200,
EndLine: 200,
StartPos: 3935,
EndPos: 3937,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 200,
EndLine: 200,
StartPos: 3935,
EndPos: 3937,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 201,
EndLine: 201,
StartPos: 3940,
EndPos: 3944,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprExit{
Node: ast.Node{
Position: &position.Position{
StartLine: 201,
EndLine: 201,
StartPos: 3940,
EndPos: 3943,
2020-05-12 21:16:36 +00:00
},
},
Die: true,
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 202,
EndLine: 202,
StartPos: 3945,
EndPos: 3953,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprExit{
Node: ast.Node{
Position: &position.Position{
StartLine: 202,
EndLine: 202,
StartPos: 3945,
EndPos: 3952,
2020-05-12 21:16:36 +00:00
},
},
Die: true,
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 202,
EndLine: 202,
StartPos: 3949,
EndPos: 3951,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 202,
EndLine: 202,
StartPos: 3949,
EndPos: 3951,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 203,
EndLine: 203,
StartPos: 3954,
EndPos: 3960,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprFunctionCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 203,
EndLine: 203,
StartPos: 3954,
EndPos: 3959,
2020-05-12 21:16:36 +00:00
},
},
Function: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 203,
EndLine: 203,
StartPos: 3954,
EndPos: 3957,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 203,
EndLine: 203,
StartPos: 3954,
EndPos: 3957,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
},
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 203,
EndLine: 203,
StartPos: 3957,
EndPos: 3959,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 204,
EndLine: 204,
StartPos: 3961,
EndPos: 3977,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprFunctionCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 204,
EndLine: 204,
StartPos: 3961,
EndPos: 3976,
2020-05-12 21:16:36 +00:00
},
},
Function: &ast.NameRelative{
Node: ast.Node{
Position: &position.Position{
StartLine: 204,
EndLine: 204,
StartPos: 3961,
EndPos: 3974,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 204,
EndLine: 204,
StartPos: 3971,
EndPos: 3974,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
},
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 204,
EndLine: 204,
StartPos: 3974,
EndPos: 3976,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 205,
EndLine: 205,
StartPos: 3978,
EndPos: 3985,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprFunctionCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 205,
EndLine: 205,
StartPos: 3978,
EndPos: 3984,
2020-05-12 21:16:36 +00:00
},
},
Function: &ast.NameFullyQualified{
Node: ast.Node{
Position: &position.Position{
StartLine: 205,
EndLine: 205,
StartPos: 3978,
EndPos: 3982,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 205,
EndLine: 205,
StartPos: 3979,
EndPos: 3982,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
},
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 205,
EndLine: 205,
StartPos: 3982,
EndPos: 3984,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 206,
EndLine: 206,
StartPos: 3986,
EndPos: 3993,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprFunctionCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 206,
EndLine: 206,
StartPos: 3986,
EndPos: 3992,
2020-05-12 21:16:36 +00:00
},
},
Function: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 206,
EndLine: 206,
StartPos: 3986,
EndPos: 3990,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 206,
EndLine: 206,
StartPos: 3986,
EndPos: 3990,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$foo"),
2020-05-12 21:16:36 +00:00
},
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 206,
EndLine: 206,
StartPos: 3990,
EndPos: 3992,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 208,
EndLine: 208,
StartPos: 3995,
EndPos: 4000,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprPostDec{
Node: ast.Node{
Position: &position.Position{
StartLine: 208,
EndLine: 208,
StartPos: 3995,
EndPos: 3999,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 208,
EndLine: 208,
StartPos: 3995,
EndPos: 3997,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 208,
EndLine: 208,
StartPos: 3995,
EndPos: 3997,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 209,
EndLine: 209,
StartPos: 4001,
EndPos: 4006,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprPostInc{
Node: ast.Node{
Position: &position.Position{
StartLine: 209,
EndLine: 209,
StartPos: 4001,
EndPos: 4005,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 209,
EndLine: 209,
StartPos: 4001,
EndPos: 4003,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 209,
EndLine: 209,
StartPos: 4001,
EndPos: 4003,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 210,
EndLine: 210,
StartPos: 4007,
EndPos: 4012,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprPreDec{
Node: ast.Node{
Position: &position.Position{
StartLine: 210,
EndLine: 210,
StartPos: 4007,
EndPos: 4011,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 210,
EndLine: 210,
StartPos: 4009,
EndPos: 4011,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 210,
EndLine: 210,
StartPos: 4009,
EndPos: 4011,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 211,
EndLine: 211,
StartPos: 4013,
EndPos: 4018,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprPreInc{
Node: ast.Node{
Position: &position.Position{
StartLine: 211,
EndLine: 211,
StartPos: 4013,
EndPos: 4017,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 211,
EndLine: 211,
StartPos: 4015,
EndPos: 4017,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 211,
EndLine: 211,
StartPos: 4015,
EndPos: 4017,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 213,
EndLine: 213,
StartPos: 4020,
EndPos: 4031,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprInclude{
Node: ast.Node{
Position: &position.Position{
StartLine: 213,
EndLine: 213,
StartPos: 4020,
EndPos: 4030,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 213,
EndLine: 213,
StartPos: 4028,
EndPos: 4030,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 213,
EndLine: 213,
StartPos: 4028,
EndPos: 4030,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 214,
EndLine: 214,
StartPos: 4032,
EndPos: 4048,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprIncludeOnce{
Node: ast.Node{
Position: &position.Position{
StartLine: 214,
EndLine: 214,
StartPos: 4032,
EndPos: 4047,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 214,
EndLine: 214,
StartPos: 4045,
EndPos: 4047,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 214,
EndLine: 214,
StartPos: 4045,
EndPos: 4047,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 215,
EndLine: 215,
StartPos: 4049,
EndPos: 4060,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprRequire{
Node: ast.Node{
Position: &position.Position{
StartLine: 215,
EndLine: 215,
StartPos: 4049,
EndPos: 4059,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 215,
EndLine: 215,
StartPos: 4057,
EndPos: 4059,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 215,
EndLine: 215,
StartPos: 4057,
EndPos: 4059,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 216,
EndLine: 216,
StartPos: 4061,
EndPos: 4077,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprRequireOnce{
Node: ast.Node{
Position: &position.Position{
StartLine: 216,
EndLine: 216,
StartPos: 4061,
EndPos: 4076,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 216,
EndLine: 216,
StartPos: 4074,
EndPos: 4076,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 216,
EndLine: 216,
StartPos: 4074,
EndPos: 4076,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 218,
EndLine: 218,
StartPos: 4079,
EndPos: 4097,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprInstanceOf{
Node: ast.Node{
Position: &position.Position{
StartLine: 218,
EndLine: 218,
StartPos: 4079,
EndPos: 4096,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 218,
EndLine: 218,
StartPos: 4079,
EndPos: 4081,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 218,
EndLine: 218,
StartPos: 4079,
EndPos: 4081,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 218,
EndLine: 218,
StartPos: 4093,
EndPos: 4096,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 218,
EndLine: 218,
StartPos: 4093,
EndPos: 4096,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 219,
EndLine: 219,
StartPos: 4098,
EndPos: 4126,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprInstanceOf{
Node: ast.Node{
Position: &position.Position{
StartLine: 219,
EndLine: 219,
StartPos: 4098,
EndPos: 4125,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 219,
EndLine: 219,
StartPos: 4098,
EndPos: 4100,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 219,
EndLine: 219,
StartPos: 4098,
EndPos: 4100,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.NameRelative{
Node: ast.Node{
Position: &position.Position{
StartLine: 219,
EndLine: 219,
StartPos: 4112,
EndPos: 4125,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 219,
EndLine: 219,
StartPos: 4122,
EndPos: 4125,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 220,
EndLine: 220,
StartPos: 4127,
EndPos: 4146,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprInstanceOf{
Node: ast.Node{
Position: &position.Position{
StartLine: 220,
EndLine: 220,
StartPos: 4127,
EndPos: 4145,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 220,
EndLine: 220,
StartPos: 4127,
EndPos: 4129,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 220,
EndLine: 220,
StartPos: 4127,
EndPos: 4129,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.NameFullyQualified{
Node: ast.Node{
Position: &position.Position{
StartLine: 220,
EndLine: 220,
StartPos: 4141,
EndPos: 4145,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 220,
EndLine: 220,
StartPos: 4142,
EndPos: 4145,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 222,
EndLine: 222,
StartPos: 4148,
EndPos: 4162,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprIsset{
Node: ast.Node{
Position: &position.Position{
StartLine: 222,
EndLine: 222,
StartPos: 4148,
EndPos: 4161,
2020-05-12 21:16:36 +00:00
},
},
Vars: []ast.Vertex{
&ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 222,
EndLine: 222,
StartPos: 4154,
EndPos: 4156,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 222,
EndLine: 222,
StartPos: 4154,
EndPos: 4156,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
&ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 222,
EndLine: 222,
StartPos: 4158,
EndPos: 4160,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 222,
EndLine: 222,
StartPos: 4158,
EndPos: 4160,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 223,
EndLine: 223,
StartPos: 4163,
EndPos: 4177,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprAssign{
Node: ast.Node{
Position: &position.Position{
StartLine: 223,
EndLine: 223,
StartPos: 4163,
EndPos: 4176,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprList{
Node: ast.Node{
Position: &position.Position{
StartLine: 223,
EndLine: 223,
StartPos: 4163,
EndPos: 4171,
2020-05-12 21:16:36 +00:00
},
},
Items: []ast.Vertex{
&ast.ExprArrayItem{
Node: ast.Node{
Position: &position.Position{
StartLine: 223,
EndLine: 223,
StartPos: 4168,
EndPos: 4170,
2020-05-12 21:16:36 +00:00
},
},
Val: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 223,
EndLine: 223,
StartPos: 4168,
EndPos: 4170,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 223,
EndLine: 223,
StartPos: 4168,
EndPos: 4170,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 223,
EndLine: 223,
StartPos: 4174,
EndPos: 4176,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 223,
EndLine: 223,
StartPos: 4174,
EndPos: 4176,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 224,
EndLine: 224,
StartPos: 4178,
EndPos: 4194,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprAssign{
Node: ast.Node{
Position: &position.Position{
StartLine: 224,
EndLine: 224,
StartPos: 4178,
EndPos: 4193,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprList{
Node: ast.Node{
Position: &position.Position{
StartLine: 224,
EndLine: 224,
StartPos: 4178,
EndPos: 4188,
2020-05-12 21:16:36 +00:00
},
},
Items: []ast.Vertex{
&ast.ExprArrayItem{
Node: ast.Node{
Position: &position.Position{
StartLine: 224,
EndLine: 224,
StartPos: 4183,
EndPos: 4187,
2020-05-12 21:16:36 +00:00
},
},
Val: &ast.ExprArrayDimFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 224,
EndLine: 224,
StartPos: 4183,
EndPos: 4187,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 224,
EndLine: 224,
StartPos: 4183,
EndPos: 4185,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 224,
EndLine: 224,
StartPos: 4183,
EndPos: 4185,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 224,
EndLine: 224,
StartPos: 4191,
EndPos: 4193,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 224,
EndLine: 224,
StartPos: 4191,
EndPos: 4193,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 225,
EndLine: 225,
StartPos: 4195,
EndPos: 4215,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprAssign{
Node: ast.Node{
Position: &position.Position{
StartLine: 225,
EndLine: 225,
StartPos: 4195,
EndPos: 4214,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprList{
Node: ast.Node{
Position: &position.Position{
StartLine: 225,
EndLine: 225,
StartPos: 4195,
EndPos: 4209,
2020-05-12 21:16:36 +00:00
},
},
Items: []ast.Vertex{
&ast.ExprArrayItem{
Node: ast.Node{
Position: &position.Position{
StartLine: 225,
EndLine: 225,
StartPos: 4200,
EndPos: 4208,
2020-05-12 21:16:36 +00:00
},
},
Val: &ast.ExprList{
Node: ast.Node{
Position: &position.Position{
StartLine: 225,
EndLine: 225,
StartPos: 4200,
EndPos: 4208,
2020-05-12 21:16:36 +00:00
},
},
Items: []ast.Vertex{
&ast.ExprArrayItem{
Node: ast.Node{
Position: &position.Position{
StartLine: 225,
EndLine: 225,
StartPos: 4205,
EndPos: 4207,
2020-05-12 21:16:36 +00:00
},
},
Val: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 225,
EndLine: 225,
StartPos: 4205,
EndPos: 4207,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 225,
EndLine: 225,
StartPos: 4205,
EndPos: 4207,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 225,
EndLine: 225,
StartPos: 4212,
EndPos: 4214,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 225,
EndLine: 225,
StartPos: 4212,
EndPos: 4214,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 227,
EndLine: 227,
StartPos: 4217,
EndPos: 4227,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprMethodCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 227,
EndLine: 227,
StartPos: 4217,
EndPos: 4226,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 227,
EndLine: 227,
StartPos: 4217,
EndPos: 4219,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 227,
EndLine: 227,
StartPos: 4217,
EndPos: 4219,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Method: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 227,
EndLine: 227,
StartPos: 4221,
EndPos: 4224,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 227,
EndLine: 227,
StartPos: 4224,
EndPos: 4226,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 228,
EndLine: 228,
StartPos: 4228,
EndPos: 4238,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprNew{
Node: ast.Node{
Position: &position.Position{
StartLine: 228,
EndLine: 228,
StartPos: 4228,
EndPos: 4237,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 228,
EndLine: 228,
StartPos: 4232,
EndPos: 4235,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 228,
EndLine: 228,
StartPos: 4232,
EndPos: 4235,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
},
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 228,
EndLine: 228,
StartPos: 4235,
EndPos: 4237,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 229,
EndLine: 229,
StartPos: 4239,
EndPos: 4259,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprNew{
Node: ast.Node{
Position: &position.Position{
StartLine: 229,
EndLine: 229,
StartPos: 4239,
EndPos: 4258,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.NameRelative{
Node: ast.Node{
Position: &position.Position{
StartLine: 229,
EndLine: 229,
StartPos: 4243,
EndPos: 4256,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 229,
EndLine: 229,
StartPos: 4253,
EndPos: 4256,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
},
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 229,
EndLine: 229,
StartPos: 4256,
EndPos: 4258,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 230,
EndLine: 230,
StartPos: 4260,
EndPos: 4271,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprNew{
Node: ast.Node{
Position: &position.Position{
StartLine: 230,
EndLine: 230,
StartPos: 4260,
EndPos: 4270,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.NameFullyQualified{
Node: ast.Node{
Position: &position.Position{
StartLine: 230,
EndLine: 230,
StartPos: 4264,
EndPos: 4268,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 230,
EndLine: 230,
StartPos: 4265,
EndPos: 4268,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
},
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 230,
EndLine: 230,
StartPos: 4268,
EndPos: 4270,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 231,
EndLine: 231,
StartPos: 4272,
EndPos: 4297,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprNew{
Node: ast.Node{
Position: &position.Position{
StartLine: 231,
EndLine: 231,
StartPos: 4272,
EndPos: 4296,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 231,
EndLine: 231,
StartPos: 4276,
EndPos: 4296,
2020-05-12 21:16:36 +00:00
},
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 231,
EndLine: 231,
StartPos: 4282,
EndPos: 4293,
2020-05-12 21:16:36 +00:00
},
},
Arguments: []ast.Vertex{
&ast.Argument{
Node: ast.Node{
Position: &position.Position{
StartLine: 231,
EndLine: 231,
StartPos: 4283,
EndPos: 4285,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 231,
EndLine: 231,
StartPos: 4283,
EndPos: 4285,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 231,
EndLine: 231,
StartPos: 4283,
EndPos: 4285,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
&ast.Argument{
Node: ast.Node{
Position: &position.Position{
StartLine: 231,
EndLine: 231,
StartPos: 4287,
EndPos: 4292,
2020-05-12 21:16:36 +00:00
},
},
Variadic: true,
2020-05-12 21:16:36 +00:00
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 231,
EndLine: 231,
StartPos: 4290,
EndPos: 4292,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 231,
EndLine: 231,
StartPos: 4290,
EndPos: 4292,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
Stmts: []ast.Vertex{},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 232,
EndLine: 232,
StartPos: 4298,
EndPos: 4308,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprPrint{
Node: ast.Node{
Position: &position.Position{
StartLine: 232,
EndLine: 232,
StartPos: 4298,
2020-08-09 20:40:55 +00:00
EndPos: 4307,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 232,
EndLine: 232,
StartPos: 4304,
EndPos: 4306,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 232,
EndLine: 232,
StartPos: 4304,
EndPos: 4306,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 233,
EndLine: 233,
StartPos: 4309,
EndPos: 4317,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprPropertyFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 233,
EndLine: 233,
StartPos: 4309,
EndPos: 4316,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 233,
EndLine: 233,
StartPos: 4309,
EndPos: 4311,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 233,
EndLine: 233,
StartPos: 4309,
EndPos: 4311,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Property: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 233,
EndLine: 233,
StartPos: 4313,
EndPos: 4316,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 234,
EndLine: 234,
StartPos: 4318,
EndPos: 4327,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprShellExec{
Node: ast.Node{
Position: &position.Position{
StartLine: 234,
EndLine: 234,
StartPos: 4318,
EndPos: 4326,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.ScalarEncapsedStringPart{
Node: ast.Node{
Position: &position.Position{
StartLine: 234,
EndLine: 234,
StartPos: 4319,
EndPos: 4323,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("cmd "),
},
&ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 234,
EndLine: 234,
StartPos: 4323,
EndPos: 4325,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 234,
EndLine: 234,
StartPos: 4323,
EndPos: 4325,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 235,
EndLine: 235,
StartPos: 4328,
EndPos: 4334,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprShellExec{
Node: ast.Node{
Position: &position.Position{
StartLine: 235,
EndLine: 235,
StartPos: 4328,
EndPos: 4333,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.ScalarEncapsedStringPart{
Node: ast.Node{
Position: &position.Position{
StartLine: 235,
EndLine: 235,
StartPos: 4329,
EndPos: 4332,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("cmd"),
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 236,
EndLine: 236,
StartPos: 4335,
EndPos: 4338,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprShellExec{
Node: ast.Node{
Position: &position.Position{
StartLine: 236,
EndLine: 236,
StartPos: 4335,
EndPos: 4337,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 237,
EndLine: 237,
StartPos: 4339,
EndPos: 4342,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprShortArray{
Node: ast.Node{
Position: &position.Position{
StartLine: 237,
EndLine: 237,
StartPos: 4339,
EndPos: 4341,
2020-05-12 21:16:36 +00:00
},
},
Items: []ast.Vertex{},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 238,
EndLine: 238,
StartPos: 4343,
EndPos: 4347,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprShortArray{
Node: ast.Node{
Position: &position.Position{
StartLine: 238,
EndLine: 238,
StartPos: 4343,
EndPos: 4346,
2020-05-12 21:16:36 +00:00
},
},
Items: []ast.Vertex{
&ast.ExprArrayItem{
Node: ast.Node{
Position: &position.Position{
StartLine: 238,
EndLine: 238,
StartPos: 4344,
EndPos: 4345,
2020-05-12 21:16:36 +00:00
},
},
Val: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 238,
EndLine: 238,
StartPos: 4344,
EndPos: 4345,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 239,
EndLine: 239,
StartPos: 4348,
EndPos: 4361,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprShortArray{
Node: ast.Node{
Position: &position.Position{
StartLine: 239,
EndLine: 239,
StartPos: 4348,
EndPos: 4360,
2020-05-12 21:16:36 +00:00
},
},
Items: []ast.Vertex{
&ast.ExprArrayItem{
Node: ast.Node{
Position: &position.Position{
StartLine: 239,
EndLine: 239,
StartPos: 4349,
EndPos: 4353,
2020-05-12 21:16:36 +00:00
},
},
Key: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 239,
EndLine: 239,
StartPos: 4349,
EndPos: 4350,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
Val: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 239,
EndLine: 239,
StartPos: 4352,
EndPos: 4353,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
&ast.ExprArrayItem{
Node: ast.Node{
Position: &position.Position{
StartLine: 239,
EndLine: 239,
StartPos: 4355,
EndPos: 4358,
2020-05-12 21:16:36 +00:00
},
},
Val: &ast.ExprReference{
Node: ast.Node{
Position: &position.Position{
StartLine: 239,
EndLine: 239,
StartPos: 4355,
EndPos: 4358,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 239,
EndLine: 239,
StartPos: 4356,
EndPos: 4358,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 239,
EndLine: 239,
StartPos: 4356,
EndPos: 4358,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.ExprArrayItem{},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 241,
EndLine: 241,
StartPos: 4363,
EndPos: 4373,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprAssign{
Node: ast.Node{
Position: &position.Position{
StartLine: 241,
EndLine: 241,
StartPos: 4363,
EndPos: 4372,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprShortList{
Node: ast.Node{
Position: &position.Position{
StartLine: 241,
EndLine: 241,
StartPos: 4363,
EndPos: 4367,
2020-05-12 21:16:36 +00:00
},
},
Items: []ast.Vertex{
&ast.ExprArrayItem{
Node: ast.Node{
Position: &position.Position{
StartLine: 241,
EndLine: 241,
StartPos: 4364,
EndPos: 4366,
2020-05-12 21:16:36 +00:00
},
},
Val: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 241,
EndLine: 241,
StartPos: 4364,
EndPos: 4366,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 241,
EndLine: 241,
StartPos: 4364,
EndPos: 4366,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 241,
EndLine: 241,
StartPos: 4370,
EndPos: 4372,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 241,
EndLine: 241,
StartPos: 4370,
EndPos: 4372,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 242,
EndLine: 242,
StartPos: 4374,
EndPos: 4386,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprAssign{
Node: ast.Node{
Position: &position.Position{
StartLine: 242,
EndLine: 242,
StartPos: 4374,
EndPos: 4385,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprShortList{
Node: ast.Node{
Position: &position.Position{
StartLine: 242,
EndLine: 242,
StartPos: 4374,
EndPos: 4380,
2020-05-12 21:16:36 +00:00
},
},
Items: []ast.Vertex{
&ast.ExprArrayItem{
Node: ast.Node{
Position: &position.Position{
StartLine: 242,
EndLine: 242,
StartPos: 4375,
EndPos: 4379,
2020-05-12 21:16:36 +00:00
},
},
Val: &ast.ExprArrayDimFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 242,
EndLine: 242,
StartPos: 4375,
EndPos: 4379,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 242,
EndLine: 242,
StartPos: 4375,
EndPos: 4377,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 242,
EndLine: 242,
StartPos: 4375,
EndPos: 4377,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 242,
EndLine: 242,
StartPos: 4383,
EndPos: 4385,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 242,
EndLine: 242,
StartPos: 4383,
EndPos: 4385,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 243,
EndLine: 243,
StartPos: 4387,
EndPos: 4403,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprAssign{
Node: ast.Node{
Position: &position.Position{
StartLine: 243,
EndLine: 243,
StartPos: 4387,
EndPos: 4402,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprShortList{
Node: ast.Node{
Position: &position.Position{
StartLine: 243,
EndLine: 243,
StartPos: 4387,
EndPos: 4397,
2020-05-12 21:16:36 +00:00
},
},
Items: []ast.Vertex{
&ast.ExprArrayItem{
Node: ast.Node{
Position: &position.Position{
StartLine: 243,
EndLine: 243,
StartPos: 4388,
EndPos: 4396,
2020-05-12 21:16:36 +00:00
},
},
Val: &ast.ExprList{
Node: ast.Node{
Position: &position.Position{
StartLine: 243,
EndLine: 243,
StartPos: 4388,
EndPos: 4396,
2020-05-12 21:16:36 +00:00
},
},
Items: []ast.Vertex{
&ast.ExprArrayItem{
Node: ast.Node{
Position: &position.Position{
StartLine: 243,
EndLine: 243,
StartPos: 4393,
EndPos: 4395,
2020-05-12 21:16:36 +00:00
},
},
Val: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 243,
EndLine: 243,
StartPos: 4393,
EndPos: 4395,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 243,
EndLine: 243,
StartPos: 4393,
EndPos: 4395,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 243,
EndLine: 243,
StartPos: 4400,
EndPos: 4402,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 243,
EndLine: 243,
StartPos: 4400,
EndPos: 4402,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 244,
EndLine: 244,
StartPos: 4404,
EndPos: 4415,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprStaticCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 244,
EndLine: 244,
StartPos: 4404,
EndPos: 4414,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 244,
EndLine: 244,
StartPos: 4404,
EndPos: 4407,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 244,
EndLine: 244,
StartPos: 4404,
EndPos: 4407,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
},
},
Call: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 244,
EndLine: 244,
StartPos: 4409,
EndPos: 4412,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 244,
EndLine: 244,
StartPos: 4412,
EndPos: 4414,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 245,
EndLine: 245,
StartPos: 4416,
EndPos: 4437,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprStaticCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 245,
EndLine: 245,
StartPos: 4416,
EndPos: 4436,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.NameRelative{
Node: ast.Node{
Position: &position.Position{
StartLine: 245,
EndLine: 245,
StartPos: 4416,
EndPos: 4429,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 245,
EndLine: 245,
StartPos: 4426,
EndPos: 4429,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
},
},
Call: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 245,
EndLine: 245,
StartPos: 4431,
EndPos: 4434,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 245,
EndLine: 245,
StartPos: 4434,
EndPos: 4436,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 246,
EndLine: 246,
StartPos: 4438,
EndPos: 4450,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprStaticCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 246,
EndLine: 246,
StartPos: 4438,
EndPos: 4449,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.NameFullyQualified{
Node: ast.Node{
Position: &position.Position{
StartLine: 246,
EndLine: 246,
StartPos: 4438,
EndPos: 4442,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 246,
EndLine: 246,
StartPos: 4439,
EndPos: 4442,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
},
},
Call: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 246,
EndLine: 246,
StartPos: 4444,
EndPos: 4447,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 246,
EndLine: 246,
StartPos: 4447,
EndPos: 4449,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 247,
EndLine: 247,
StartPos: 4451,
EndPos: 4461,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprStaticPropertyFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 247,
EndLine: 247,
StartPos: 4451,
EndPos: 4460,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 247,
EndLine: 247,
StartPos: 4451,
EndPos: 4454,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 247,
EndLine: 247,
StartPos: 4451,
EndPos: 4454,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
},
},
Property: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 247,
EndLine: 247,
StartPos: 4456,
EndPos: 4460,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 247,
EndLine: 247,
StartPos: 4456,
EndPos: 4460,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$bar"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 248,
EndLine: 248,
StartPos: 4462,
EndPos: 4473,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprStaticPropertyFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 248,
EndLine: 248,
StartPos: 4462,
EndPos: 4472,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 248,
EndLine: 248,
StartPos: 4462,
EndPos: 4466,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 248,
EndLine: 248,
StartPos: 4462,
EndPos: 4466,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$foo"),
2020-05-12 21:16:36 +00:00
},
},
Property: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 248,
EndLine: 248,
StartPos: 4468,
EndPos: 4472,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 248,
EndLine: 248,
StartPos: 4468,
EndPos: 4472,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$bar"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 249,
EndLine: 249,
StartPos: 4474,
EndPos: 4494,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprStaticPropertyFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 249,
EndLine: 249,
StartPos: 4474,
EndPos: 4493,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.NameRelative{
Node: ast.Node{
Position: &position.Position{
StartLine: 249,
EndLine: 249,
StartPos: 4474,
EndPos: 4487,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 249,
EndLine: 249,
StartPos: 4484,
EndPos: 4487,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
},
},
Property: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 249,
EndLine: 249,
StartPos: 4489,
EndPos: 4493,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 249,
EndLine: 249,
StartPos: 4489,
EndPos: 4493,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$bar"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 250,
EndLine: 250,
StartPos: 4495,
EndPos: 4506,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprStaticPropertyFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 250,
EndLine: 250,
StartPos: 4495,
EndPos: 4505,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.NameFullyQualified{
Node: ast.Node{
Position: &position.Position{
StartLine: 250,
EndLine: 250,
StartPos: 4495,
EndPos: 4499,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 250,
EndLine: 250,
StartPos: 4496,
EndPos: 4499,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
},
},
Property: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 250,
EndLine: 250,
StartPos: 4501,
EndPos: 4505,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 250,
EndLine: 250,
StartPos: 4501,
EndPos: 4505,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$bar"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 251,
EndLine: 251,
StartPos: 4507,
EndPos: 4520,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprTernary{
Node: ast.Node{
Position: &position.Position{
StartLine: 251,
EndLine: 251,
StartPos: 4507,
EndPos: 4519,
2020-05-12 21:16:36 +00:00
},
},
Condition: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 251,
EndLine: 251,
StartPos: 4507,
EndPos: 4509,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 251,
EndLine: 251,
StartPos: 4507,
EndPos: 4509,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
IfTrue: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 251,
EndLine: 251,
StartPos: 4512,
EndPos: 4514,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 251,
EndLine: 251,
StartPos: 4512,
EndPos: 4514,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
IfFalse: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 251,
EndLine: 251,
StartPos: 4517,
EndPos: 4519,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 251,
EndLine: 251,
StartPos: 4517,
EndPos: 4519,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$c"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 252,
EndLine: 252,
StartPos: 4521,
EndPos: 4531,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprTernary{
Node: ast.Node{
Position: &position.Position{
StartLine: 252,
EndLine: 252,
StartPos: 4521,
EndPos: 4530,
2020-05-12 21:16:36 +00:00
},
},
Condition: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 252,
EndLine: 252,
StartPos: 4521,
EndPos: 4523,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 252,
EndLine: 252,
StartPos: 4521,
EndPos: 4523,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
IfFalse: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 252,
EndLine: 252,
StartPos: 4528,
EndPos: 4530,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 252,
EndLine: 252,
StartPos: 4528,
EndPos: 4530,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$c"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 253,
EndLine: 253,
StartPos: 4532,
EndPos: 4555,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprTernary{
Node: ast.Node{
Position: &position.Position{
StartLine: 253,
EndLine: 253,
StartPos: 4532,
EndPos: 4554,
2020-05-12 21:16:36 +00:00
},
},
Condition: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 253,
EndLine: 253,
StartPos: 4532,
EndPos: 4534,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 253,
EndLine: 253,
StartPos: 4532,
EndPos: 4534,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
IfTrue: &ast.ExprTernary{
Node: ast.Node{
Position: &position.Position{
StartLine: 253,
EndLine: 253,
StartPos: 4537,
EndPos: 4549,
2020-05-12 21:16:36 +00:00
},
},
Condition: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 253,
EndLine: 253,
StartPos: 4537,
EndPos: 4539,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 253,
EndLine: 253,
StartPos: 4537,
EndPos: 4539,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
IfTrue: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 253,
EndLine: 253,
StartPos: 4542,
EndPos: 4544,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 253,
EndLine: 253,
StartPos: 4542,
EndPos: 4544,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$c"),
2020-05-12 21:16:36 +00:00
},
},
IfFalse: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 253,
EndLine: 253,
StartPos: 4547,
EndPos: 4549,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 253,
EndLine: 253,
StartPos: 4547,
EndPos: 4549,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$d"),
2020-05-12 21:16:36 +00:00
},
},
},
IfFalse: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 253,
EndLine: 253,
StartPos: 4552,
EndPos: 4554,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 253,
EndLine: 253,
StartPos: 4552,
EndPos: 4554,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$e"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 254,
EndLine: 254,
StartPos: 4556,
EndPos: 4579,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprTernary{
Node: ast.Node{
Position: &position.Position{
StartLine: 254,
EndLine: 254,
StartPos: 4556,
EndPos: 4578,
2020-05-12 21:16:36 +00:00
},
},
Condition: &ast.ExprTernary{
Node: ast.Node{
Position: &position.Position{
StartLine: 254,
EndLine: 254,
StartPos: 4556,
EndPos: 4568,
2020-05-12 21:16:36 +00:00
},
},
Condition: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 254,
EndLine: 254,
StartPos: 4556,
EndPos: 4558,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 254,
EndLine: 254,
StartPos: 4556,
EndPos: 4558,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
IfTrue: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 254,
EndLine: 254,
StartPos: 4561,
EndPos: 4563,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 254,
EndLine: 254,
StartPos: 4561,
EndPos: 4563,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
IfFalse: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 254,
EndLine: 254,
StartPos: 4566,
EndPos: 4568,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 254,
EndLine: 254,
StartPos: 4566,
EndPos: 4568,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$c"),
2020-05-12 21:16:36 +00:00
},
},
},
IfTrue: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 254,
EndLine: 254,
StartPos: 4571,
EndPos: 4573,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 254,
EndLine: 254,
StartPos: 4571,
EndPos: 4573,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$d"),
2020-05-12 21:16:36 +00:00
},
},
IfFalse: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 254,
EndLine: 254,
StartPos: 4576,
EndPos: 4578,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 254,
EndLine: 254,
StartPos: 4576,
EndPos: 4578,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$e"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 255,
EndLine: 255,
StartPos: 4580,
EndPos: 4584,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprUnaryMinus{
Node: ast.Node{
Position: &position.Position{
StartLine: 255,
EndLine: 255,
StartPos: 4580,
EndPos: 4583,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 255,
EndLine: 255,
StartPos: 4581,
EndPos: 4583,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 255,
EndLine: 255,
StartPos: 4581,
EndPos: 4583,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 256,
EndLine: 256,
StartPos: 4585,
EndPos: 4589,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprUnaryPlus{
Node: ast.Node{
Position: &position.Position{
StartLine: 256,
EndLine: 256,
StartPos: 4585,
EndPos: 4588,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 256,
EndLine: 256,
StartPos: 4586,
EndPos: 4588,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 256,
EndLine: 256,
StartPos: 4586,
EndPos: 4588,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 257,
EndLine: 257,
StartPos: 4590,
EndPos: 4594,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 257,
EndLine: 257,
StartPos: 4590,
EndPos: 4593,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 257,
EndLine: 257,
StartPos: 4591,
EndPos: 4593,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 257,
EndLine: 257,
StartPos: 4591,
EndPos: 4593,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 258,
EndLine: 258,
StartPos: 4595,
EndPos: 4601,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprYield{
Node: ast.Node{
Position: &position.Position{
StartLine: 258,
EndLine: 258,
StartPos: 4595,
EndPos: 4600,
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 259,
EndLine: 259,
StartPos: 4602,
EndPos: 4611,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprYield{
Node: ast.Node{
Position: &position.Position{
StartLine: 259,
EndLine: 259,
StartPos: 4602,
EndPos: 4610,
2020-05-12 21:16:36 +00:00
},
},
Value: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 259,
EndLine: 259,
StartPos: 4608,
EndPos: 4610,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 259,
EndLine: 259,
StartPos: 4608,
EndPos: 4610,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 260,
EndLine: 260,
StartPos: 4612,
EndPos: 4627,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprYield{
Node: ast.Node{
Position: &position.Position{
StartLine: 260,
EndLine: 260,
StartPos: 4612,
EndPos: 4626,
2020-05-12 21:16:36 +00:00
},
},
Key: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 260,
EndLine: 260,
StartPos: 4618,
EndPos: 4620,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 260,
EndLine: 260,
StartPos: 4618,
EndPos: 4620,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Value: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 260,
EndLine: 260,
StartPos: 4624,
EndPos: 4626,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 260,
EndLine: 260,
StartPos: 4624,
EndPos: 4626,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 261,
EndLine: 261,
StartPos: 4628,
EndPos: 4642,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprYieldFrom{
Node: ast.Node{
Position: &position.Position{
StartLine: 261,
EndLine: 261,
StartPos: 4628,
EndPos: 4641,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 261,
EndLine: 261,
StartPos: 4639,
EndPos: 4641,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 261,
EndLine: 261,
StartPos: 4639,
EndPos: 4641,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 263,
EndLine: 263,
StartPos: 4644,
EndPos: 4654,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprCastArray{
Node: ast.Node{
Position: &position.Position{
StartLine: 263,
EndLine: 263,
StartPos: 4644,
EndPos: 4653,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 263,
EndLine: 263,
StartPos: 4651,
EndPos: 4653,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 263,
EndLine: 263,
StartPos: 4651,
EndPos: 4653,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 264,
EndLine: 264,
StartPos: 4655,
EndPos: 4667,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprCastBool{
Node: ast.Node{
Position: &position.Position{
StartLine: 264,
EndLine: 264,
StartPos: 4655,
EndPos: 4666,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 264,
EndLine: 264,
StartPos: 4664,
EndPos: 4666,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 264,
EndLine: 264,
StartPos: 4664,
EndPos: 4666,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 265,
EndLine: 265,
StartPos: 4668,
EndPos: 4677,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprCastBool{
Node: ast.Node{
Position: &position.Position{
StartLine: 265,
EndLine: 265,
StartPos: 4668,
EndPos: 4676,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 265,
EndLine: 265,
StartPos: 4674,
EndPos: 4676,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 265,
EndLine: 265,
StartPos: 4674,
EndPos: 4676,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 266,
EndLine: 266,
StartPos: 4678,
EndPos: 4689,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprCastDouble{
Node: ast.Node{
Position: &position.Position{
StartLine: 266,
EndLine: 266,
StartPos: 4678,
EndPos: 4688,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 266,
EndLine: 266,
StartPos: 4686,
EndPos: 4688,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 266,
EndLine: 266,
StartPos: 4686,
EndPos: 4688,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 267,
EndLine: 267,
StartPos: 4690,
EndPos: 4700,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprCastDouble{
Node: ast.Node{
Position: &position.Position{
StartLine: 267,
EndLine: 267,
StartPos: 4690,
EndPos: 4699,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 267,
EndLine: 267,
StartPos: 4697,
EndPos: 4699,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 267,
EndLine: 267,
StartPos: 4697,
EndPos: 4699,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 268,
EndLine: 268,
StartPos: 4701,
EndPos: 4713,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprCastInt{
Node: ast.Node{
Position: &position.Position{
StartLine: 268,
EndLine: 268,
StartPos: 4701,
EndPos: 4712,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 268,
EndLine: 268,
StartPos: 4710,
EndPos: 4712,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 268,
EndLine: 268,
StartPos: 4710,
EndPos: 4712,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 269,
EndLine: 269,
StartPos: 4714,
EndPos: 4722,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprCastInt{
Node: ast.Node{
Position: &position.Position{
StartLine: 269,
EndLine: 269,
StartPos: 4714,
EndPos: 4721,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 269,
EndLine: 269,
StartPos: 4719,
EndPos: 4721,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 269,
EndLine: 269,
StartPos: 4719,
EndPos: 4721,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 270,
EndLine: 270,
StartPos: 4723,
EndPos: 4734,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprCastObject{
Node: ast.Node{
Position: &position.Position{
StartLine: 270,
EndLine: 270,
StartPos: 4723,
EndPos: 4733,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 270,
EndLine: 270,
StartPos: 4731,
EndPos: 4733,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 270,
EndLine: 270,
StartPos: 4731,
EndPos: 4733,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 271,
EndLine: 271,
StartPos: 4735,
EndPos: 4746,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprCastString{
Node: ast.Node{
Position: &position.Position{
StartLine: 271,
EndLine: 271,
StartPos: 4735,
EndPos: 4745,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 271,
EndLine: 271,
StartPos: 4743,
EndPos: 4745,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 271,
EndLine: 271,
StartPos: 4743,
EndPos: 4745,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 272,
EndLine: 272,
StartPos: 4747,
EndPos: 4757,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprCastUnset{
Node: ast.Node{
Position: &position.Position{
StartLine: 272,
EndLine: 272,
StartPos: 4747,
EndPos: 4756,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 272,
EndLine: 272,
StartPos: 4754,
EndPos: 4756,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 272,
EndLine: 272,
StartPos: 4754,
EndPos: 4756,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 274,
EndLine: 274,
StartPos: 4759,
EndPos: 4767,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryBitwiseAnd{
Node: ast.Node{
Position: &position.Position{
StartLine: 274,
EndLine: 274,
StartPos: 4759,
EndPos: 4766,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 274,
EndLine: 274,
StartPos: 4759,
EndPos: 4761,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 274,
EndLine: 274,
StartPos: 4759,
EndPos: 4761,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 274,
EndLine: 274,
StartPos: 4764,
EndPos: 4766,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 274,
EndLine: 274,
StartPos: 4764,
EndPos: 4766,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 275,
EndLine: 275,
StartPos: 4768,
EndPos: 4776,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryBitwiseOr{
Node: ast.Node{
Position: &position.Position{
StartLine: 275,
EndLine: 275,
StartPos: 4768,
EndPos: 4775,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 275,
EndLine: 275,
StartPos: 4768,
EndPos: 4770,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 275,
EndLine: 275,
StartPos: 4768,
EndPos: 4770,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 275,
EndLine: 275,
StartPos: 4773,
EndPos: 4775,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 275,
EndLine: 275,
StartPos: 4773,
EndPos: 4775,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 276,
EndLine: 276,
StartPos: 4777,
EndPos: 4785,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryBitwiseXor{
Node: ast.Node{
Position: &position.Position{
StartLine: 276,
EndLine: 276,
StartPos: 4777,
EndPos: 4784,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 276,
EndLine: 276,
StartPos: 4777,
EndPos: 4779,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 276,
EndLine: 276,
StartPos: 4777,
EndPos: 4779,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 276,
EndLine: 276,
StartPos: 4782,
EndPos: 4784,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 276,
EndLine: 276,
StartPos: 4782,
EndPos: 4784,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 277,
EndLine: 277,
StartPos: 4786,
EndPos: 4795,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryBooleanAnd{
Node: ast.Node{
Position: &position.Position{
StartLine: 277,
EndLine: 277,
StartPos: 4786,
EndPos: 4794,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 277,
EndLine: 277,
StartPos: 4786,
EndPos: 4788,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 277,
EndLine: 277,
StartPos: 4786,
EndPos: 4788,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 277,
EndLine: 277,
StartPos: 4792,
EndPos: 4794,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 277,
EndLine: 277,
StartPos: 4792,
EndPos: 4794,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 278,
EndLine: 278,
StartPos: 4796,
EndPos: 4805,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryBooleanOr{
Node: ast.Node{
Position: &position.Position{
StartLine: 278,
EndLine: 278,
StartPos: 4796,
EndPos: 4804,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 278,
EndLine: 278,
StartPos: 4796,
EndPos: 4798,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 278,
EndLine: 278,
StartPos: 4796,
EndPos: 4798,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 278,
EndLine: 278,
StartPos: 4802,
EndPos: 4804,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 278,
EndLine: 278,
StartPos: 4802,
EndPos: 4804,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 279,
EndLine: 279,
StartPos: 4806,
EndPos: 4815,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryCoalesce{
Node: ast.Node{
Position: &position.Position{
StartLine: 279,
EndLine: 279,
StartPos: 4806,
EndPos: 4814,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 279,
EndLine: 279,
StartPos: 4806,
EndPos: 4808,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 279,
EndLine: 279,
StartPos: 4806,
EndPos: 4808,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 279,
EndLine: 279,
StartPos: 4812,
EndPos: 4814,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 279,
EndLine: 279,
StartPos: 4812,
EndPos: 4814,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 280,
EndLine: 280,
StartPos: 4816,
EndPos: 4824,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryConcat{
Node: ast.Node{
Position: &position.Position{
StartLine: 280,
EndLine: 280,
StartPos: 4816,
EndPos: 4823,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 280,
EndLine: 280,
StartPos: 4816,
EndPos: 4818,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 280,
EndLine: 280,
StartPos: 4816,
EndPos: 4818,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 280,
EndLine: 280,
StartPos: 4821,
EndPos: 4823,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 280,
EndLine: 280,
StartPos: 4821,
EndPos: 4823,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 281,
EndLine: 281,
StartPos: 4825,
EndPos: 4833,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryDiv{
Node: ast.Node{
Position: &position.Position{
StartLine: 281,
EndLine: 281,
StartPos: 4825,
EndPos: 4832,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 281,
EndLine: 281,
StartPos: 4825,
EndPos: 4827,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 281,
EndLine: 281,
StartPos: 4825,
EndPos: 4827,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 281,
EndLine: 281,
StartPos: 4830,
EndPos: 4832,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 281,
EndLine: 281,
StartPos: 4830,
EndPos: 4832,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 282,
EndLine: 282,
StartPos: 4834,
EndPos: 4843,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryEqual{
Node: ast.Node{
Position: &position.Position{
StartLine: 282,
EndLine: 282,
StartPos: 4834,
EndPos: 4842,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 282,
EndLine: 282,
StartPos: 4834,
EndPos: 4836,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 282,
EndLine: 282,
StartPos: 4834,
EndPos: 4836,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 282,
EndLine: 282,
StartPos: 4840,
EndPos: 4842,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 282,
EndLine: 282,
StartPos: 4840,
EndPos: 4842,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 283,
EndLine: 283,
StartPos: 4844,
EndPos: 4853,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryGreaterOrEqual{
Node: ast.Node{
Position: &position.Position{
StartLine: 283,
EndLine: 283,
StartPos: 4844,
EndPos: 4852,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 283,
EndLine: 283,
StartPos: 4844,
EndPos: 4846,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 283,
EndLine: 283,
StartPos: 4844,
EndPos: 4846,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 283,
EndLine: 283,
StartPos: 4850,
EndPos: 4852,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 283,
EndLine: 283,
StartPos: 4850,
EndPos: 4852,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 284,
EndLine: 284,
StartPos: 4854,
EndPos: 4862,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryGreater{
Node: ast.Node{
Position: &position.Position{
StartLine: 284,
EndLine: 284,
StartPos: 4854,
EndPos: 4861,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 284,
EndLine: 284,
StartPos: 4854,
EndPos: 4856,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 284,
EndLine: 284,
StartPos: 4854,
EndPos: 4856,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 284,
EndLine: 284,
StartPos: 4859,
EndPos: 4861,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 284,
EndLine: 284,
StartPos: 4859,
EndPos: 4861,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 285,
EndLine: 285,
StartPos: 4863,
EndPos: 4873,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryIdentical{
Node: ast.Node{
Position: &position.Position{
StartLine: 285,
EndLine: 285,
StartPos: 4863,
EndPos: 4872,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 285,
EndLine: 285,
StartPos: 4863,
EndPos: 4865,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 285,
EndLine: 285,
StartPos: 4863,
EndPos: 4865,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 285,
EndLine: 285,
StartPos: 4870,
EndPos: 4872,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 285,
EndLine: 285,
StartPos: 4870,
EndPos: 4872,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 286,
EndLine: 286,
StartPos: 4874,
EndPos: 4884,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryLogicalAnd{
Node: ast.Node{
Position: &position.Position{
StartLine: 286,
EndLine: 286,
StartPos: 4874,
EndPos: 4883,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 286,
EndLine: 286,
StartPos: 4874,
EndPos: 4876,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 286,
EndLine: 286,
StartPos: 4874,
EndPos: 4876,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 286,
EndLine: 286,
StartPos: 4881,
EndPos: 4883,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 286,
EndLine: 286,
StartPos: 4881,
EndPos: 4883,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 287,
EndLine: 287,
StartPos: 4885,
EndPos: 4894,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryLogicalOr{
Node: ast.Node{
Position: &position.Position{
StartLine: 287,
EndLine: 287,
StartPos: 4885,
EndPos: 4893,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 287,
EndLine: 287,
StartPos: 4885,
EndPos: 4887,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 287,
EndLine: 287,
StartPos: 4885,
EndPos: 4887,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 287,
EndLine: 287,
StartPos: 4891,
EndPos: 4893,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 287,
EndLine: 287,
StartPos: 4891,
EndPos: 4893,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 288,
EndLine: 288,
StartPos: 4895,
EndPos: 4905,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryLogicalXor{
Node: ast.Node{
Position: &position.Position{
StartLine: 288,
EndLine: 288,
StartPos: 4895,
EndPos: 4904,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 288,
EndLine: 288,
StartPos: 4895,
EndPos: 4897,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 288,
EndLine: 288,
StartPos: 4895,
EndPos: 4897,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 288,
EndLine: 288,
StartPos: 4902,
EndPos: 4904,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 288,
EndLine: 288,
StartPos: 4902,
EndPos: 4904,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 289,
EndLine: 289,
StartPos: 4906,
EndPos: 4914,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryMinus{
Node: ast.Node{
Position: &position.Position{
StartLine: 289,
EndLine: 289,
StartPos: 4906,
EndPos: 4913,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 289,
EndLine: 289,
StartPos: 4906,
EndPos: 4908,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 289,
EndLine: 289,
StartPos: 4906,
EndPos: 4908,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 289,
EndLine: 289,
StartPos: 4911,
EndPos: 4913,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 289,
EndLine: 289,
StartPos: 4911,
EndPos: 4913,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 290,
EndLine: 290,
StartPos: 4915,
EndPos: 4923,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryMod{
Node: ast.Node{
Position: &position.Position{
StartLine: 290,
EndLine: 290,
StartPos: 4915,
EndPos: 4922,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 290,
EndLine: 290,
StartPos: 4915,
EndPos: 4917,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 290,
EndLine: 290,
StartPos: 4915,
EndPos: 4917,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 290,
EndLine: 290,
StartPos: 4920,
EndPos: 4922,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 290,
EndLine: 290,
StartPos: 4920,
EndPos: 4922,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 291,
EndLine: 291,
StartPos: 4924,
EndPos: 4932,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryMul{
Node: ast.Node{
Position: &position.Position{
StartLine: 291,
EndLine: 291,
StartPos: 4924,
EndPos: 4931,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 291,
EndLine: 291,
StartPos: 4924,
EndPos: 4926,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 291,
EndLine: 291,
StartPos: 4924,
EndPos: 4926,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 291,
EndLine: 291,
StartPos: 4929,
EndPos: 4931,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 291,
EndLine: 291,
StartPos: 4929,
EndPos: 4931,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 292,
EndLine: 292,
StartPos: 4933,
EndPos: 4942,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryNotEqual{
Node: ast.Node{
Position: &position.Position{
StartLine: 292,
EndLine: 292,
StartPos: 4933,
EndPos: 4941,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 292,
EndLine: 292,
StartPos: 4933,
EndPos: 4935,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 292,
EndLine: 292,
StartPos: 4933,
EndPos: 4935,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 292,
EndLine: 292,
StartPos: 4939,
EndPos: 4941,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 292,
EndLine: 292,
StartPos: 4939,
EndPos: 4941,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 293,
EndLine: 293,
StartPos: 4943,
EndPos: 4953,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryNotIdentical{
Node: ast.Node{
Position: &position.Position{
StartLine: 293,
EndLine: 293,
StartPos: 4943,
EndPos: 4952,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 293,
EndLine: 293,
StartPos: 4943,
EndPos: 4945,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 293,
EndLine: 293,
StartPos: 4943,
EndPos: 4945,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 293,
EndLine: 293,
StartPos: 4950,
EndPos: 4952,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 293,
EndLine: 293,
StartPos: 4950,
EndPos: 4952,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 294,
EndLine: 294,
StartPos: 4954,
EndPos: 4962,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryPlus{
Node: ast.Node{
Position: &position.Position{
StartLine: 294,
EndLine: 294,
StartPos: 4954,
EndPos: 4961,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 294,
EndLine: 294,
StartPos: 4954,
EndPos: 4956,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 294,
EndLine: 294,
StartPos: 4954,
EndPos: 4956,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 294,
EndLine: 294,
StartPos: 4959,
EndPos: 4961,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 294,
EndLine: 294,
StartPos: 4959,
EndPos: 4961,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 295,
EndLine: 295,
StartPos: 4963,
EndPos: 4972,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryPow{
Node: ast.Node{
Position: &position.Position{
StartLine: 295,
EndLine: 295,
StartPos: 4963,
EndPos: 4971,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 295,
EndLine: 295,
StartPos: 4963,
EndPos: 4965,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 295,
EndLine: 295,
StartPos: 4963,
EndPos: 4965,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 295,
EndLine: 295,
StartPos: 4969,
EndPos: 4971,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 295,
EndLine: 295,
StartPos: 4969,
EndPos: 4971,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 296,
EndLine: 296,
StartPos: 4973,
EndPos: 4982,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryShiftLeft{
Node: ast.Node{
Position: &position.Position{
StartLine: 296,
EndLine: 296,
StartPos: 4973,
EndPos: 4981,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 296,
EndLine: 296,
StartPos: 4973,
EndPos: 4975,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 296,
EndLine: 296,
StartPos: 4973,
EndPos: 4975,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 296,
EndLine: 296,
StartPos: 4979,
EndPos: 4981,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 296,
EndLine: 296,
StartPos: 4979,
EndPos: 4981,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 297,
EndLine: 297,
StartPos: 4983,
EndPos: 4992,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinaryShiftRight{
Node: ast.Node{
Position: &position.Position{
StartLine: 297,
EndLine: 297,
StartPos: 4983,
EndPos: 4991,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 297,
EndLine: 297,
StartPos: 4983,
EndPos: 4985,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 297,
EndLine: 297,
StartPos: 4983,
EndPos: 4985,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 297,
EndLine: 297,
StartPos: 4989,
EndPos: 4991,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 297,
EndLine: 297,
StartPos: 4989,
EndPos: 4991,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 298,
EndLine: 298,
StartPos: 4993,
EndPos: 5002,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinarySmallerOrEqual{
Node: ast.Node{
Position: &position.Position{
StartLine: 298,
EndLine: 298,
StartPos: 4993,
EndPos: 5001,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 298,
EndLine: 298,
StartPos: 4993,
EndPos: 4995,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 298,
EndLine: 298,
StartPos: 4993,
EndPos: 4995,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 298,
EndLine: 298,
StartPos: 4999,
EndPos: 5001,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 298,
EndLine: 298,
StartPos: 4999,
EndPos: 5001,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 299,
EndLine: 299,
StartPos: 5003,
EndPos: 5011,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinarySmaller{
Node: ast.Node{
Position: &position.Position{
StartLine: 299,
EndLine: 299,
StartPos: 5003,
EndPos: 5010,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 299,
EndLine: 299,
StartPos: 5003,
EndPos: 5005,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 299,
EndLine: 299,
StartPos: 5003,
EndPos: 5005,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 299,
EndLine: 299,
StartPos: 5008,
EndPos: 5010,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 299,
EndLine: 299,
StartPos: 5008,
EndPos: 5010,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 300,
EndLine: 300,
StartPos: 5012,
EndPos: 5022,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprBinarySpaceship{
Node: ast.Node{
Position: &position.Position{
StartLine: 300,
EndLine: 300,
StartPos: 5012,
EndPos: 5021,
2020-05-12 21:16:36 +00:00
},
},
Left: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 300,
EndLine: 300,
StartPos: 5012,
EndPos: 5014,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 300,
EndLine: 300,
StartPos: 5012,
EndPos: 5014,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Right: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 300,
EndLine: 300,
StartPos: 5019,
EndPos: 5021,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 300,
EndLine: 300,
StartPos: 5019,
EndPos: 5021,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 302,
EndLine: 302,
StartPos: 5024,
EndPos: 5033,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprAssignReference{
Node: ast.Node{
Position: &position.Position{
StartLine: 302,
EndLine: 302,
StartPos: 5024,
EndPos: 5032,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 302,
EndLine: 302,
StartPos: 5024,
EndPos: 5026,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 302,
EndLine: 302,
StartPos: 5024,
EndPos: 5026,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 302,
EndLine: 302,
StartPos: 5030,
EndPos: 5032,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 302,
EndLine: 302,
StartPos: 5030,
EndPos: 5032,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 303,
EndLine: 303,
StartPos: 5034,
EndPos: 5042,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprAssign{
Node: ast.Node{
Position: &position.Position{
StartLine: 303,
EndLine: 303,
StartPos: 5034,
EndPos: 5041,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 303,
EndLine: 303,
StartPos: 5034,
EndPos: 5036,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 303,
EndLine: 303,
StartPos: 5034,
EndPos: 5036,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 303,
EndLine: 303,
StartPos: 5039,
EndPos: 5041,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 303,
EndLine: 303,
StartPos: 5039,
EndPos: 5041,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 304,
EndLine: 304,
StartPos: 5043,
EndPos: 5052,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprAssignBitwiseAnd{
Node: ast.Node{
Position: &position.Position{
StartLine: 304,
EndLine: 304,
StartPos: 5043,
EndPos: 5051,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 304,
EndLine: 304,
StartPos: 5043,
EndPos: 5045,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 304,
EndLine: 304,
StartPos: 5043,
EndPos: 5045,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 304,
EndLine: 304,
StartPos: 5049,
EndPos: 5051,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 304,
EndLine: 304,
StartPos: 5049,
EndPos: 5051,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 305,
EndLine: 305,
StartPos: 5053,
EndPos: 5062,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprAssignBitwiseOr{
Node: ast.Node{
Position: &position.Position{
StartLine: 305,
EndLine: 305,
StartPos: 5053,
EndPos: 5061,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 305,
EndLine: 305,
StartPos: 5053,
EndPos: 5055,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 305,
EndLine: 305,
StartPos: 5053,
EndPos: 5055,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 305,
EndLine: 305,
StartPos: 5059,
EndPos: 5061,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 305,
EndLine: 305,
StartPos: 5059,
EndPos: 5061,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 306,
EndLine: 306,
StartPos: 5063,
EndPos: 5072,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprAssignBitwiseXor{
Node: ast.Node{
Position: &position.Position{
StartLine: 306,
EndLine: 306,
StartPos: 5063,
EndPos: 5071,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 306,
EndLine: 306,
StartPos: 5063,
EndPos: 5065,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 306,
EndLine: 306,
StartPos: 5063,
EndPos: 5065,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 306,
EndLine: 306,
StartPos: 5069,
EndPos: 5071,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 306,
EndLine: 306,
StartPos: 5069,
EndPos: 5071,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 307,
EndLine: 307,
StartPos: 5073,
EndPos: 5082,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprAssignConcat{
Node: ast.Node{
Position: &position.Position{
StartLine: 307,
EndLine: 307,
StartPos: 5073,
EndPos: 5081,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 307,
EndLine: 307,
StartPos: 5073,
EndPos: 5075,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 307,
EndLine: 307,
StartPos: 5073,
EndPos: 5075,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 307,
EndLine: 307,
StartPos: 5079,
EndPos: 5081,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 307,
EndLine: 307,
StartPos: 5079,
EndPos: 5081,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 308,
EndLine: 308,
StartPos: 5083,
EndPos: 5092,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprAssignDiv{
Node: ast.Node{
Position: &position.Position{
StartLine: 308,
EndLine: 308,
StartPos: 5083,
EndPos: 5091,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 308,
EndLine: 308,
StartPos: 5083,
EndPos: 5085,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 308,
EndLine: 308,
StartPos: 5083,
EndPos: 5085,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 308,
EndLine: 308,
StartPos: 5089,
EndPos: 5091,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 308,
EndLine: 308,
StartPos: 5089,
EndPos: 5091,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 309,
EndLine: 309,
StartPos: 5093,
EndPos: 5102,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprAssignMinus{
Node: ast.Node{
Position: &position.Position{
StartLine: 309,
EndLine: 309,
StartPos: 5093,
EndPos: 5101,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 309,
EndLine: 309,
StartPos: 5093,
EndPos: 5095,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 309,
EndLine: 309,
StartPos: 5093,
EndPos: 5095,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 309,
EndLine: 309,
StartPos: 5099,
EndPos: 5101,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 309,
EndLine: 309,
StartPos: 5099,
EndPos: 5101,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 310,
EndLine: 310,
StartPos: 5103,
EndPos: 5112,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprAssignMod{
Node: ast.Node{
Position: &position.Position{
StartLine: 310,
EndLine: 310,
StartPos: 5103,
EndPos: 5111,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 310,
EndLine: 310,
StartPos: 5103,
EndPos: 5105,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 310,
EndLine: 310,
StartPos: 5103,
EndPos: 5105,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 310,
EndLine: 310,
StartPos: 5109,
EndPos: 5111,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 310,
EndLine: 310,
StartPos: 5109,
EndPos: 5111,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 311,
EndLine: 311,
StartPos: 5113,
EndPos: 5122,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprAssignMul{
Node: ast.Node{
Position: &position.Position{
StartLine: 311,
EndLine: 311,
StartPos: 5113,
EndPos: 5121,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 311,
EndLine: 311,
StartPos: 5113,
EndPos: 5115,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 311,
EndLine: 311,
StartPos: 5113,
EndPos: 5115,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 311,
EndLine: 311,
StartPos: 5119,
EndPos: 5121,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 311,
EndLine: 311,
StartPos: 5119,
EndPos: 5121,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 312,
EndLine: 312,
StartPos: 5123,
EndPos: 5132,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprAssignPlus{
Node: ast.Node{
Position: &position.Position{
StartLine: 312,
EndLine: 312,
StartPos: 5123,
EndPos: 5131,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 312,
EndLine: 312,
StartPos: 5123,
EndPos: 5125,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 312,
EndLine: 312,
StartPos: 5123,
EndPos: 5125,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 312,
EndLine: 312,
StartPos: 5129,
EndPos: 5131,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 312,
EndLine: 312,
StartPos: 5129,
EndPos: 5131,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 313,
EndLine: 313,
StartPos: 5133,
EndPos: 5143,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprAssignPow{
Node: ast.Node{
Position: &position.Position{
StartLine: 313,
EndLine: 313,
StartPos: 5133,
EndPos: 5142,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 313,
EndLine: 313,
StartPos: 5133,
EndPos: 5135,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 313,
EndLine: 313,
StartPos: 5133,
EndPos: 5135,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 313,
EndLine: 313,
StartPos: 5140,
EndPos: 5142,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 313,
EndLine: 313,
StartPos: 5140,
EndPos: 5142,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 314,
EndLine: 314,
StartPos: 5144,
EndPos: 5154,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprAssignShiftLeft{
Node: ast.Node{
Position: &position.Position{
StartLine: 314,
EndLine: 314,
StartPos: 5144,
EndPos: 5153,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 314,
EndLine: 314,
StartPos: 5144,
EndPos: 5146,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 314,
EndLine: 314,
StartPos: 5144,
EndPos: 5146,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 314,
EndLine: 314,
StartPos: 5151,
EndPos: 5153,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 314,
EndLine: 314,
StartPos: 5151,
EndPos: 5153,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 315,
EndLine: 315,
StartPos: 5155,
EndPos: 5165,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprAssignShiftRight{
Node: ast.Node{
Position: &position.Position{
StartLine: 315,
EndLine: 315,
StartPos: 5155,
EndPos: 5164,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 315,
EndLine: 315,
StartPos: 5155,
EndPos: 5157,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 315,
EndLine: 315,
StartPos: 5155,
EndPos: 5157,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 315,
EndLine: 315,
StartPos: 5162,
EndPos: 5164,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 315,
EndLine: 315,
StartPos: 5162,
EndPos: 5164,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 317,
EndLine: 317,
StartPos: 5167,
EndPos: 5206,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 317,
EndLine: 317,
StartPos: 5173,
EndPos: 5176,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Stmts: []ast.Vertex{
&ast.StmtClassMethod{
Node: ast.Node{
Position: &position.Position{
StartLine: 317,
EndLine: 317,
StartPos: 5178,
EndPos: 5204,
2020-05-12 21:16:36 +00:00
},
},
MethodName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 317,
EndLine: 317,
StartPos: 5194,
EndPos: 5199,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("class"),
},
Modifiers: []ast.Vertex{
&ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 317,
EndLine: 317,
StartPos: 5178,
EndPos: 5184,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("public"),
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 317,
EndLine: 317,
StartPos: 5202,
EndPos: 5204,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 318,
EndLine: 318,
StartPos: 5207,
EndPos: 5218,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprFunctionCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 318,
EndLine: 318,
StartPos: 5207,
EndPos: 5217,
2020-05-12 21:16:36 +00:00
},
},
Function: &ast.NameFullyQualified{
Node: ast.Node{
Position: &position.Position{
StartLine: 318,
EndLine: 318,
StartPos: 5207,
EndPos: 5215,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 318,
EndLine: 318,
StartPos: 5208,
EndPos: 5211,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 318,
EndLine: 318,
StartPos: 5211,
EndPos: 5215,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
},
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 318,
EndLine: 318,
StartPos: 5215,
EndPos: 5217,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtFunction{
Node: ast.Node{
Position: &position.Position{
StartLine: 320,
EndLine: 326,
StartPos: 5220,
EndPos: 5328,
2020-05-12 21:16:36 +00:00
},
},
FunctionName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 320,
EndLine: 320,
StartPos: 5229,
EndPos: 5232,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Params: []ast.Vertex{
&ast.Parameter{
Node: ast.Node{
Position: &position.Position{
StartLine: 320,
EndLine: 320,
StartPos: 5233,
EndPos: 5236,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.Reference{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 320,
EndLine: 320,
StartPos: 5233,
EndPos: 5236,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 320,
EndLine: 320,
StartPos: 5234,
EndPos: 5236,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 320,
EndLine: 320,
StartPos: 5234,
EndPos: 5236,
},
},
Value: []byte("$a"),
},
2020-05-12 21:16:36 +00:00
},
},
},
&ast.Parameter{
Node: ast.Node{
Position: &position.Position{
StartLine: 320,
EndLine: 320,
StartPos: 5238,
EndPos: 5243,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.Variadic{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 320,
EndLine: 320,
StartPos: 5238,
EndPos: 5243,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 320,
EndLine: 320,
StartPos: 5241,
EndPos: 5243,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 320,
EndLine: 320,
StartPos: 5241,
EndPos: 5243,
},
},
Value: []byte("$b"),
},
2020-05-12 21:16:36 +00:00
},
},
},
},
Stmts: []ast.Vertex{
&ast.StmtFunction{
Node: ast.Node{
Position: &position.Position{
StartLine: 322,
EndLine: 322,
StartPos: 5252,
EndPos: 5269,
2020-05-12 21:16:36 +00:00
},
},
FunctionName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 322,
EndLine: 322,
StartPos: 5261,
EndPos: 5264,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
Stmts: []ast.Vertex{},
},
&ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 323,
EndLine: 323,
StartPos: 5274,
EndPos: 5286,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 323,
EndLine: 323,
StartPos: 5280,
EndPos: 5283,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Baz"),
},
Stmts: []ast.Vertex{},
},
&ast.StmtTrait{
Node: ast.Node{
Position: &position.Position{
StartLine: 324,
EndLine: 324,
StartPos: 5291,
EndPos: 5303,
2020-05-12 21:16:36 +00:00
},
},
TraitName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 324,
EndLine: 324,
StartPos: 5297,
EndPos: 5301,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Quux"),
},
Stmts: []ast.Vertex{},
},
&ast.StmtInterface{
Node: ast.Node{
Position: &position.Position{
StartLine: 325,
EndLine: 325,
StartPos: 5308,
EndPos: 5326,
2020-05-12 21:16:36 +00:00
},
},
InterfaceName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 325,
EndLine: 325,
StartPos: 5318,
EndPos: 5323,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Quuux"),
},
Stmts: []ast.Vertex{},
},
},
},
&ast.StmtFunction{
Node: ast.Node{
Position: &position.Position{
StartLine: 328,
EndLine: 328,
StartPos: 5330,
EndPos: 5373,
2020-05-12 21:16:36 +00:00
},
},
FunctionName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 328,
EndLine: 328,
StartPos: 5339,
EndPos: 5342,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Params: []ast.Vertex{
&ast.Parameter{
Node: ast.Node{
Position: &position.Position{
StartLine: 328,
EndLine: 328,
StartPos: 5343,
EndPos: 5350,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.Reference{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 328,
EndLine: 328,
StartPos: 5343,
EndPos: 5346,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 328,
EndLine: 328,
StartPos: 5344,
EndPos: 5346,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 328,
EndLine: 328,
StartPos: 5344,
EndPos: 5346,
},
},
Value: []byte("$a"),
},
2020-05-12 21:16:36 +00:00
},
},
DefaultValue: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 328,
EndLine: 328,
StartPos: 5349,
EndPos: 5350,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
&ast.Parameter{
Node: ast.Node{
Position: &position.Position{
StartLine: 328,
EndLine: 328,
StartPos: 5352,
EndPos: 5361,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.Variadic{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 328,
EndLine: 328,
StartPos: 5352,
EndPos: 5357,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
2020-05-12 21:16:36 +00:00
Node: ast.Node{
Position: &position.Position{
StartLine: 328,
EndLine: 328,
StartPos: 5355,
EndPos: 5357,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 328,
EndLine: 328,
StartPos: 5355,
EndPos: 5357,
},
},
Value: []byte("$b"),
},
2020-05-12 21:16:36 +00:00
},
},
DefaultValue: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 328,
EndLine: 328,
StartPos: 5360,
EndPos: 5361,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
&ast.Parameter{
Node: ast.Node{
Position: &position.Position{
StartLine: 328,
EndLine: 328,
StartPos: 5363,
EndPos: 5369,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 328,
EndLine: 328,
StartPos: 5363,
EndPos: 5365,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 328,
EndLine: 328,
StartPos: 5363,
EndPos: 5365,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$c"),
2020-05-12 21:16:36 +00:00
},
},
DefaultValue: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 328,
EndLine: 328,
StartPos: 5368,
EndPos: 5369,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
},
Stmts: []ast.Vertex{},
},
&ast.StmtFunction{
Node: ast.Node{
Position: &position.Position{
StartLine: 329,
EndLine: 329,
StartPos: 5374,
EndPos: 5412,
2020-05-12 21:16:36 +00:00
},
},
FunctionName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 329,
EndLine: 329,
StartPos: 5383,
EndPos: 5386,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Params: []ast.Vertex{
&ast.Parameter{
Node: ast.Node{
Position: &position.Position{
StartLine: 329,
EndLine: 329,
StartPos: 5387,
EndPos: 5395,
2020-05-12 21:16:36 +00:00
},
},
Type: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 329,
EndLine: 329,
StartPos: 5387,
EndPos: 5392,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("array"),
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 329,
EndLine: 329,
StartPos: 5393,
EndPos: 5395,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 329,
EndLine: 329,
StartPos: 5393,
EndPos: 5395,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
&ast.Parameter{
Node: ast.Node{
Position: &position.Position{
StartLine: 329,
EndLine: 329,
StartPos: 5397,
EndPos: 5408,
2020-05-12 21:16:36 +00:00
},
},
Type: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 329,
EndLine: 329,
StartPos: 5397,
EndPos: 5405,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("callable"),
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 329,
EndLine: 329,
StartPos: 5406,
EndPos: 5408,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 329,
EndLine: 329,
StartPos: 5406,
EndPos: 5408,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
Stmts: []ast.Vertex{},
},
&ast.StmtClass{
Node: ast.Node{
Position: &position.Position{
StartLine: 330,
EndLine: 330,
StartPos: 5413,
EndPos: 5515,
2020-05-12 21:16:36 +00:00
},
},
ClassName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 330,
EndLine: 330,
StartPos: 5434,
EndPos: 5437,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
Modifiers: []ast.Vertex{
&ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 330,
EndLine: 330,
StartPos: 5413,
EndPos: 5421,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("abstract"),
},
&ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 330,
EndLine: 330,
StartPos: 5422,
EndPos: 5427,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("final"),
},
},
Stmts: []ast.Vertex{
&ast.StmtClassMethod{
Node: ast.Node{
Position: &position.Position{
StartLine: 330,
EndLine: 330,
StartPos: 5440,
EndPos: 5481,
2020-05-12 21:16:36 +00:00
},
},
MethodName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 330,
EndLine: 330,
StartPos: 5475,
EndPos: 5478,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
Modifiers: []ast.Vertex{
&ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 330,
EndLine: 330,
StartPos: 5440,
EndPos: 5448,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("abstract"),
},
&ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 330,
EndLine: 330,
StartPos: 5449,
EndPos: 5458,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("protected"),
},
&ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 330,
EndLine: 330,
StartPos: 5459,
EndPos: 5465,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("static"),
},
},
Stmt: &ast.StmtNop{
Node: ast.Node{
Position: &position.Position{
StartLine: 330,
EndLine: 330,
StartPos: 5480,
EndPos: 5481,
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtClassMethod{
Node: ast.Node{
Position: &position.Position{
StartLine: 330,
EndLine: 330,
StartPos: 5482,
EndPos: 5513,
2020-05-12 21:16:36 +00:00
},
},
MethodName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 330,
EndLine: 330,
StartPos: 5505,
EndPos: 5508,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("baz"),
},
Modifiers: []ast.Vertex{
&ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 330,
EndLine: 330,
StartPos: 5482,
EndPos: 5487,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("final"),
},
&ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 330,
EndLine: 330,
StartPos: 5488,
EndPos: 5495,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("private"),
},
},
Stmt: &ast.StmtStmtList{
Node: ast.Node{
Position: &position.Position{
StartLine: 330,
EndLine: 330,
StartPos: 5511,
EndPos: 5513,
2020-05-12 21:16:36 +00:00
},
},
Stmts: []ast.Vertex{},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 332,
EndLine: 332,
2020-08-09 20:40:55 +00:00
StartPos: 5517,
EndPos: 5532,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprPropertyFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 332,
EndLine: 332,
2020-08-09 20:40:55 +00:00
StartPos: 5517,
EndPos: 5531,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprNew{
Node: ast.Node{
Position: &position.Position{
StartLine: 332,
EndLine: 332,
StartPos: 5518,
EndPos: 5525,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 332,
EndLine: 332,
StartPos: 5522,
EndPos: 5525,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 332,
EndLine: 332,
StartPos: 5522,
EndPos: 5525,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
},
},
},
Property: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 332,
EndLine: 332,
StartPos: 5528,
EndPos: 5531,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("bar"),
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 333,
EndLine: 333,
2020-08-09 20:40:55 +00:00
StartPos: 5533,
EndPos: 5545,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprFunctionCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 333,
EndLine: 333,
2020-08-09 20:40:55 +00:00
StartPos: 5533,
EndPos: 5544,
2020-05-12 21:16:36 +00:00
},
},
Function: &ast.ExprNew{
Node: ast.Node{
Position: &position.Position{
StartLine: 333,
EndLine: 333,
StartPos: 5534,
EndPos: 5541,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 333,
EndLine: 333,
StartPos: 5538,
EndPos: 5541,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 333,
EndLine: 333,
StartPos: 5538,
EndPos: 5541,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
},
},
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 333,
EndLine: 333,
StartPos: 5542,
EndPos: 5544,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 334,
EndLine: 334,
StartPos: 5546,
EndPos: 5558,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprFunctionCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 334,
EndLine: 334,
StartPos: 5546,
EndPos: 5557,
2020-05-12 21:16:36 +00:00
},
},
Function: &ast.ExprArrayDimFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 334,
EndLine: 334,
StartPos: 5546,
EndPos: 5555,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprShortArray{
Node: ast.Node{
Position: &position.Position{
StartLine: 334,
EndLine: 334,
StartPos: 5546,
EndPos: 5552,
2020-05-12 21:16:36 +00:00
},
},
Items: []ast.Vertex{
&ast.ExprArrayItem{
Node: ast.Node{
Position: &position.Position{
StartLine: 334,
EndLine: 334,
StartPos: 5547,
EndPos: 5551,
2020-05-12 21:16:36 +00:00
},
},
Val: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 334,
EndLine: 334,
StartPos: 5547,
EndPos: 5551,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 334,
EndLine: 334,
StartPos: 5547,
EndPos: 5551,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$foo"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
Dim: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 334,
EndLine: 334,
StartPos: 5553,
EndPos: 5554,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("0"),
},
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 334,
EndLine: 334,
StartPos: 5555,
EndPos: 5557,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 335,
EndLine: 335,
StartPos: 5559,
EndPos: 5568,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprFunctionCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 335,
EndLine: 335,
StartPos: 5559,
EndPos: 5567,
2020-05-12 21:16:36 +00:00
},
},
Function: &ast.ExprArrayDimFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 335,
EndLine: 335,
StartPos: 5559,
EndPos: 5565,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprConstFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 335,
EndLine: 335,
StartPos: 5559,
EndPos: 5562,
2020-05-12 21:16:36 +00:00
},
},
Const: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 335,
EndLine: 335,
StartPos: 5559,
EndPos: 5562,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 335,
EndLine: 335,
StartPos: 5559,
EndPos: 5562,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
},
},
},
Dim: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 335,
EndLine: 335,
StartPos: 5563,
EndPos: 5564,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 335,
EndLine: 335,
StartPos: 5565,
EndPos: 5567,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 336,
EndLine: 336,
StartPos: 5569,
EndPos: 5577,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprFunctionCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 336,
EndLine: 336,
StartPos: 5569,
EndPos: 5576,
2020-05-12 21:16:36 +00:00
},
},
Function: &ast.ScalarString{
Node: ast.Node{
Position: &position.Position{
StartLine: 336,
EndLine: 336,
StartPos: 5569,
EndPos: 5574,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("\"foo\""),
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 336,
EndLine: 336,
StartPos: 5574,
EndPos: 5576,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 337,
EndLine: 337,
StartPos: 5578,
EndPos: 5590,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprFunctionCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 337,
EndLine: 337,
StartPos: 5578,
EndPos: 5589,
2020-05-12 21:16:36 +00:00
},
},
Function: &ast.ExprArrayDimFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 337,
EndLine: 337,
StartPos: 5578,
EndPos: 5587,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprShortArray{
Node: ast.Node{
Position: &position.Position{
StartLine: 337,
EndLine: 337,
StartPos: 5578,
EndPos: 5581,
2020-05-12 21:16:36 +00:00
},
},
Items: []ast.Vertex{
&ast.ExprArrayItem{
Node: ast.Node{
Position: &position.Position{
StartLine: 337,
EndLine: 337,
StartPos: 5579,
EndPos: 5580,
2020-05-12 21:16:36 +00:00
},
},
Val: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 337,
EndLine: 337,
StartPos: 5579,
EndPos: 5580,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
},
},
},
Dim: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 337,
EndLine: 337,
StartPos: 5582,
EndPos: 5586,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 337,
EndLine: 337,
StartPos: 5582,
EndPos: 5586,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$foo"),
2020-05-12 21:16:36 +00:00
},
},
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 337,
EndLine: 337,
StartPos: 5587,
EndPos: 5589,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 338,
EndLine: 338,
StartPos: 5591,
EndPos: 5600,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 338,
EndLine: 338,
StartPos: 5591,
EndPos: 5599,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.ExprFunctionCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 338,
EndLine: 338,
StartPos: 5593,
EndPos: 5598,
2020-05-12 21:16:36 +00:00
},
},
Function: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 338,
EndLine: 338,
StartPos: 5593,
EndPos: 5596,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 338,
EndLine: 338,
StartPos: 5593,
EndPos: 5596,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("foo"),
},
},
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 338,
EndLine: 338,
StartPos: 5596,
EndPos: 5598,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 340,
EndLine: 340,
StartPos: 5602,
EndPos: 5614,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprStaticCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 340,
EndLine: 340,
StartPos: 5602,
EndPos: 5613,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 340,
EndLine: 340,
StartPos: 5602,
EndPos: 5605,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 340,
EndLine: 340,
StartPos: 5602,
EndPos: 5605,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
},
},
Call: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 340,
EndLine: 340,
StartPos: 5607,
EndPos: 5611,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 340,
EndLine: 340,
StartPos: 5607,
EndPos: 5611,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$bar"),
2020-05-12 21:16:36 +00:00
},
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 340,
EndLine: 340,
StartPos: 5611,
EndPos: 5613,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 341,
EndLine: 341,
StartPos: 5615,
EndPos: 5632,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprStaticCall{
Node: ast.Node{
Position: &position.Position{
StartLine: 341,
EndLine: 341,
StartPos: 5615,
EndPos: 5631,
2020-05-12 21:16:36 +00:00
},
},
Class: &ast.NameName{
Node: ast.Node{
Position: &position.Position{
StartLine: 341,
EndLine: 341,
StartPos: 5615,
EndPos: 5618,
2020-05-12 21:16:36 +00:00
},
},
Parts: []ast.Vertex{
&ast.NameNamePart{
Node: ast.Node{
Position: &position.Position{
StartLine: 341,
EndLine: 341,
StartPos: 5615,
EndPos: 5618,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("Foo"),
},
},
},
Call: &ast.ExprArrayDimFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 341,
EndLine: 341,
StartPos: 5621,
EndPos: 5628,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 341,
EndLine: 341,
StartPos: 5621,
EndPos: 5625,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 341,
EndLine: 341,
StartPos: 5621,
EndPos: 5625,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$bar"),
2020-05-12 21:16:36 +00:00
},
},
Dim: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 341,
EndLine: 341,
StartPos: 5626,
EndPos: 5627,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("0"),
},
},
ArgumentList: &ast.ArgumentList{
Node: ast.Node{
Position: &position.Position{
StartLine: 341,
EndLine: 341,
StartPos: 5629,
EndPos: 5631,
2020-05-12 21:16:36 +00:00
},
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 343,
EndLine: 343,
StartPos: 5634,
EndPos: 5645,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprPropertyFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 343,
EndLine: 343,
StartPos: 5634,
EndPos: 5644,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 343,
EndLine: 343,
StartPos: 5634,
EndPos: 5638,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 343,
EndLine: 343,
StartPos: 5634,
EndPos: 5638,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$foo"),
2020-05-12 21:16:36 +00:00
},
},
Property: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 343,
EndLine: 343,
StartPos: 5640,
EndPos: 5644,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 343,
EndLine: 343,
StartPos: 5640,
EndPos: 5644,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$bar"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 344,
EndLine: 344,
StartPos: 5646,
EndPos: 5662,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprPropertyFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 344,
EndLine: 344,
StartPos: 5646,
EndPos: 5660,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 344,
EndLine: 344,
StartPos: 5646,
EndPos: 5650,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 344,
EndLine: 344,
StartPos: 5646,
EndPos: 5650,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$foo"),
2020-05-12 21:16:36 +00:00
},
},
Property: &ast.ExprArrayDimFetch{
Node: ast.Node{
Position: &position.Position{
StartLine: 344,
EndLine: 344,
StartPos: 5653,
EndPos: 5660,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 344,
EndLine: 344,
StartPos: 5653,
EndPos: 5657,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 344,
EndLine: 344,
StartPos: 5653,
EndPos: 5657,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$bar"),
2020-05-12 21:16:36 +00:00
},
},
Dim: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 344,
EndLine: 344,
StartPos: 5658,
EndPos: 5659,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("0"),
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 346,
EndLine: 346,
StartPos: 5664,
EndPos: 5686,
2020-05-12 21:16:36 +00:00
},
},
Expr: &ast.ExprShortArray{
Node: ast.Node{
Position: &position.Position{
StartLine: 346,
EndLine: 346,
StartPos: 5664,
EndPos: 5685,
2020-05-12 21:16:36 +00:00
},
},
Items: []ast.Vertex{
&ast.ExprArrayItem{
Node: ast.Node{
Position: &position.Position{
StartLine: 346,
EndLine: 346,
StartPos: 5665,
EndPos: 5671,
2020-05-12 21:16:36 +00:00
},
},
Key: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 346,
EndLine: 346,
StartPos: 5665,
EndPos: 5666,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("1"),
},
Val: &ast.ExprReference{
Node: ast.Node{
Position: &position.Position{
StartLine: 346,
EndLine: 346,
StartPos: 5668,
EndPos: 5671,
2020-05-12 21:16:36 +00:00
},
},
Var: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 346,
EndLine: 346,
StartPos: 5669,
EndPos: 5671,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 346,
EndLine: 346,
StartPos: 5669,
EndPos: 5671,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$a"),
2020-05-12 21:16:36 +00:00
},
},
},
},
&ast.ExprArrayItem{
Node: ast.Node{
Position: &position.Position{
StartLine: 346,
EndLine: 346,
StartPos: 5673,
EndPos: 5684,
2020-05-12 21:16:36 +00:00
},
},
Key: &ast.ScalarLnumber{
Node: ast.Node{
Position: &position.Position{
StartLine: 346,
EndLine: 346,
StartPos: 5673,
EndPos: 5674,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("2"),
},
Val: &ast.ExprList{
Node: ast.Node{
Position: &position.Position{
StartLine: 346,
EndLine: 346,
StartPos: 5676,
EndPos: 5684,
2020-05-12 21:16:36 +00:00
},
},
Items: []ast.Vertex{
&ast.ExprArrayItem{
Node: ast.Node{
Position: &position.Position{
StartLine: 346,
EndLine: 346,
StartPos: 5681,
EndPos: 5683,
2020-05-12 21:16:36 +00:00
},
},
Val: &ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 346,
EndLine: 346,
StartPos: 5681,
EndPos: 5683,
2020-05-12 21:16:36 +00:00
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 346,
EndLine: 346,
StartPos: 5681,
EndPos: 5683,
2020-05-12 21:16:36 +00:00
},
},
Value: []byte("$b"),
2020-05-12 21:16:36 +00:00
},
},
},
},
},
},
},
},
},
&ast.StmtHaltCompiler{
Node: ast.Node{
Position: &position.Position{
StartLine: 348,
EndLine: 348,
StartPos: 5688,
EndPos: 5706,
2020-05-12 21:16:36 +00:00
},
},
},
},
}
2020-08-17 17:31:04 +00:00
lexer := scanner.NewLexer(src, "7.4", nil)
php7parser := php7.NewParser(lexer, nil)
2020-05-12 21:16:36 +00:00
php7parser.Parse()
actual := php7parser.GetRootNode()
traverser.NewDFS(new(visitor.FilterParserNodes)).Traverse(actual)
2020-08-17 17:31:04 +00:00
traverser.NewDFS(new(visitor.FilterTokens)).Traverse(actual)
2020-05-12 21:16:36 +00:00
assert.DeepEqual(t, expected, actual)
}
func TestPhp5Strings(t *testing.T) {
src := `<?
"test";
"\$test";
"
test
";
'$test';
'
$test
';
`
expected := &ast.Root{
Node: ast.Node{
Position: &position.Position{
StartLine: 2,
EndLine: 10,
StartPos: 5,
EndPos: 70,
},
},
Stmts: []ast.Vertex{
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 2,
EndLine: 2,
StartPos: 5,
EndPos: 12,
},
},
Expr: &ast.ScalarString{
Node: ast.Node{
Position: &position.Position{
StartLine: 2,
EndLine: 2,
StartPos: 5,
EndPos: 11,
},
},
Value: []byte("\"test\""),
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 3,
EndLine: 3,
StartPos: 15,
EndPos: 24,
},
},
Expr: &ast.ScalarString{
Node: ast.Node{
Position: &position.Position{
StartLine: 3,
EndLine: 3,
StartPos: 15,
EndPos: 23,
},
},
Value: []byte("\"\\$test\""),
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 4,
EndLine: 6,
StartPos: 27,
EndPos: 41,
},
},
Expr: &ast.ScalarString{
Node: ast.Node{
Position: &position.Position{
StartLine: 4,
EndLine: 6,
StartPos: 27,
EndPos: 40,
},
},
Value: []byte("\"\n\t\t\ttest\n\t\t\""),
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 7,
EndLine: 7,
StartPos: 44,
EndPos: 52,
},
},
Expr: &ast.ScalarString{
Node: ast.Node{
Position: &position.Position{
StartLine: 7,
EndLine: 7,
StartPos: 44,
EndPos: 51,
},
},
Value: []byte("'$test'"),
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 8,
EndLine: 10,
StartPos: 55,
EndPos: 70,
},
},
Expr: &ast.ScalarString{
Node: ast.Node{
Position: &position.Position{
StartLine: 8,
EndLine: 10,
StartPos: 55,
EndPos: 69,
},
},
Value: []byte("'\n\t\t\t$test\n\t\t'"),
},
},
},
}
2020-08-17 17:31:04 +00:00
lexer := scanner.NewLexer([]byte(src), "7.4", nil)
php7parser := php7.NewParser(lexer, nil)
2020-05-12 21:16:36 +00:00
php7parser.Parse()
actual := php7parser.GetRootNode()
traverser.NewDFS(new(visitor.FilterParserNodes)).Traverse(actual)
2020-08-17 17:31:04 +00:00
traverser.NewDFS(new(visitor.FilterTokens)).Traverse(actual)
2020-05-12 21:16:36 +00:00
assert.DeepEqual(t, expected, actual)
}
func TestPhp5Heredoc(t *testing.T) {
src := `<?
<<<CAD
CAD;
<<<CAD
hello
CAD;
<<<"CAD"
hello
CAD;
<<<"CAD"
hello $world
CAD;
<<<'CAD'
hello $world
CAD;
`
expected := &ast.Root{
Node: ast.Node{
Position: &position.Position{
StartLine: 2,
EndLine: 15,
StartPos: 5,
EndPos: 120,
},
},
Stmts: []ast.Vertex{
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 2,
EndLine: 3,
StartPos: 5,
EndPos: 16,
},
},
Expr: &ast.ScalarHeredoc{
Node: ast.Node{
Position: &position.Position{
StartLine: 2,
EndLine: 3,
StartPos: 5,
EndPos: 15,
},
},
Label: []byte("<<<CAD\n"),
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 4,
EndLine: 6,
StartPos: 19,
EndPos: 37,
},
},
Expr: &ast.ScalarHeredoc{
Node: ast.Node{
Position: &position.Position{
StartLine: 4,
EndLine: 6,
StartPos: 19,
EndPos: 36,
},
},
Label: []byte("<<<CAD\n"),
Parts: []ast.Vertex{
&ast.ScalarEncapsedStringPart{
Node: ast.Node{
Position: &position.Position{
StartLine: 5,
EndLine: 5,
StartPos: 26,
EndPos: 33,
},
},
Value: []byte("\thello\n"),
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 7,
EndLine: 9,
StartPos: 40,
EndPos: 60,
},
},
Expr: &ast.ScalarHeredoc{
Node: ast.Node{
Position: &position.Position{
StartLine: 7,
EndLine: 9,
StartPos: 40,
EndPos: 59,
},
},
Label: []byte("<<<\"CAD\"\n"),
Parts: []ast.Vertex{
&ast.ScalarEncapsedStringPart{
Node: ast.Node{
Position: &position.Position{
StartLine: 8,
EndLine: 8,
StartPos: 49,
EndPos: 56,
},
},
Value: []byte("\thello\n"),
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 10,
EndLine: 12,
StartPos: 63,
EndPos: 90,
},
},
Expr: &ast.ScalarHeredoc{
Node: ast.Node{
Position: &position.Position{
StartLine: 10,
EndLine: 12,
StartPos: 63,
EndPos: 89,
},
},
Label: []byte("<<<\"CAD\"\n"),
Parts: []ast.Vertex{
&ast.ScalarEncapsedStringPart{
Node: ast.Node{
Position: &position.Position{
StartLine: 11,
EndLine: 11,
StartPos: 72,
EndPos: 79,
},
},
Value: []byte("\thello "),
},
&ast.ExprVariable{
Node: ast.Node{
Position: &position.Position{
StartLine: 11,
EndLine: 11,
StartPos: 79,
EndPos: 85,
},
},
VarName: &ast.Identifier{
Node: ast.Node{
Position: &position.Position{
StartLine: 11,
EndLine: 11,
StartPos: 79,
EndPos: 85,
},
},
Value: []byte("$world"),
2020-05-12 21:16:36 +00:00
},
},
&ast.ScalarEncapsedStringPart{
Node: ast.Node{
Position: &position.Position{
StartLine: 11,
EndLine: 11,
StartPos: 85,
EndPos: 86,
},
},
Value: []byte("\n"),
},
},
},
},
&ast.StmtExpression{
Node: ast.Node{
Position: &position.Position{
StartLine: 13,
EndLine: 15,
StartPos: 93,
EndPos: 120,
},
},
Expr: &ast.ScalarHeredoc{
Node: ast.Node{
Position: &position.Position{
StartLine: 13,
EndLine: 15,
StartPos: 93,
EndPos: 119,
},
},
Label: []byte("<<<'CAD'\n"),
Parts: []ast.Vertex{
&ast.ScalarEncapsedStringPart{
Node: ast.Node{
Position: &position.Position{
StartLine: 14,
EndLine: 14,
StartPos: 102,
EndPos: 116,
},
},
Value: []byte("\thello $world\n"),
},
},
},
},
},
}
2020-08-17 17:31:04 +00:00
lexer := scanner.NewLexer([]byte(src), "7.4", nil)
php7parser := php7.NewParser(lexer, nil)
2020-05-12 21:16:36 +00:00
php7parser.Parse()
actual := php7parser.GetRootNode()
traverser.NewDFS(new(visitor.FilterParserNodes)).Traverse(actual)
2020-08-17 17:31:04 +00:00
traverser.NewDFS(new(visitor.FilterTokens)).Traverse(actual)
2020-05-12 21:16:36 +00:00
assert.DeepEqual(t, expected, actual)
}
func TestPhp7ControlCharsErrors(t *testing.T) {
src := "<?php \004 echo $b; \"$a[\005test]\";"
expected := []*errors.Error{
{
Msg: "WARNING: Unexpected character in input: '\004' (ASCII=4)",
Pos: &position.Position{StartLine: 1, EndLine: 1, StartPos: 6, EndPos: 7},
},
{
Msg: "WARNING: Unexpected character in input: '\005' (ASCII=5)",
Pos: &position.Position{StartLine: 1, EndLine: 1, StartPos: 21, EndPos: 22},
},
}
2020-06-29 20:00:56 +00:00
parserErrors := []*errors.Error{}
errorHandlerFunc := func(e *errors.Error) {
parserErrors = append(parserErrors, e)
}
2020-08-17 17:31:04 +00:00
lexer := scanner.NewLexer([]byte(src), "7.4", errorHandlerFunc)
php7parser := php7.NewParser(lexer, errorHandlerFunc)
2020-05-12 21:16:36 +00:00
php7parser.Parse()
2020-06-29 20:00:56 +00:00
assert.DeepEqual(t, expected, parserErrors)
2020-05-12 21:16:36 +00:00
}