 }
 
 
-enum GlobTokenType: TokenType {
-  case Text
-  case Separator
-  case Name
-  case Symbol
+enum GlobTokenType: String, TokenType {
+  case Text = "text"
+  case Separator = "separator"
+  case Name = "name"
+  case Symbol = "symbol"
 }
 
 

    }
  }

  static func keywordString(type: GlobTokenType) -> String {
    switch type {
      case .Text:
        return "text"
      case .Separator:
        return "Separator"
      case .Name:
        return "Name"
      case .Symbol:
        return "Symbol"
    }
  }

  func isContextChar(c: UInt8) -> Bool {
    return c == 47 || c == 42 || c == 63 || c == 123 || c == 91 // / * ? { [
  }



public enum GlobLexerTokenizer: LexerTokenizer {
  case OptionalNameComma
