php-parser/node/node.go
2017-12-31 11:57:55 +02:00

14 lines
230 B
Go

package node
type Attributer interface {
Attributes() map[string]interface{}
Attribute(key string) interface{}
SetAttribute(key string, value interface{})
}
type Node interface {
Attributer
Name() string
Walk(v Visitor)
}