omlish 0.0.0.dev423__py3-none-any.whl → 0.0.0.dev425__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. omlish/__about__.py +3 -3
  2. omlish/dataclasses/impl/configs.py +2 -1
  3. omlish/formats/json/stream/lexing.py +8 -0
  4. omlish/formats/json/stream/utils.py +3 -0
  5. omlish/formats/json5/streams.py +22 -0
  6. omlish/lang/__init__.py +3 -1
  7. omlish/lang/asyncs.py +12 -0
  8. omlish/lang/functions.py +0 -11
  9. omlish/lang/lazyglobals.py +27 -5
  10. omlish/lang/maysync.py +2 -2
  11. omlish/lifecycles/contextmanagers.py +1 -2
  12. omlish/lifecycles/controller.py +1 -2
  13. omlish/lite/asyncs.py +15 -0
  14. omlish/lite/timing.py +2 -2
  15. omlish/logs/all.py +23 -34
  16. omlish/logs/base.py +248 -0
  17. omlish/logs/callers.py +21 -15
  18. omlish/logs/infos.py +105 -0
  19. omlish/logs/levels.py +64 -0
  20. omlish/logs/protocols.py +31 -0
  21. omlish/logs/standard.py +12 -11
  22. omlish/logs/std/adapters.py +41 -0
  23. omlish/logs/std/configs.py +29 -0
  24. omlish/logs/{filters.py → std/filters.py} +1 -1
  25. omlish/logs/{handlers.py → std/handlers.py} +1 -1
  26. omlish/logs/{json.py → std/json.py} +2 -2
  27. omlish/logs/{proxy.py → std/proxy.py} +3 -3
  28. omlish/logs/std/records.py +286 -0
  29. omlish/logs/times.py +89 -0
  30. omlish/logs/typed/bindings.py +24 -0
  31. omlish/logs/utils.py +60 -4
  32. omlish/logs/warnings.py +8 -0
  33. omlish/manifests/loading.py +1 -1
  34. omlish/os/journald.py +3 -3
  35. omlish/testing/pytest/plugins/skips.py +0 -4
  36. {omlish-0.0.0.dev423.dist-info → omlish-0.0.0.dev425.dist-info}/METADATA +1 -1
  37. {omlish-0.0.0.dev423.dist-info → omlish-0.0.0.dev425.dist-info}/RECORD +44 -86
  38. omlish/defs.py +0 -216
  39. omlish/dispatch/_dispatch2.py +0 -69
  40. omlish/dispatch/_dispatch3.py +0 -108
  41. omlish/dynamic.py +0 -219
  42. omlish/formats/json/Json.g4 +0 -77
  43. omlish/formats/json/_antlr/JsonLexer.py +0 -109
  44. omlish/formats/json/_antlr/JsonListener.py +0 -61
  45. omlish/formats/json/_antlr/JsonParser.py +0 -457
  46. omlish/formats/json/_antlr/JsonVisitor.py +0 -42
  47. omlish/io/trampoline.py +0 -289
  48. omlish/logs/abc.py +0 -319
  49. omlish/logs/color.py +0 -27
  50. omlish/logs/configs.py +0 -29
  51. omlish/logs/protocol.py +0 -218
  52. omlish/logs/timing.py +0 -58
  53. omlish/specs/irc/__init__.py +0 -0
  54. omlish/specs/irc/messages/__init__.py +0 -0
  55. omlish/specs/irc/messages/base.py +0 -49
  56. omlish/specs/irc/messages/formats.py +0 -92
  57. omlish/specs/irc/messages/messages.py +0 -774
  58. omlish/specs/irc/messages/parsing.py +0 -98
  59. omlish/specs/irc/numerics/__init__.py +0 -0
  60. omlish/specs/irc/numerics/formats.py +0 -97
  61. omlish/specs/irc/numerics/numerics.py +0 -865
  62. omlish/specs/irc/numerics/types.py +0 -59
  63. omlish/specs/irc/protocol/LICENSE +0 -11
  64. omlish/specs/irc/protocol/__init__.py +0 -61
  65. omlish/specs/irc/protocol/consts.py +0 -6
  66. omlish/specs/irc/protocol/errors.py +0 -30
  67. omlish/specs/irc/protocol/message.py +0 -21
  68. omlish/specs/irc/protocol/nuh.py +0 -55
  69. omlish/specs/irc/protocol/parsing.py +0 -158
  70. omlish/specs/irc/protocol/rendering.py +0 -153
  71. omlish/specs/irc/protocol/tags.py +0 -102
  72. omlish/specs/irc/protocol/utils.py +0 -30
  73. omlish/specs/proto/Protobuf3.g4 +0 -396
  74. omlish/specs/proto/__init__.py +0 -0
  75. omlish/specs/proto/_antlr/Protobuf3Lexer.py +0 -340
  76. omlish/specs/proto/_antlr/Protobuf3Listener.py +0 -448
  77. omlish/specs/proto/_antlr/Protobuf3Parser.py +0 -3909
  78. omlish/specs/proto/_antlr/Protobuf3Visitor.py +0 -257
  79. omlish/specs/proto/_antlr/__init__.py +0 -0
  80. omlish/specs/proto/nodes.py +0 -54
  81. omlish/specs/proto/parsing.py +0 -97
  82. omlish/sql/parsing/Minisql.g4 +0 -292
  83. omlish/sql/parsing/__init__.py +0 -0
  84. omlish/sql/parsing/_antlr/MinisqlLexer.py +0 -322
  85. omlish/sql/parsing/_antlr/MinisqlListener.py +0 -511
  86. omlish/sql/parsing/_antlr/MinisqlParser.py +0 -3763
  87. omlish/sql/parsing/_antlr/MinisqlVisitor.py +0 -292
  88. omlish/sql/parsing/_antlr/__init__.py +0 -0
  89. omlish/sql/parsing/parsing.py +0 -119
  90. /omlish/{.manifests.json → .omlish-manifests.json} +0 -0
  91. /omlish/{formats/json/_antlr → logs/std}/__init__.py +0 -0
  92. /omlish/logs/{noisy.py → std/noisy.py} +0 -0
  93. {omlish-0.0.0.dev423.dist-info → omlish-0.0.0.dev425.dist-info}/WHEEL +0 -0
  94. {omlish-0.0.0.dev423.dist-info → omlish-0.0.0.dev425.dist-info}/entry_points.txt +0 -0
  95. {omlish-0.0.0.dev423.dist-info → omlish-0.0.0.dev425.dist-info}/licenses/LICENSE +0 -0
  96. {omlish-0.0.0.dev423.dist-info → omlish-0.0.0.dev425.dist-info}/top_level.txt +0 -0
@@ -1,322 +0,0 @@
1
- # type: ignore
2
- # ruff: noqa
3
- # flake8: noqa
4
- # @omlish-generated
5
- # Generated from Minisql.g4 by ANTLR 4.13.2
6
- from ....text.antlr._runtime._all import *
7
- from io import StringIO
8
- import sys
9
- if sys.version_info[1] > 5:
10
- from typing import TextIO
11
- else:
12
- from typing.io import TextIO
13
-
14
-
15
- def serializedATN():
16
- return [
17
- 4,0,66,512,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,
18
- 2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,
19
- 13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,
20
- 19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,
21
- 26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,
22
- 32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,
23
- 39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,
24
- 45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,
25
- 52,7,52,2,53,7,53,2,54,7,54,2,55,7,55,2,56,7,56,2,57,7,57,2,58,7,
26
- 58,2,59,7,59,2,60,7,60,2,61,7,61,2,62,7,62,2,63,7,63,2,64,7,64,2,
27
- 65,7,65,2,66,7,66,2,67,7,67,2,68,7,68,1,0,1,0,1,1,1,1,1,2,1,2,1,
28
- 3,1,3,1,4,1,4,1,5,1,5,1,5,1,6,1,6,1,7,1,7,1,8,1,8,1,8,1,9,1,9,1,
29
- 9,1,10,1,10,1,11,1,11,1,11,1,12,1,12,1,13,1,13,1,13,1,14,1,14,1,
30
- 15,1,15,1,16,1,16,1,17,1,17,1,18,1,18,1,18,1,19,1,19,1,19,1,19,1,
31
- 20,1,20,1,20,1,20,1,21,1,21,1,21,1,22,1,22,1,22,1,22,1,23,1,23,1,
32
- 23,1,24,1,24,1,24,1,24,1,24,1,25,1,25,1,25,1,25,1,25,1,25,1,26,1,
33
- 26,1,26,1,26,1,26,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,
34
- 28,1,28,1,28,1,28,1,28,1,29,1,29,1,29,1,29,1,30,1,30,1,30,1,30,1,
35
- 30,1,30,1,31,1,31,1,31,1,31,1,31,1,32,1,32,1,32,1,32,1,32,1,33,1,
36
- 33,1,33,1,33,1,33,1,33,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,35,1,
37
- 35,1,35,1,36,1,36,1,36,1,36,1,36,1,36,1,37,1,37,1,37,1,38,1,38,1,
38
- 38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,40,1,40,1,40,1,40,1,40,1,
39
- 41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,42,1,42,1,42,1,42,1,43,1,
40
- 43,1,43,1,43,1,43,1,44,1,44,1,44,1,45,1,45,1,45,1,46,1,46,1,46,1,
41
- 46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,
42
- 48,1,49,1,49,1,49,1,49,1,49,1,49,1,50,1,50,1,50,1,50,1,50,1,50,1,
43
- 50,1,51,1,51,1,51,1,51,1,51,1,52,1,52,1,52,1,52,1,52,1,53,1,53,1,
44
- 53,1,53,1,53,1,53,1,54,1,54,1,54,1,54,1,54,1,55,1,55,1,55,1,55,1,
45
- 55,1,55,1,56,1,56,1,56,1,56,1,56,1,57,1,57,1,57,1,57,5,57,381,8,
46
- 57,10,57,12,57,384,9,57,1,57,1,57,1,58,4,58,389,8,58,11,58,12,58,
47
- 390,1,59,4,59,394,8,59,11,59,12,59,395,1,59,1,59,5,59,400,8,59,10,
48
- 59,12,59,403,9,59,1,59,1,59,4,59,407,8,59,11,59,12,59,408,3,59,411,
49
- 8,59,1,60,4,60,414,8,60,11,60,12,60,415,1,60,1,60,5,60,420,8,60,
50
- 10,60,12,60,423,9,60,3,60,425,8,60,1,60,1,60,1,60,1,60,4,60,431,
51
- 8,60,11,60,12,60,432,1,60,1,60,3,60,437,8,60,1,61,1,61,3,61,441,
52
- 8,61,1,61,1,61,1,61,5,61,446,8,61,10,61,12,61,449,9,61,1,62,1,62,
53
- 1,62,1,62,5,62,455,8,62,10,62,12,62,458,9,62,1,62,1,62,1,63,1,63,
54
- 3,63,464,8,63,1,63,4,63,467,8,63,11,63,12,63,468,1,64,1,64,1,65,
55
- 1,65,1,66,1,66,1,66,1,66,5,66,479,8,66,10,66,12,66,482,9,66,1,66,
56
- 3,66,485,8,66,1,66,3,66,488,8,66,1,66,1,66,1,67,1,67,1,67,1,67,5,
57
- 67,496,8,67,10,67,12,67,499,9,67,1,67,1,67,1,67,1,67,1,67,1,68,4,
58
- 68,507,8,68,11,68,12,68,508,1,68,1,68,1,497,0,69,1,1,3,2,5,3,7,4,
59
- 9,5,11,6,13,7,15,8,17,9,19,10,21,11,23,12,25,13,27,14,29,15,31,16,
60
- 33,17,35,18,37,19,39,20,41,21,43,22,45,23,47,24,49,25,51,26,53,27,
61
- 55,28,57,29,59,30,61,31,63,32,65,33,67,34,69,35,71,36,73,37,75,38,
62
- 77,39,79,40,81,41,83,42,85,43,87,44,89,45,91,46,93,47,95,48,97,49,
63
- 99,50,101,51,103,52,105,53,107,54,109,55,111,56,113,57,115,58,117,
64
- 59,119,60,121,61,123,62,125,63,127,0,129,0,131,0,133,64,135,65,137,
65
- 66,1,0,9,1,0,39,39,4,0,36,36,58,58,64,64,95,95,1,0,34,34,2,0,69,
66
- 69,101,101,2,0,43,43,45,45,1,0,48,57,2,0,65,90,97,122,2,0,10,10,
67
- 13,13,3,0,9,10,13,13,32,32,533,0,1,1,0,0,0,0,3,1,0,0,0,0,5,1,0,0,
68
- 0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,
69
- 0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,23,1,0,0,0,0,25,1,0,0,0,
70
- 0,27,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,
71
- 0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,
72
- 0,47,1,0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,
73
- 0,57,1,0,0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,
74
- 0,67,1,0,0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,
75
- 0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,
76
- 0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,
77
- 0,97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,
78
- 0,0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,
79
- 1,0,0,0,0,117,1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1,0,0,0,
80
- 0,125,1,0,0,0,0,133,1,0,0,0,0,135,1,0,0,0,0,137,1,0,0,0,1,139,1,
81
- 0,0,0,3,141,1,0,0,0,5,143,1,0,0,0,7,145,1,0,0,0,9,147,1,0,0,0,11,
82
- 149,1,0,0,0,13,152,1,0,0,0,15,154,1,0,0,0,17,156,1,0,0,0,19,159,
83
- 1,0,0,0,21,162,1,0,0,0,23,164,1,0,0,0,25,167,1,0,0,0,27,169,1,0,
84
- 0,0,29,172,1,0,0,0,31,174,1,0,0,0,33,176,1,0,0,0,35,178,1,0,0,0,
85
- 37,180,1,0,0,0,39,183,1,0,0,0,41,187,1,0,0,0,43,191,1,0,0,0,45,194,
86
- 1,0,0,0,47,198,1,0,0,0,49,201,1,0,0,0,51,206,1,0,0,0,53,212,1,0,
87
- 0,0,55,217,1,0,0,0,57,226,1,0,0,0,59,231,1,0,0,0,61,235,1,0,0,0,
88
- 63,241,1,0,0,0,65,246,1,0,0,0,67,251,1,0,0,0,69,257,1,0,0,0,71,264,
89
- 1,0,0,0,73,267,1,0,0,0,75,273,1,0,0,0,77,276,1,0,0,0,79,281,1,0,
90
- 0,0,81,286,1,0,0,0,83,291,1,0,0,0,85,299,1,0,0,0,87,303,1,0,0,0,
91
- 89,308,1,0,0,0,91,311,1,0,0,0,93,314,1,0,0,0,95,320,1,0,0,0,97,326,
92
- 1,0,0,0,99,331,1,0,0,0,101,337,1,0,0,0,103,344,1,0,0,0,105,349,1,
93
- 0,0,0,107,354,1,0,0,0,109,360,1,0,0,0,111,365,1,0,0,0,113,371,1,
94
- 0,0,0,115,376,1,0,0,0,117,388,1,0,0,0,119,410,1,0,0,0,121,436,1,
95
- 0,0,0,123,440,1,0,0,0,125,450,1,0,0,0,127,461,1,0,0,0,129,470,1,
96
- 0,0,0,131,472,1,0,0,0,133,474,1,0,0,0,135,491,1,0,0,0,137,506,1,
97
- 0,0,0,139,140,5,59,0,0,140,2,1,0,0,0,141,142,5,44,0,0,142,4,1,0,
98
- 0,0,143,144,5,40,0,0,144,6,1,0,0,0,145,146,5,41,0,0,146,8,1,0,0,
99
- 0,147,148,5,42,0,0,148,10,1,0,0,0,149,150,5,58,0,0,150,151,5,58,
100
- 0,0,151,12,1,0,0,0,152,153,5,46,0,0,153,14,1,0,0,0,154,155,5,61,
101
- 0,0,155,16,1,0,0,0,156,157,5,33,0,0,157,158,5,61,0,0,158,18,1,0,
102
- 0,0,159,160,5,60,0,0,160,161,5,62,0,0,161,20,1,0,0,0,162,163,5,60,
103
- 0,0,163,22,1,0,0,0,164,165,5,60,0,0,165,166,5,61,0,0,166,24,1,0,
104
- 0,0,167,168,5,62,0,0,168,26,1,0,0,0,169,170,5,62,0,0,170,171,5,61,
105
- 0,0,171,28,1,0,0,0,172,173,5,43,0,0,173,30,1,0,0,0,174,175,5,45,
106
- 0,0,175,32,1,0,0,0,176,177,5,47,0,0,177,34,1,0,0,0,178,179,5,37,
107
- 0,0,179,36,1,0,0,0,180,181,5,124,0,0,181,182,5,124,0,0,182,38,1,
108
- 0,0,0,183,184,5,97,0,0,184,185,5,108,0,0,185,186,5,108,0,0,186,40,
109
- 1,0,0,0,187,188,5,97,0,0,188,189,5,110,0,0,189,190,5,100,0,0,190,
110
- 42,1,0,0,0,191,192,5,97,0,0,192,193,5,115,0,0,193,44,1,0,0,0,194,
111
- 195,5,97,0,0,195,196,5,115,0,0,196,197,5,99,0,0,197,46,1,0,0,0,198,
112
- 199,5,98,0,0,199,200,5,121,0,0,200,48,1,0,0,0,201,202,5,99,0,0,202,
113
- 203,5,97,0,0,203,204,5,115,0,0,204,205,5,101,0,0,205,50,1,0,0,0,
114
- 206,207,5,99,0,0,207,208,5,114,0,0,208,209,5,111,0,0,209,210,5,115,
115
- 0,0,210,211,5,115,0,0,211,52,1,0,0,0,212,213,5,100,0,0,213,214,5,
116
- 101,0,0,214,215,5,115,0,0,215,216,5,99,0,0,216,54,1,0,0,0,217,218,
117
- 5,100,0,0,218,219,5,105,0,0,219,220,5,115,0,0,220,221,5,116,0,0,
118
- 221,222,5,105,0,0,222,223,5,110,0,0,223,224,5,99,0,0,224,225,5,116,
119
- 0,0,225,56,1,0,0,0,226,227,5,101,0,0,227,228,5,108,0,0,228,229,5,
120
- 115,0,0,229,230,5,101,0,0,230,58,1,0,0,0,231,232,5,101,0,0,232,233,
121
- 5,110,0,0,233,234,5,100,0,0,234,60,1,0,0,0,235,236,5,102,0,0,236,
122
- 237,5,97,0,0,237,238,5,108,0,0,238,239,5,115,0,0,239,240,5,101,0,
123
- 0,240,62,1,0,0,0,241,242,5,102,0,0,242,243,5,114,0,0,243,244,5,111,
124
- 0,0,244,245,5,109,0,0,245,64,1,0,0,0,246,247,5,102,0,0,247,248,5,
125
- 117,0,0,248,249,5,108,0,0,249,250,5,108,0,0,250,66,1,0,0,0,251,252,
126
- 5,103,0,0,252,253,5,114,0,0,253,254,5,111,0,0,254,255,5,117,0,0,
127
- 255,256,5,112,0,0,256,68,1,0,0,0,257,258,5,104,0,0,258,259,5,97,
128
- 0,0,259,260,5,118,0,0,260,261,5,105,0,0,261,262,5,110,0,0,262,263,
129
- 5,103,0,0,263,70,1,0,0,0,264,265,5,105,0,0,265,266,5,110,0,0,266,
130
- 72,1,0,0,0,267,268,5,105,0,0,268,269,5,110,0,0,269,270,5,110,0,0,
131
- 270,271,5,101,0,0,271,272,5,114,0,0,272,74,1,0,0,0,273,274,5,105,
132
- 0,0,274,275,5,115,0,0,275,76,1,0,0,0,276,277,5,106,0,0,277,278,5,
133
- 111,0,0,278,279,5,105,0,0,279,280,5,110,0,0,280,78,1,0,0,0,281,282,
134
- 5,108,0,0,282,283,5,101,0,0,283,284,5,102,0,0,284,285,5,116,0,0,
135
- 285,80,1,0,0,0,286,287,5,108,0,0,287,288,5,105,0,0,288,289,5,107,
136
- 0,0,289,290,5,101,0,0,290,82,1,0,0,0,291,292,5,110,0,0,292,293,5,
137
- 97,0,0,293,294,5,116,0,0,294,295,5,117,0,0,295,296,5,114,0,0,296,
138
- 297,5,97,0,0,297,298,5,108,0,0,298,84,1,0,0,0,299,300,5,110,0,0,
139
- 300,301,5,111,0,0,301,302,5,116,0,0,302,86,1,0,0,0,303,304,5,110,
140
- 0,0,304,305,5,117,0,0,305,306,5,108,0,0,306,307,5,108,0,0,307,88,
141
- 1,0,0,0,308,309,5,111,0,0,309,310,5,110,0,0,310,90,1,0,0,0,311,312,
142
- 5,111,0,0,312,313,5,114,0,0,313,92,1,0,0,0,314,315,5,111,0,0,315,
143
- 316,5,114,0,0,316,317,5,100,0,0,317,318,5,101,0,0,318,319,5,114,
144
- 0,0,319,94,1,0,0,0,320,321,5,111,0,0,321,322,5,117,0,0,322,323,5,
145
- 116,0,0,323,324,5,101,0,0,324,325,5,114,0,0,325,96,1,0,0,0,326,327,
146
- 5,111,0,0,327,328,5,118,0,0,328,329,5,101,0,0,329,330,5,114,0,0,
147
- 330,98,1,0,0,0,331,332,5,114,0,0,332,333,5,105,0,0,333,334,5,103,
148
- 0,0,334,335,5,104,0,0,335,336,5,116,0,0,336,100,1,0,0,0,337,338,
149
- 5,115,0,0,338,339,5,101,0,0,339,340,5,108,0,0,340,341,5,101,0,0,
150
- 341,342,5,99,0,0,342,343,5,116,0,0,343,102,1,0,0,0,344,345,5,116,
151
- 0,0,345,346,5,104,0,0,346,347,5,101,0,0,347,348,5,110,0,0,348,104,
152
- 1,0,0,0,349,350,5,116,0,0,350,351,5,114,0,0,351,352,5,117,0,0,352,
153
- 353,5,101,0,0,353,106,1,0,0,0,354,355,5,117,0,0,355,356,5,110,0,
154
- 0,356,357,5,105,0,0,357,358,5,111,0,0,358,359,5,110,0,0,359,108,
155
- 1,0,0,0,360,361,5,119,0,0,361,362,5,104,0,0,362,363,5,101,0,0,363,
156
- 364,5,110,0,0,364,110,1,0,0,0,365,366,5,119,0,0,366,367,5,104,0,
157
- 0,367,368,5,101,0,0,368,369,5,114,0,0,369,370,5,101,0,0,370,112,
158
- 1,0,0,0,371,372,5,119,0,0,372,373,5,105,0,0,373,374,5,116,0,0,374,
159
- 375,5,104,0,0,375,114,1,0,0,0,376,382,5,39,0,0,377,381,8,0,0,0,378,
160
- 379,5,39,0,0,379,381,5,39,0,0,380,377,1,0,0,0,380,378,1,0,0,0,381,
161
- 384,1,0,0,0,382,380,1,0,0,0,382,383,1,0,0,0,383,385,1,0,0,0,384,
162
- 382,1,0,0,0,385,386,5,39,0,0,386,116,1,0,0,0,387,389,3,129,64,0,
163
- 388,387,1,0,0,0,389,390,1,0,0,0,390,388,1,0,0,0,390,391,1,0,0,0,
164
- 391,118,1,0,0,0,392,394,3,129,64,0,393,392,1,0,0,0,394,395,1,0,0,
165
- 0,395,393,1,0,0,0,395,396,1,0,0,0,396,397,1,0,0,0,397,401,5,46,0,
166
- 0,398,400,3,129,64,0,399,398,1,0,0,0,400,403,1,0,0,0,401,399,1,0,
167
- 0,0,401,402,1,0,0,0,402,411,1,0,0,0,403,401,1,0,0,0,404,406,5,46,
168
- 0,0,405,407,3,129,64,0,406,405,1,0,0,0,407,408,1,0,0,0,408,406,1,
169
- 0,0,0,408,409,1,0,0,0,409,411,1,0,0,0,410,393,1,0,0,0,410,404,1,
170
- 0,0,0,411,120,1,0,0,0,412,414,3,129,64,0,413,412,1,0,0,0,414,415,
171
- 1,0,0,0,415,413,1,0,0,0,415,416,1,0,0,0,416,424,1,0,0,0,417,421,
172
- 5,46,0,0,418,420,3,129,64,0,419,418,1,0,0,0,420,423,1,0,0,0,421,
173
- 419,1,0,0,0,421,422,1,0,0,0,422,425,1,0,0,0,423,421,1,0,0,0,424,
174
- 417,1,0,0,0,424,425,1,0,0,0,425,426,1,0,0,0,426,427,3,127,63,0,427,
175
- 437,1,0,0,0,428,430,5,46,0,0,429,431,3,129,64,0,430,429,1,0,0,0,
176
- 431,432,1,0,0,0,432,430,1,0,0,0,432,433,1,0,0,0,433,434,1,0,0,0,
177
- 434,435,3,127,63,0,435,437,1,0,0,0,436,413,1,0,0,0,436,428,1,0,0,
178
- 0,437,122,1,0,0,0,438,441,3,131,65,0,439,441,5,95,0,0,440,438,1,
179
- 0,0,0,440,439,1,0,0,0,441,447,1,0,0,0,442,446,3,131,65,0,443,446,
180
- 3,129,64,0,444,446,7,1,0,0,445,442,1,0,0,0,445,443,1,0,0,0,445,444,
181
- 1,0,0,0,446,449,1,0,0,0,447,445,1,0,0,0,447,448,1,0,0,0,448,124,
182
- 1,0,0,0,449,447,1,0,0,0,450,456,5,34,0,0,451,455,8,2,0,0,452,453,
183
- 5,34,0,0,453,455,5,34,0,0,454,451,1,0,0,0,454,452,1,0,0,0,455,458,
184
- 1,0,0,0,456,454,1,0,0,0,456,457,1,0,0,0,457,459,1,0,0,0,458,456,
185
- 1,0,0,0,459,460,5,34,0,0,460,126,1,0,0,0,461,463,7,3,0,0,462,464,
186
- 7,4,0,0,463,462,1,0,0,0,463,464,1,0,0,0,464,466,1,0,0,0,465,467,
187
- 3,129,64,0,466,465,1,0,0,0,467,468,1,0,0,0,468,466,1,0,0,0,468,469,
188
- 1,0,0,0,469,128,1,0,0,0,470,471,7,5,0,0,471,130,1,0,0,0,472,473,
189
- 7,6,0,0,473,132,1,0,0,0,474,475,5,45,0,0,475,476,5,45,0,0,476,480,
190
- 1,0,0,0,477,479,8,7,0,0,478,477,1,0,0,0,479,482,1,0,0,0,480,478,
191
- 1,0,0,0,480,481,1,0,0,0,481,484,1,0,0,0,482,480,1,0,0,0,483,485,
192
- 5,13,0,0,484,483,1,0,0,0,484,485,1,0,0,0,485,487,1,0,0,0,486,488,
193
- 5,10,0,0,487,486,1,0,0,0,487,488,1,0,0,0,488,489,1,0,0,0,489,490,
194
- 6,66,0,0,490,134,1,0,0,0,491,492,5,47,0,0,492,493,5,42,0,0,493,497,
195
- 1,0,0,0,494,496,9,0,0,0,495,494,1,0,0,0,496,499,1,0,0,0,497,498,
196
- 1,0,0,0,497,495,1,0,0,0,498,500,1,0,0,0,499,497,1,0,0,0,500,501,
197
- 5,42,0,0,501,502,5,47,0,0,502,503,1,0,0,0,503,504,6,67,0,0,504,136,
198
- 1,0,0,0,505,507,7,8,0,0,506,505,1,0,0,0,507,508,1,0,0,0,508,506,
199
- 1,0,0,0,508,509,1,0,0,0,509,510,1,0,0,0,510,511,6,68,1,0,511,138,
200
- 1,0,0,0,25,0,380,382,390,395,401,408,410,415,421,424,432,436,440,
201
- 445,447,454,456,463,468,480,484,487,497,508,2,0,1,0,6,0,0
202
- ]
203
-
204
- class MinisqlLexer(Lexer):
205
-
206
- atn = ATNDeserializer().deserialize(serializedATN())
207
-
208
- decisionsToDFA = [ DFA(ds, i) for i, ds in enumerate(atn.decisionToState) ]
209
-
210
- T__0 = 1
211
- T__1 = 2
212
- T__2 = 3
213
- T__3 = 4
214
- T__4 = 5
215
- T__5 = 6
216
- T__6 = 7
217
- T__7 = 8
218
- T__8 = 9
219
- T__9 = 10
220
- T__10 = 11
221
- T__11 = 12
222
- T__12 = 13
223
- T__13 = 14
224
- T__14 = 15
225
- T__15 = 16
226
- T__16 = 17
227
- T__17 = 18
228
- T__18 = 19
229
- ALL = 20
230
- AND = 21
231
- AS = 22
232
- ASC = 23
233
- BY = 24
234
- CASE = 25
235
- CROSS = 26
236
- DESC = 27
237
- DISTINCT = 28
238
- ELSE = 29
239
- END = 30
240
- FALSE = 31
241
- FROM = 32
242
- FULL = 33
243
- GROUP = 34
244
- HAVING = 35
245
- IN = 36
246
- INNER = 37
247
- IS = 38
248
- JOIN = 39
249
- LEFT = 40
250
- LIKE = 41
251
- NATURAL = 42
252
- NOT = 43
253
- NULL = 44
254
- ON = 45
255
- OR = 46
256
- ORDER = 47
257
- OUTER = 48
258
- OVER = 49
259
- RIGHT = 50
260
- SELECT = 51
261
- THEN = 52
262
- TRUE = 53
263
- UNION = 54
264
- WHEN = 55
265
- WHERE = 56
266
- WITH = 57
267
- STRING = 58
268
- INTEGER_VALUE = 59
269
- DECIMAL_VALUE = 60
270
- FLOAT_VALUE = 61
271
- IDENT = 62
272
- QUOTED_IDENT = 63
273
- COMMENT = 64
274
- BLOCK_COMMENT = 65
275
- WS = 66
276
-
277
- channelNames = [ u"DEFAULT_TOKEN_CHANNEL", u"HIDDEN" ]
278
-
279
- modeNames = [ "DEFAULT_MODE" ]
280
-
281
- literalNames = [ "<INVALID>",
282
- "';'", "','", "'('", "')'", "'*'", "'::'", "'.'", "'='", "'!='",
283
- "'<>'", "'<'", "'<='", "'>'", "'>='", "'+'", "'-'", "'/'", "'%'",
284
- "'||'", "'all'", "'and'", "'as'", "'asc'", "'by'", "'case'",
285
- "'cross'", "'desc'", "'distinct'", "'else'", "'end'", "'false'",
286
- "'from'", "'full'", "'group'", "'having'", "'in'", "'inner'",
287
- "'is'", "'join'", "'left'", "'like'", "'natural'", "'not'",
288
- "'null'", "'on'", "'or'", "'order'", "'outer'", "'over'", "'right'",
289
- "'select'", "'then'", "'true'", "'union'", "'when'", "'where'",
290
- "'with'" ]
291
-
292
- symbolicNames = [ "<INVALID>",
293
- "ALL", "AND", "AS", "ASC", "BY", "CASE", "CROSS", "DESC", "DISTINCT",
294
- "ELSE", "END", "FALSE", "FROM", "FULL", "GROUP", "HAVING", "IN",
295
- "INNER", "IS", "JOIN", "LEFT", "LIKE", "NATURAL", "NOT", "NULL",
296
- "ON", "OR", "ORDER", "OUTER", "OVER", "RIGHT", "SELECT", "THEN",
297
- "TRUE", "UNION", "WHEN", "WHERE", "WITH", "STRING", "INTEGER_VALUE",
298
- "DECIMAL_VALUE", "FLOAT_VALUE", "IDENT", "QUOTED_IDENT", "COMMENT",
299
- "BLOCK_COMMENT", "WS" ]
300
-
301
- ruleNames = [ "T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6",
302
- "T__7", "T__8", "T__9", "T__10", "T__11", "T__12", "T__13",
303
- "T__14", "T__15", "T__16", "T__17", "T__18", "ALL", "AND",
304
- "AS", "ASC", "BY", "CASE", "CROSS", "DESC", "DISTINCT",
305
- "ELSE", "END", "FALSE", "FROM", "FULL", "GROUP", "HAVING",
306
- "IN", "INNER", "IS", "JOIN", "LEFT", "LIKE", "NATURAL",
307
- "NOT", "NULL", "ON", "OR", "ORDER", "OUTER", "OVER", "RIGHT",
308
- "SELECT", "THEN", "TRUE", "UNION", "WHEN", "WHERE", "WITH",
309
- "STRING", "INTEGER_VALUE", "DECIMAL_VALUE", "FLOAT_VALUE",
310
- "IDENT", "QUOTED_IDENT", "EXPONENT", "DIGIT", "LETTER",
311
- "COMMENT", "BLOCK_COMMENT", "WS" ]
312
-
313
- grammarFileName = "Minisql.g4"
314
-
315
- def __init__(self, input=None, output:TextIO = sys.stdout):
316
- super().__init__(input, output)
317
- self.checkVersion("4.13.2")
318
- self._interp = LexerATNSimulator(self, self.atn, self.decisionsToDFA, PredictionContextCache())
319
- self._actions = None
320
- self._predicates = None
321
-
322
-