youtubebeat/vendor/github.com/gobwas/glob/syntax/syntax.go

15 lines
241 B
Go
Raw Normal View History

2018-11-18 15:32:28 +01:00
package syntax
import (
"github.com/gobwas/glob/syntax/ast"
"github.com/gobwas/glob/syntax/lexer"
)
func Parse(s string) (*ast.Node, error) {
return ast.Parse(lexer.NewLexer(s))
}
func Special(b byte) bool {
return lexer.Special(b)
}