php-parser/parser/parser.go
2019-03-20 21:06:56 +02:00

15 lines
237 B
Go

package parser
import (
"github.com/z7zmey/php-parser/errors"
"github.com/z7zmey/php-parser/node"
)
// Parser interface
type Parser interface {
Parse() int
GetRootNode() node.Node
GetErrors() []*errors.Error
WithFreeFloating()
}