1 package syntax 2 3 import ( 4 "github.com/gobwas/glob/syntax/ast" 5 "github.com/gobwas/glob/syntax/lexer" 6 ) 7 8 func Parse(s string) (*ast.Node, error) { 9 return ast.Parse(lexer.NewLexer(s)) 10 } 11 12 func Special(b byte) bool { 13 return lexer.Special(b) 14 } 15