本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
241B

  1. package syntax
  2. import (
  3. "github.com/gobwas/glob/syntax/ast"
  4. "github.com/gobwas/glob/syntax/lexer"
  5. )
  6. func Parse(s string) (*ast.Node, error) {
  7. return ast.Parse(lexer.NewLexer(s))
  8. }
  9. func Special(b byte) bool {
  10. return lexer.Special(b)
  11. }
上海开阖软件有限公司 沪ICP备12045867号-1