php2go/vendor/github.com/z7zmey/php-parser/node/node.go

17 lines
405 B
Go
Raw Normal View History

package node
import (
"github.com/z7zmey/php-parser/freefloating"
"github.com/z7zmey/php-parser/position"
"github.com/z7zmey/php-parser/walker"
)
// Node interface
type Node interface {
walker.Walkable
Attributes() map[string]interface{} // Attributes returns node attributes as map
SetPosition(p *position.Position)
GetPosition() *position.Position
GetFreeFloating() *freefloating.Collection
}