tokens_sql.json 979 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. [[
  2. "start",
  3. ["keyword","SELECT"],
  4. ["text"," "],
  5. ["identifier","city"],
  6. ["text",", "],
  7. ["support.function","COUNT"],
  8. ["paren.lparen","("],
  9. ["identifier","id"],
  10. ["paren.rparen",")"],
  11. ["text"," "],
  12. ["keyword","AS"],
  13. ["text"," "],
  14. ["identifier","users_count"]
  15. ],[
  16. "start",
  17. ["keyword","FROM"],
  18. ["text"," "],
  19. ["identifier","users"]
  20. ],[
  21. "start",
  22. ["keyword","WHERE"],
  23. ["text"," "],
  24. ["identifier","group_name"],
  25. ["text"," "],
  26. ["keyword.operator","="],
  27. ["text"," "],
  28. ["string","'salesman'"]
  29. ],[
  30. "start",
  31. ["keyword","AND"],
  32. ["text"," "],
  33. ["identifier","created"],
  34. ["text"," "],
  35. ["keyword.operator",">"],
  36. ["text"," "],
  37. ["string","'2011-05-21'"]
  38. ],[
  39. "start",
  40. ["keyword","GROUP"],
  41. ["text"," "],
  42. ["keyword","BY"],
  43. ["text"," "],
  44. ["constant.numeric","1"]
  45. ],[
  46. "start",
  47. ["keyword","ORDER"],
  48. ["text"," "],
  49. ["keyword","BY"],
  50. ["text"," "],
  51. ["constant.numeric","2"],
  52. ["text"," "],
  53. ["keyword","DESC"]
  54. ]]