16 lines
247 B
Go
16 lines
247 B
Go
package parser
|
|
|
|
import (
|
|
"github.com/z7zmey/php-parser/errors"
|
|
"github.com/z7zmey/php-parser/node"
|
|
)
|
|
|
|
// Parser interface
|
|
type Parser interface {
|
|
Parse() int
|
|
GetPath() string
|
|
GetRootNode() node.Node
|
|
GetErrors() []*errors.Error
|
|
WithMeta()
|
|
}
|