aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/gobwas/glob/syntax/syntax.go
blob: 1d168b1482990e0d0c048891fe456995f1cd9374 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)
}