github.com/keysonzzz/kmg@v0.0.0-20151121023212-05317bfd7d39/kmgGoSource/kmgGoParser/tokenList.go (about)

     1  package kmgGoParser
     2  
     3  var tokenPackage = []byte("package")
     4  var tokenImport = []byte("import")
     5  var tokenFunc = []byte("func")
     6  var tokenType = []byte("type")
     7  var tokenVar = []byte("var")
     8  var tokenConst = []byte("const")
     9  var tokenDoubleQuate = []byte(`"`)
    10  var tokenSingleQuate = []byte(`'`)
    11  var tokenGraveAccent = []byte("`")
    12  var tokenDoubleSlash = []byte("//")
    13  var tokenSlashStar = []byte("/*")
    14  var tokenStarSlash = []byte("*/")