php-parser/parser/parser.go

16 lines
255 B
Go
Raw Normal View History

package parser
2018-04-10 17:15:15 +00:00
import (
"github.com/z7zmey/php-parser/errors"
"github.com/z7zmey/php-parser/node"
)
// Parser interface
2018-04-10 17:15:15 +00:00
type Parser interface {
Parse() int
GetPath() string
GetRootNode() node.Node
GetErrors() []*errors.Error
2019-02-25 14:52:47 +00:00
WithFreeFloating()
2018-04-10 17:15:15 +00:00
}