walker pakage

This commit is contained in:
z7zmey
2018-01-17 18:58:45 +02:00
parent 6d90e1258f
commit 76df2ba69b
164 changed files with 368 additions and 210 deletions

View File

@@ -5,6 +5,10 @@ import __yyfmt__ "fmt"
//line parser/parser.y:2
import (
"io"
"strconv"
"strings"
"github.com/z7zmey/php-parser/comment"
"github.com/z7zmey/php-parser/node"
"github.com/z7zmey/php-parser/node/expr"
@@ -16,9 +20,6 @@ import (
"github.com/z7zmey/php-parser/node/stmt"
"github.com/z7zmey/php-parser/position"
"github.com/z7zmey/php-parser/token"
"io"
"strconv"
"strings"
)
var rootnode node.Node

View File

@@ -11,6 +11,7 @@ package parser
import (
"bytes"
"fmt"
"github.com/cznic/golex/lex"
"github.com/z7zmey/php-parser/comment"
)