@opra/client 0.11.1 → 0.11.2

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 (346) hide show
  1. package/cjs/index.min.mjs +1 -0
  2. package/esm/index.min.mjs +1 -0
  3. package/package.json +6 -19
  4. package/typings/client-error.d.ts +1 -1
  5. package/typings/http/http-client.d.ts +1 -1
  6. package/typings/http/http-collection-service.d.ts +1 -1
  7. package/typings/http/http-request.d.ts +1 -1
  8. package/typings/http/http-singleton-service.d.ts +1 -1
  9. package/typings/http/http-types.d.ts +1 -1
  10. package/typings/http/requests/batch-request.d.ts +1 -1
  11. package/typings/http/requests/collection-create-request.d.ts +1 -1
  12. package/typings/http/requests/collection-delete-many-request.d.ts +1 -1
  13. package/typings/http/requests/collection-delete-request.d.ts +1 -1
  14. package/typings/http/requests/collection-get-request.d.ts +1 -1
  15. package/typings/http/requests/collection-search-request.d.ts +1 -1
  16. package/typings/http/requests/collection-update-many-request.d.ts +1 -1
  17. package/typings/http/requests/collection-update-request.d.ts +1 -1
  18. package/typings/http/requests/http-singleton-get-request.d.ts +1 -1
  19. package/typings/interfaces/http-options.interface.d.ts +1 -1
  20. package/typings/interfaces/http-request-config.interface.d.ts +1 -1
  21. package/cjs/934.min.cjs +0 -1
  22. package/cjs/main.min.cjs +0 -2
  23. package/cjs/main.min.cjs.LICENSE.txt +0 -13
  24. package/esm/934.min.mjs +0 -1
  25. package/esm/main.min.mjs +0 -2
  26. package/esm/main.min.mjs.LICENSE.txt +0 -13
  27. package/typings/antlr4ts/ANTLRErrorListener.d.ts +0 -43
  28. package/typings/antlr4ts/ANTLRErrorStrategy.d.ts +0 -109
  29. package/typings/antlr4ts/ANTLRInputStream.d.ts +0 -51
  30. package/typings/antlr4ts/BailErrorStrategy.d.ts +0 -48
  31. package/typings/antlr4ts/BufferedTokenStream.d.ts +0 -143
  32. package/typings/antlr4ts/CharStream.d.ts +0 -26
  33. package/typings/antlr4ts/CharStreams.d.ts +0 -54
  34. package/typings/antlr4ts/CodePointBuffer.d.ts +0 -40
  35. package/typings/antlr4ts/CodePointCharStream.d.ts +0 -45
  36. package/typings/antlr4ts/CommonToken.d.ts +0 -116
  37. package/typings/antlr4ts/CommonTokenFactory.d.ts +0 -53
  38. package/typings/antlr4ts/CommonTokenStream.d.ts +0 -52
  39. package/typings/antlr4ts/ConsoleErrorListener.d.ts +0 -29
  40. package/typings/antlr4ts/Decorators.d.ts +0 -8
  41. package/typings/antlr4ts/DefaultErrorStrategy.d.ts +0 -347
  42. package/typings/antlr4ts/Dependents.d.ts +0 -69
  43. package/typings/antlr4ts/DiagnosticErrorListener.d.ts +0 -60
  44. package/typings/antlr4ts/FailedPredicateException.d.ts +0 -21
  45. package/typings/antlr4ts/InputMismatchException.d.ts +0 -14
  46. package/typings/antlr4ts/IntStream.d.ts +0 -197
  47. package/typings/antlr4ts/InterpreterRuleContext.d.ts +0 -33
  48. package/typings/antlr4ts/Lexer.d.ts +0 -141
  49. package/typings/antlr4ts/LexerInterpreter.d.ts +0 -23
  50. package/typings/antlr4ts/LexerNoViableAltException.d.ts +0 -19
  51. package/typings/antlr4ts/ListTokenSource.d.ts +0 -86
  52. package/typings/antlr4ts/NoViableAltException.d.ts +0 -30
  53. package/typings/antlr4ts/Parser.d.ts +0 -372
  54. package/typings/antlr4ts/ParserErrorListener.d.ts +0 -112
  55. package/typings/antlr4ts/ParserInterpreter.d.ts +0 -151
  56. package/typings/antlr4ts/ParserRuleContext.d.ts +0 -169
  57. package/typings/antlr4ts/ProxyErrorListener.d.ts +0 -20
  58. package/typings/antlr4ts/ProxyParserErrorListener.d.ts +0 -21
  59. package/typings/antlr4ts/RecognitionException.d.ts +0 -87
  60. package/typings/antlr4ts/Recognizer.d.ts +0 -101
  61. package/typings/antlr4ts/RuleContext.d.ts +0 -124
  62. package/typings/antlr4ts/RuleContextWithAltNum.d.ts +0 -22
  63. package/typings/antlr4ts/RuleDependency.d.ts +0 -32
  64. package/typings/antlr4ts/RuleVersion.d.ts +0 -11
  65. package/typings/antlr4ts/Token.d.ts +0 -83
  66. package/typings/antlr4ts/TokenFactory.d.ts +0 -23
  67. package/typings/antlr4ts/TokenSource.d.ts +0 -67
  68. package/typings/antlr4ts/TokenStream.d.ts +0 -145
  69. package/typings/antlr4ts/TokenStreamRewriter.d.ts +0 -216
  70. package/typings/antlr4ts/Vocabulary.d.ts +0 -117
  71. package/typings/antlr4ts/VocabularyImpl.d.ts +0 -47
  72. package/typings/antlr4ts/WritableToken.d.ts +0 -13
  73. package/typings/antlr4ts/atn/ATN.d.ts +0 -123
  74. package/typings/antlr4ts/atn/ATNConfig.d.ts +0 -140
  75. package/typings/antlr4ts/atn/ATNConfigSet.d.ts +0 -113
  76. package/typings/antlr4ts/atn/ATNDeserializationOptions.d.ts +0 -26
  77. package/typings/antlr4ts/atn/ATNDeserializer.d.ts +0 -86
  78. package/typings/antlr4ts/atn/ATNSimulator.d.ts +0 -28
  79. package/typings/antlr4ts/atn/ATNState.d.ts +0 -111
  80. package/typings/antlr4ts/atn/ATNStateType.d.ts +0 -19
  81. package/typings/antlr4ts/atn/ATNType.d.ts +0 -19
  82. package/typings/antlr4ts/atn/AbstractPredicateTransition.d.ts +0 -13
  83. package/typings/antlr4ts/atn/ActionTransition.d.ts +0 -17
  84. package/typings/antlr4ts/atn/AmbiguityInfo.d.ts +0 -60
  85. package/typings/antlr4ts/atn/AtomTransition.d.ts +0 -18
  86. package/typings/antlr4ts/atn/BasicBlockStartState.d.ts +0 -13
  87. package/typings/antlr4ts/atn/BasicState.d.ts +0 -13
  88. package/typings/antlr4ts/atn/BlockEndState.d.ts +0 -12
  89. package/typings/antlr4ts/atn/BlockStartState.d.ts +0 -10
  90. package/typings/antlr4ts/atn/CodePointTransitions.d.ts +0 -27
  91. package/typings/antlr4ts/atn/ConflictInfo.d.ts +0 -35
  92. package/typings/antlr4ts/atn/ContextSensitivityInfo.d.ts +0 -39
  93. package/typings/antlr4ts/atn/DecisionEventInfo.d.ts +0 -54
  94. package/typings/antlr4ts/atn/DecisionInfo.d.ts +0 -201
  95. package/typings/antlr4ts/atn/DecisionState.d.ts +0 -10
  96. package/typings/antlr4ts/atn/EpsilonTransition.d.ts +0 -24
  97. package/typings/antlr4ts/atn/ErrorInfo.d.ts +0 -32
  98. package/typings/antlr4ts/atn/InvalidState.d.ts +0 -13
  99. package/typings/antlr4ts/atn/LL1Analyzer.d.ts +0 -98
  100. package/typings/antlr4ts/atn/LexerATNSimulator.d.ts +0 -153
  101. package/typings/antlr4ts/atn/LexerAction.d.ts +0 -47
  102. package/typings/antlr4ts/atn/LexerActionExecutor.d.ts +0 -104
  103. package/typings/antlr4ts/atn/LexerActionType.d.ts +0 -44
  104. package/typings/antlr4ts/atn/LexerChannelAction.d.ts +0 -48
  105. package/typings/antlr4ts/atn/LexerCustomAction.d.ts +0 -73
  106. package/typings/antlr4ts/atn/LexerIndexedCustomAction.d.ts +0 -74
  107. package/typings/antlr4ts/atn/LexerModeAction.d.ts +0 -48
  108. package/typings/antlr4ts/atn/LexerMoreAction.d.ts +0 -47
  109. package/typings/antlr4ts/atn/LexerPopModeAction.d.ts +0 -47
  110. package/typings/antlr4ts/atn/LexerPushModeAction.d.ts +0 -48
  111. package/typings/antlr4ts/atn/LexerSkipAction.d.ts +0 -47
  112. package/typings/antlr4ts/atn/LexerTypeAction.d.ts +0 -47
  113. package/typings/antlr4ts/atn/LookaheadEventInfo.d.ts +0 -37
  114. package/typings/antlr4ts/atn/LoopEndState.d.ts +0 -11
  115. package/typings/antlr4ts/atn/NotSetTransition.d.ts +0 -14
  116. package/typings/antlr4ts/atn/OrderedATNConfigSet.d.ts +0 -23
  117. package/typings/antlr4ts/atn/ParseInfo.d.ts +0 -79
  118. package/typings/antlr4ts/atn/ParserATNSimulator.d.ts +0 -567
  119. package/typings/antlr4ts/atn/PlusBlockStartState.d.ts +0 -16
  120. package/typings/antlr4ts/atn/PlusLoopbackState.d.ts +0 -12
  121. package/typings/antlr4ts/atn/PrecedencePredicateTransition.d.ts +0 -21
  122. package/typings/antlr4ts/atn/PredicateEvalInfo.d.ts +0 -54
  123. package/typings/antlr4ts/atn/PredicateTransition.d.ts +0 -25
  124. package/typings/antlr4ts/atn/PredictionContext.d.ts +0 -89
  125. package/typings/antlr4ts/atn/PredictionContextCache.d.ts +0 -40
  126. package/typings/antlr4ts/atn/PredictionMode.d.ts +0 -89
  127. package/typings/antlr4ts/atn/ProfilingATNSimulator.d.ts +0 -55
  128. package/typings/antlr4ts/atn/RangeTransition.d.ts +0 -17
  129. package/typings/antlr4ts/atn/RuleStartState.d.ts +0 -13
  130. package/typings/antlr4ts/atn/RuleStopState.d.ts +0 -15
  131. package/typings/antlr4ts/atn/RuleTransition.d.ts +0 -22
  132. package/typings/antlr4ts/atn/SemanticContext.d.ts +0 -143
  133. package/typings/antlr4ts/atn/SetTransition.d.ts +0 -17
  134. package/typings/antlr4ts/atn/SimulatorState.d.ts +0 -17
  135. package/typings/antlr4ts/atn/StarBlockStartState.d.ts +0 -10
  136. package/typings/antlr4ts/atn/StarLoopEntryState.d.ts +0 -37
  137. package/typings/antlr4ts/atn/StarLoopbackState.d.ts +0 -11
  138. package/typings/antlr4ts/atn/TokensStartState.d.ts +0 -10
  139. package/typings/antlr4ts/atn/Transition.d.ts +0 -38
  140. package/typings/antlr4ts/atn/TransitionType.d.ts +0 -16
  141. package/typings/antlr4ts/atn/WildcardTransition.d.ts +0 -13
  142. package/typings/antlr4ts/atn/index.d.ts +0 -73
  143. package/typings/antlr4ts/dfa/AcceptStateInfo.d.ts +0 -33
  144. package/typings/antlr4ts/dfa/DFA.d.ts +0 -94
  145. package/typings/antlr4ts/dfa/DFASerializer.d.ts +0 -23
  146. package/typings/antlr4ts/dfa/DFAState.d.ts +0 -95
  147. package/typings/antlr4ts/dfa/LexerDFASerializer.d.ts +0 -10
  148. package/typings/antlr4ts/dfa/index.d.ts +0 -9
  149. package/typings/antlr4ts/index.d.ts +0 -49
  150. package/typings/antlr4ts/misc/Args.d.ts +0 -13
  151. package/typings/antlr4ts/misc/Array2DHashMap.d.ts +0 -20
  152. package/typings/antlr4ts/misc/Array2DHashSet.d.ts +0 -62
  153. package/typings/antlr4ts/misc/ArrayEqualityComparator.d.ts +0 -32
  154. package/typings/antlr4ts/misc/Arrays.d.ts +0 -18
  155. package/typings/antlr4ts/misc/BitSet.d.ts +0 -268
  156. package/typings/antlr4ts/misc/Character.d.ts +0 -7
  157. package/typings/antlr4ts/misc/DefaultEqualityComparator.d.ts +0 -31
  158. package/typings/antlr4ts/misc/EqualityComparator.d.ts +0 -29
  159. package/typings/antlr4ts/misc/IntSet.d.ts +0 -129
  160. package/typings/antlr4ts/misc/IntegerList.d.ts +0 -69
  161. package/typings/antlr4ts/misc/IntegerStack.d.ts +0 -15
  162. package/typings/antlr4ts/misc/InterpreterDataReader.d.ts +0 -39
  163. package/typings/antlr4ts/misc/Interval.d.ts +0 -57
  164. package/typings/antlr4ts/misc/IntervalSet.d.ts +0 -96
  165. package/typings/antlr4ts/misc/MultiMap.d.ts +0 -9
  166. package/typings/antlr4ts/misc/MurmurHash.d.ts +0 -45
  167. package/typings/antlr4ts/misc/ObjectEqualityComparator.d.ts +0 -32
  168. package/typings/antlr4ts/misc/ParseCancellationException.d.ts +0 -18
  169. package/typings/antlr4ts/misc/Stubs.d.ts +0 -31
  170. package/typings/antlr4ts/misc/UUID.d.ts +0 -13
  171. package/typings/antlr4ts/misc/Utils.d.ts +0 -15
  172. package/typings/antlr4ts/misc/index.d.ts +0 -25
  173. package/typings/antlr4ts/tree/AbstractParseTreeVisitor.d.ts +0 -103
  174. package/typings/antlr4ts/tree/ErrorNode.d.ts +0 -17
  175. package/typings/antlr4ts/tree/ParseTree.d.ts +0 -36
  176. package/typings/antlr4ts/tree/ParseTreeListener.d.ts +0 -26
  177. package/typings/antlr4ts/tree/ParseTreeProperty.d.ts +0 -28
  178. package/typings/antlr4ts/tree/ParseTreeVisitor.d.ts +0 -48
  179. package/typings/antlr4ts/tree/ParseTreeWalker.d.ts +0 -35
  180. package/typings/antlr4ts/tree/RuleNode.d.ts +0 -21
  181. package/typings/antlr4ts/tree/SyntaxTree.d.ts +0 -29
  182. package/typings/antlr4ts/tree/TerminalNode.d.ts +0 -27
  183. package/typings/antlr4ts/tree/Tree.d.ts +0 -36
  184. package/typings/antlr4ts/tree/Trees.d.ts +0 -75
  185. package/typings/antlr4ts/tree/index.d.ts +0 -16
  186. package/typings/antlr4ts/tree/pattern/Chunk.d.ts +0 -17
  187. package/typings/antlr4ts/tree/pattern/ParseTreeMatch.d.ts +0 -124
  188. package/typings/antlr4ts/tree/pattern/ParseTreePattern.d.ts +0 -98
  189. package/typings/antlr4ts/tree/pattern/ParseTreePatternMatcher.d.ts +0 -166
  190. package/typings/antlr4ts/tree/pattern/RuleTagToken.d.ts +0 -122
  191. package/typings/antlr4ts/tree/pattern/TagChunk.d.ts +0 -59
  192. package/typings/antlr4ts/tree/pattern/TextChunk.d.ts +0 -35
  193. package/typings/antlr4ts/tree/pattern/TokenTagToken.d.ts +0 -56
  194. package/typings/antlr4ts/tree/pattern/index.d.ts +0 -9
  195. package/typings/antlr4ts/tree/xpath/XPath.d.ts +0 -66
  196. package/typings/antlr4ts/tree/xpath/XPathElement.d.ts +0 -19
  197. package/typings/antlr4ts/tree/xpath/XPathLexer.d.ts +0 -36
  198. package/typings/antlr4ts/tree/xpath/XPathLexerErrorListener.d.ts +0 -10
  199. package/typings/antlr4ts/tree/xpath/XPathRuleAnywhereElement.d.ts +0 -14
  200. package/typings/antlr4ts/tree/xpath/XPathRuleElement.d.ts +0 -11
  201. package/typings/antlr4ts/tree/xpath/XPathTokenAnywhereElement.d.ts +0 -11
  202. package/typings/antlr4ts/tree/xpath/XPathTokenElement.d.ts +0 -11
  203. package/typings/antlr4ts/tree/xpath/XPathWildcardAnywhereElement.d.ts +0 -10
  204. package/typings/antlr4ts/tree/xpath/XPathWildcardElement.d.ts +0 -10
  205. package/typings/antlr4ts/tree/xpath/index.d.ts +0 -14
  206. package/typings/common/constants.d.ts +0 -0
  207. package/typings/common/exception/enums/issue-severity.enum.d.ts +0 -13
  208. package/typings/common/exception/error-issue.d.ts +0 -9
  209. package/typings/common/exception/http-errors/bad-request.error.d.ts +0 -10
  210. package/typings/common/exception/http-errors/failed-dependency.error.d.ts +0 -9
  211. package/typings/common/exception/http-errors/forbidden.error.d.ts +0 -11
  212. package/typings/common/exception/http-errors/internal-server.error.d.ts +0 -9
  213. package/typings/common/exception/http-errors/method-not-allowed.error.d.ts +0 -10
  214. package/typings/common/exception/http-errors/not-acceptable.error.d.ts +0 -10
  215. package/typings/common/exception/http-errors/not-found.error.d.ts +0 -13
  216. package/typings/common/exception/http-errors/unauthorized.error.d.ts +0 -10
  217. package/typings/common/exception/http-errors/unprocessable-entity.error.d.ts +0 -9
  218. package/typings/common/exception/index.d.ts +0 -15
  219. package/typings/common/exception/opra-exception.d.ts +0 -15
  220. package/typings/common/exception/resource-errors/resource-conflict.error.d.ts +0 -5
  221. package/typings/common/exception/resource-errors/resource-not-found.error.d.ts +0 -4
  222. package/typings/common/exception/wrap-exception.d.ts +0 -2
  223. package/typings/common/filter/antlr/OpraFilterLexer.d.ts +0 -78
  224. package/typings/common/filter/antlr/OpraFilterParser.d.ts +0 -365
  225. package/typings/common/filter/antlr/OpraFilterVisitor.d.ts +0 -290
  226. package/typings/common/filter/ast/abstract/ast.d.ts +0 -5
  227. package/typings/common/filter/ast/abstract/expression.d.ts +0 -3
  228. package/typings/common/filter/ast/abstract/literal.d.ts +0 -6
  229. package/typings/common/filter/ast/abstract/term.d.ts +0 -3
  230. package/typings/common/filter/ast/expressions/arithmetic-expression.d.ts +0 -13
  231. package/typings/common/filter/ast/expressions/array-expression.d.ts +0 -7
  232. package/typings/common/filter/ast/expressions/comparison-expression.d.ts +0 -10
  233. package/typings/common/filter/ast/expressions/logical-expression.d.ts +0 -8
  234. package/typings/common/filter/ast/expressions/parentheses-expression.d.ts +0 -6
  235. package/typings/common/filter/ast/index.d.ts +0 -16
  236. package/typings/common/filter/ast/terms/boolean-literal.d.ts +0 -5
  237. package/typings/common/filter/ast/terms/date-literal.d.ts +0 -6
  238. package/typings/common/filter/ast/terms/external-constant.d.ts +0 -5
  239. package/typings/common/filter/ast/terms/null-literal.d.ts +0 -5
  240. package/typings/common/filter/ast/terms/number-literal.d.ts +0 -6
  241. package/typings/common/filter/ast/terms/qualified-identifier.d.ts +0 -4
  242. package/typings/common/filter/ast/terms/string-literal.d.ts +0 -5
  243. package/typings/common/filter/ast/terms/time-literal.d.ts +0 -6
  244. package/typings/common/filter/build.d.ts +0 -31
  245. package/typings/common/filter/error-listener.d.ts +0 -8
  246. package/typings/common/filter/errors.d.ts +0 -20
  247. package/typings/common/filter/filter-tree-visitor.d.ts +0 -30
  248. package/typings/common/filter/index.d.ts +0 -5
  249. package/typings/common/filter/parse.d.ts +0 -2
  250. package/typings/common/filter/utils.d.ts +0 -2
  251. package/typings/common/helpers/index.d.ts +0 -1
  252. package/typings/common/helpers/responsive-map.d.ts +0 -18
  253. package/typings/common/http/enums/http-headers.enum.d.ts +0 -379
  254. package/typings/common/http/enums/http-status.enum.d.ts +0 -290
  255. package/typings/common/http/http-request.d.ts +0 -34
  256. package/typings/common/http/index.d.ts +0 -6
  257. package/typings/common/http/interfaces/client-http-headers.interface.d.ts +0 -65
  258. package/typings/common/http/interfaces/server-http-headers.interface.d.ts +0 -1
  259. package/typings/common/http/multipart/batch-multipart.d.ts +0 -31
  260. package/typings/common/http/multipart/http-request-content.d.ts +0 -8
  261. package/typings/common/http/multipart/http-response-content.d.ts +0 -7
  262. package/typings/common/http/multipart/index.d.ts +0 -1
  263. package/typings/common/http/utils/normalize-headers.d.ts +0 -1
  264. package/typings/common/i18n/i18n.d.ts +0 -28
  265. package/typings/common/i18n/index.d.ts +0 -5
  266. package/typings/common/i18n/string-utils.d.ts +0 -2
  267. package/typings/common/i18n/translate.d.ts +0 -4
  268. package/typings/common/index.d.ts +0 -10
  269. package/typings/common/schema/constants.d.ts +0 -8
  270. package/typings/common/schema/decorators/opr-collection-resource.decorator.d.ts +0 -8
  271. package/typings/common/schema/decorators/opr-complex-type.decorator.d.ts +0 -6
  272. package/typings/common/schema/decorators/opr-field.decorator.d.ts +0 -3
  273. package/typings/common/schema/decorators/opr-resolver.decorator.d.ts +0 -8
  274. package/typings/common/schema/decorators/opr-simple-type.decorator.d.ts +0 -6
  275. package/typings/common/schema/decorators/opr-singleton-resource.decorator.d.ts +0 -8
  276. package/typings/common/schema/implementation/data-type/builtin/any.type.d.ts +0 -2
  277. package/typings/common/schema/implementation/data-type/builtin/base64-binary.type.d.ts +0 -2
  278. package/typings/common/schema/implementation/data-type/builtin/bigint.type.d.ts +0 -2
  279. package/typings/common/schema/implementation/data-type/builtin/boolean.type.d.ts +0 -2
  280. package/typings/common/schema/implementation/data-type/builtin/date-string.type.d.ts +0 -2
  281. package/typings/common/schema/implementation/data-type/builtin/date.type.d.ts +0 -2
  282. package/typings/common/schema/implementation/data-type/builtin/guid.type.d.ts +0 -2
  283. package/typings/common/schema/implementation/data-type/builtin/integer.type.d.ts +0 -2
  284. package/typings/common/schema/implementation/data-type/builtin/number.type.d.ts +0 -2
  285. package/typings/common/schema/implementation/data-type/builtin/object.type.d.ts +0 -2
  286. package/typings/common/schema/implementation/data-type/builtin/string.type.d.ts +0 -2
  287. package/typings/common/schema/implementation/data-type/builtin-data-types.d.ts +0 -4
  288. package/typings/common/schema/implementation/data-type/complex-type.d.ts +0 -29
  289. package/typings/common/schema/implementation/data-type/data-type.d.ts +0 -16
  290. package/typings/common/schema/implementation/data-type/simple-type.d.ts +0 -12
  291. package/typings/common/schema/implementation/data-type/union-type.d.ts +0 -16
  292. package/typings/common/schema/implementation/document-builder.d.ts +0 -16
  293. package/typings/common/schema/implementation/opra-document.d.ts +0 -44
  294. package/typings/common/schema/implementation/query/collection-count-query.d.ts +0 -14
  295. package/typings/common/schema/implementation/query/collection-create-query.d.ts +0 -18
  296. package/typings/common/schema/implementation/query/collection-delete-many-query.d.ts +0 -14
  297. package/typings/common/schema/implementation/query/collection-delete-query.d.ts +0 -10
  298. package/typings/common/schema/implementation/query/collection-get-query.d.ts +0 -21
  299. package/typings/common/schema/implementation/query/collection-search-query.d.ts +0 -30
  300. package/typings/common/schema/implementation/query/collection-update-many-query.d.ts +0 -15
  301. package/typings/common/schema/implementation/query/collection-update-query.d.ts +0 -19
  302. package/typings/common/schema/implementation/query/field-get-query.d.ts +0 -30
  303. package/typings/common/schema/implementation/query/index.d.ts +0 -27
  304. package/typings/common/schema/implementation/query/singleton-get-query.d.ts +0 -20
  305. package/typings/common/schema/implementation/resource/collection-resource-info.d.ts +0 -19
  306. package/typings/common/schema/implementation/resource/container-resource-info.d.ts +0 -13
  307. package/typings/common/schema/implementation/resource/resource-info.d.ts +0 -17
  308. package/typings/common/schema/implementation/resource/singleton-resource-info.d.ts +0 -14
  309. package/typings/common/schema/implementation/schema-builder/extract-resource-metadata.util.d.ts +0 -3
  310. package/typings/common/schema/implementation/schema-builder/extract-type-metadata.util.d.ts +0 -4
  311. package/typings/common/schema/index.d.ts +0 -25
  312. package/typings/common/schema/interfaces/child-field-query.interface.d.ts +0 -4
  313. package/typings/common/schema/interfaces/data-type.metadata.d.ts +0 -18
  314. package/typings/common/schema/interfaces/resource-container.interface.d.ts +0 -8
  315. package/typings/common/schema/interfaces/resource.metadata.d.ts +0 -18
  316. package/typings/common/schema/opra-schema.definition.d.ts +0 -178
  317. package/typings/common/schema/type-helpers/extend-type.helper.d.ts +0 -3
  318. package/typings/common/schema/type-helpers/mixin-type.helper.d.ts +0 -2
  319. package/typings/common/schema/type-helpers/mixin.utils.d.ts +0 -3
  320. package/typings/common/schema/types.d.ts +0 -14
  321. package/typings/common/schema/utils/class.utils.d.ts +0 -2
  322. package/typings/common/schema/utils/clone-object.util.d.ts +0 -1
  323. package/typings/common/schema/utils/inspect.util.d.ts +0 -4
  324. package/typings/common/schema/utils/normalize-field-array.util.d.ts +0 -3
  325. package/typings/common/schema/utils/path-to-tree.util.d.ts +0 -4
  326. package/typings/common/schema/utils/string-compare.util.d.ts +0 -1
  327. package/typings/common/url/formats/boolean-format.d.ts +0 -5
  328. package/typings/common/url/formats/date-format.d.ts +0 -16
  329. package/typings/common/url/formats/filter-format.d.ts +0 -6
  330. package/typings/common/url/formats/format.d.ts +0 -4
  331. package/typings/common/url/formats/integer-format.d.ts +0 -9
  332. package/typings/common/url/formats/number-format.d.ts +0 -12
  333. package/typings/common/url/formats/string-format.d.ts +0 -14
  334. package/typings/common/url/index.d.ts +0 -5
  335. package/typings/common/url/opra-url-path-component.d.ts +0 -15
  336. package/typings/common/url/opra-url-path.d.ts +0 -30
  337. package/typings/common/url/opra-url-search-params.d.ts +0 -44
  338. package/typings/common/url/opra-url.d.ts +0 -79
  339. package/typings/common/url/utils/path-utils.d.ts +0 -8
  340. package/typings/common/utils/index.d.ts +0 -3
  341. package/typings/common/utils/is-url.d.ts +0 -1
  342. package/typings/common/utils/path-to-tree.d.ts +0 -4
  343. package/typings/common/utils/type-guards.d.ts +0 -9
  344. package/umd/934.min.cjs +0 -1
  345. package/umd/main.min.cjs +0 -2
  346. package/umd/main.min.cjs.LICENSE.txt +0 -13
@@ -1,60 +0,0 @@
1
- /*!
2
- * Copyright 2016 The ANTLR Project. All rights reserved.
3
- * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
4
- */
5
- import { ATNConfigSet } from "./atn/ATNConfigSet";
6
- import { BitSet } from "./misc/BitSet";
7
- import { DFA } from "./dfa/DFA";
8
- import { Parser } from "./Parser";
9
- import { ParserErrorListener } from "./ParserErrorListener";
10
- import { RecognitionException } from "./RecognitionException";
11
- import { Recognizer } from "./Recognizer";
12
- import { SimulatorState } from "./atn/SimulatorState";
13
- import { Token } from "./Token";
14
- /**
15
- * This implementation of {@link ANTLRErrorListener} can be used to identify
16
- * certain potential correctness and performance problems in grammars. "Reports"
17
- * are made by calling {@link Parser#notifyErrorListeners} with the appropriate
18
- * message.
19
- *
20
- * * **Ambiguities**: These are cases where more than one path through the
21
- * grammar can match the input.
22
- * * **Weak context sensitivity**: These are cases where full-context
23
- * prediction resolved an SLL conflict to a unique alternative which equaled the
24
- * minimum alternative of the SLL conflict.
25
- * * **Strong (forced) context sensitivity**: These are cases where the
26
- * full-context prediction resolved an SLL conflict to a unique alternative,
27
- * *and* the minimum alternative of the SLL conflict was found to not be
28
- * a truly viable alternative. Two-stage parsing cannot be used for inputs where
29
- * this situation occurs.
30
- *
31
- * @author Sam Harwell
32
- */
33
- export declare class DiagnosticErrorListener implements ParserErrorListener {
34
- protected exactOnly: boolean;
35
- /**
36
- * Initializes a new instance of {@link DiagnosticErrorListener}, specifying
37
- * whether all ambiguities or only exact ambiguities are reported.
38
- *
39
- * @param exactOnly `true` to report only exact ambiguities, otherwise
40
- * `false` to report all ambiguities. Defaults to true.
41
- */
42
- constructor(exactOnly?: boolean);
43
- syntaxError<T extends Token>(recognizer: Recognizer<T, any>, offendingSymbol: T | undefined, line: number, charPositionInLine: number, msg: string, e: RecognitionException | undefined): void;
44
- reportAmbiguity(recognizer: Parser, dfa: DFA, startIndex: number, stopIndex: number, exact: boolean, ambigAlts: BitSet | undefined, configs: ATNConfigSet): void;
45
- reportAttemptingFullContext(recognizer: Parser, dfa: DFA, startIndex: number, stopIndex: number, conflictingAlts: BitSet | undefined, conflictState: SimulatorState): void;
46
- reportContextSensitivity(recognizer: Parser, dfa: DFA, startIndex: number, stopIndex: number, prediction: number, acceptState: SimulatorState): void;
47
- protected getDecisionDescription(recognizer: Parser, dfa: DFA): string;
48
- /**
49
- * Computes the set of conflicting or ambiguous alternatives from a
50
- * configuration set, if that information was not already provided by the
51
- * parser.
52
- *
53
- * @param reportedAlts The set of conflicting or ambiguous alternatives, as
54
- * reported by the parser.
55
- * @param configs The conflicting or ambiguous configuration set.
56
- * @returns Returns `reportedAlts` if it is not `undefined`, otherwise
57
- * returns the set of alternatives represented in `configs`.
58
- */
59
- protected getConflictingAlts(reportedAlts: BitSet | undefined, configs: ATNConfigSet): BitSet;
60
- }
@@ -1,21 +0,0 @@
1
- /*!
2
- * Copyright 2016 The ANTLR Project. All rights reserved.
3
- * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
4
- */
5
- import { Parser } from "./Parser";
6
- import { RecognitionException } from "./RecognitionException";
7
- /** A semantic predicate failed during validation. Validation of predicates
8
- * occurs when normally parsing the alternative just like matching a token.
9
- * Disambiguating predicate evaluation occurs when we test a predicate during
10
- * prediction.
11
- */
12
- export declare class FailedPredicateException extends RecognitionException {
13
- private _ruleIndex;
14
- private _predicateIndex;
15
- private _predicate?;
16
- constructor(recognizer: Parser, predicate?: string, message?: string);
17
- get ruleIndex(): number;
18
- get predicateIndex(): number;
19
- get predicate(): string | undefined;
20
- private static formatMessage;
21
- }
@@ -1,14 +0,0 @@
1
- /*!
2
- * Copyright 2016 The ANTLR Project. All rights reserved.
3
- * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
4
- */
5
- import { RecognitionException } from "./RecognitionException";
6
- import { Parser } from "./Parser";
7
- import { ParserRuleContext } from "./ParserRuleContext";
8
- /** This signifies any kind of mismatched input exceptions such as
9
- * when the current input does not match the expected token.
10
- */
11
- export declare class InputMismatchException extends RecognitionException {
12
- constructor(/*@NotNull*/ recognizer: Parser);
13
- constructor(/*@NotNull*/ recognizer: Parser, state: number, context: ParserRuleContext);
14
- }
@@ -1,197 +0,0 @@
1
- /*!
2
- * Copyright 2016 The ANTLR Project. All rights reserved.
3
- * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
4
- */
5
- export declare namespace IntStream {
6
- /**
7
- * The value returned by {@link #LA LA()} when the end of the stream is
8
- * reached.
9
- */
10
- const EOF: number;
11
- /**
12
- * The value returned by {@link #getSourceName} when the actual name of the
13
- * underlying source is not known.
14
- */
15
- const UNKNOWN_SOURCE_NAME: string;
16
- }
17
- /**
18
- * A simple stream of symbols whose values are represented as integers. This
19
- * interface provides *marked ranges* with support for a minimum level
20
- * of buffering necessary to implement arbitrary lookahead during prediction.
21
- * For more information on marked ranges, see {@link #mark}.
22
- *
23
- * **Initializing Methods:** Some methods in this interface have
24
- * unspecified behavior if no call to an initializing method has occurred after
25
- * the stream was constructed. The following is a list of initializing methods:
26
- *
27
- * * {@link #LA}
28
- * * {@link #consume}
29
- * * {@link #size}
30
- */
31
- export interface IntStream {
32
- /**
33
- * Consumes the current symbol in the stream. This method has the following
34
- * effects:
35
- *
36
- * * **Forward movement:** The value of `index`
37
- * before calling this method is less than the value of `index`
38
- * after calling this method.
39
- * * **Ordered lookahead:** The value of `LA(1)` before
40
- * calling this method becomes the value of `LA(-1)` after calling
41
- * this method.
42
- *
43
- * Note that calling this method does not guarantee that `index` is
44
- * incremented by exactly 1, as that would preclude the ability to implement
45
- * filtering streams (e.g. {@link CommonTokenStream} which distinguishes
46
- * between "on-channel" and "off-channel" tokens).
47
- *
48
- * @throws IllegalStateException if an attempt is made to consume the
49
- * end of the stream (i.e. if `LA(1)==`{@link #EOF EOF} before calling
50
- * `consume`).
51
- */
52
- consume(): void;
53
- /**
54
- * Gets the value of the symbol at offset `i` from the current
55
- * position. When `i==1`, this method returns the value of the current
56
- * symbol in the stream (which is the next symbol to be consumed). When
57
- * `i==-1`, this method returns the value of the previously read
58
- * symbol in the stream. It is not valid to call this method with
59
- * `i==0`, but the specific behavior is unspecified because this
60
- * method is frequently called from performance-critical code.
61
- *
62
- * This method is guaranteed to succeed if any of the following are true:
63
- *
64
- * * `i>0`
65
- * * `i==-1` and `index` returns a value greater
66
- * than the value of `index` after the stream was constructed
67
- * and `LA(1)` was called in that order. Specifying the current
68
- * `index` relative to the index after the stream was created
69
- * allows for filtering implementations that do not return every symbol
70
- * from the underlying source. Specifying the call to `LA(1)`
71
- * allows for lazily initialized streams.
72
- * * `LA(i)` refers to a symbol consumed within a marked region
73
- * that has not yet been released.
74
- *
75
- * If `i` represents a position at or beyond the end of the stream,
76
- * this method returns {@link #EOF}.
77
- *
78
- * The return value is unspecified if `i<0` and fewer than `-i`
79
- * calls to {@link #consume consume()} have occurred from the beginning of
80
- * the stream before calling this method.
81
- *
82
- * @throws UnsupportedOperationException if the stream does not support
83
- * retrieving the value of the specified symbol
84
- */
85
- LA(i: number): number;
86
- /**
87
- * A mark provides a guarantee that {@link #seek seek()} operations will be
88
- * valid over a "marked range" extending from the index where `mark()`
89
- * was called to the current `index`. This allows the use of
90
- * streaming input sources by specifying the minimum buffering requirements
91
- * to support arbitrary lookahead during prediction.
92
- *
93
- * The returned mark is an opaque handle (type `int`) which is passed
94
- * to {@link #release release()} when the guarantees provided by the marked
95
- * range are no longer necessary. When calls to
96
- * `mark()`/`release()` are nested, the marks must be released
97
- * in reverse order of which they were obtained. Since marked regions are
98
- * used during performance-critical sections of prediction, the specific
99
- * behavior of invalid usage is unspecified (i.e. a mark is not released, or
100
- * a mark is released twice, or marks are not released in reverse order from
101
- * which they were created).
102
- *
103
- * The behavior of this method is unspecified if no call to an
104
- * {@link IntStream initializing method} has occurred after this stream was
105
- * constructed.
106
- *
107
- * This method does not change the current position in the input stream.
108
- *
109
- * The following example shows the use of {@link #mark mark()},
110
- * {@link #release release(mark)}, `index`, and
111
- * {@link #seek seek(index)} as part of an operation to safely work within a
112
- * marked region, then restore the stream position to its original value and
113
- * release the mark.
114
- *
115
- * ```
116
- * IntStream stream = ...;
117
- * int index = -1;
118
- * int mark = stream.mark();
119
- * try {
120
- * index = stream.index;
121
- * // perform work here...
122
- * } finally {
123
- * if (index != -1) {
124
- * stream.seek(index);
125
- * }
126
- * stream.release(mark);
127
- * }
128
- * ```
129
- *
130
- * @returns An opaque marker which should be passed to
131
- * {@link #release release()} when the marked range is no longer required.
132
- */
133
- mark(): number;
134
- /**
135
- * This method releases a marked range created by a call to
136
- * {@link #mark mark()}. Calls to `release()` must appear in the
137
- * reverse order of the corresponding calls to `mark()`. If a mark is
138
- * released twice, or if marks are not released in reverse order of the
139
- * corresponding calls to `mark()`, the behavior is unspecified.
140
- *
141
- * For more information and an example, see {@link #mark}.
142
- *
143
- * @param marker A marker returned by a call to `mark()`.
144
- * @see #mark
145
- */
146
- release(marker: number): void;
147
- /**
148
- * Return the index into the stream of the input symbol referred to by
149
- * `LA(1)`.
150
- *
151
- * The behavior of this method is unspecified if no call to an
152
- * {@link IntStream initializing method} has occurred after this stream was
153
- * constructed.
154
- */
155
- readonly index: number;
156
- /**
157
- * Set the input cursor to the position indicated by `index`. If the
158
- * specified index lies past the end of the stream, the operation behaves as
159
- * though `index` was the index of the EOF symbol. After this method
160
- * returns without throwing an exception, then at least one of the following
161
- * will be true.
162
- *
163
- * * `index` will return the index of the first symbol
164
- * appearing at or after the specified `index`. Specifically,
165
- * implementations which filter their sources should automatically
166
- * adjust `index` forward the minimum amount required for the
167
- * operation to target a non-ignored symbol.
168
- * * `LA(1)` returns {@link #EOF}
169
- *
170
- * This operation is guaranteed to not throw an exception if `index`
171
- * lies within a marked region. For more information on marked regions, see
172
- * {@link #mark}. The behavior of this method is unspecified if no call to
173
- * an {@link IntStream initializing method} has occurred after this stream
174
- * was constructed.
175
- *
176
- * @param index The absolute index to seek to.
177
- *
178
- * @throws IllegalArgumentException if `index` is less than 0
179
- * @throws UnsupportedOperationException if the stream does not support
180
- * seeking to the specified index
181
- */
182
- seek(index: number): void;
183
- /**
184
- * Returns the total number of symbols in the stream, including a single EOF
185
- * symbol.
186
- *
187
- * @throws UnsupportedOperationException if the size of the stream is
188
- * unknown.
189
- */
190
- readonly size: number;
191
- /**
192
- * Gets the name of the underlying symbol source. This method returns a
193
- * non-undefined, non-empty string. If such a name is not known, this method
194
- * returns {@link #UNKNOWN_SOURCE_NAME}.
195
- */
196
- readonly sourceName: string;
197
- }
@@ -1,33 +0,0 @@
1
- /*!
2
- * Copyright 2016 The ANTLR Project. All rights reserved.
3
- * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
4
- */
5
- import { ParserRuleContext } from "./ParserRuleContext";
6
- /**
7
- * This class extends {@link ParserRuleContext} by allowing the value of
8
- * {@link #getRuleIndex} to be explicitly set for the context.
9
- *
10
- * {@link ParserRuleContext} does not include field storage for the rule index
11
- * since the context classes created by the code generator override the
12
- * {@link #getRuleIndex} method to return the correct value for that context.
13
- * Since the parser interpreter does not use the context classes generated for a
14
- * parser, this class (with slightly more memory overhead per node) is used to
15
- * provide equivalent functionality.
16
- */
17
- export declare class InterpreterRuleContext extends ParserRuleContext {
18
- /**
19
- * This is the backing field for {@link #getRuleIndex}.
20
- */
21
- private _ruleIndex;
22
- constructor(ruleIndex: number);
23
- /**
24
- * Constructs a new {@link InterpreterRuleContext} with the specified
25
- * parent, invoking state, and rule index.
26
- *
27
- * @param ruleIndex The rule index for the current context.
28
- * @param parent The parent context.
29
- * @param invokingStateNumber The invoking state number.
30
- */
31
- constructor(ruleIndex: number, parent: ParserRuleContext | undefined, invokingStateNumber: number);
32
- get ruleIndex(): number;
33
- }
@@ -1,141 +0,0 @@
1
- /*!
2
- * Copyright 2016 The ANTLR Project. All rights reserved.
3
- * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
4
- */
5
- import { CharStream } from "./CharStream";
6
- import { IntegerStack } from "./misc/IntegerStack";
7
- import { LexerATNSimulator } from "./atn/LexerATNSimulator";
8
- import { LexerNoViableAltException } from "./LexerNoViableAltException";
9
- import { RecognitionException } from "./RecognitionException";
10
- import { Recognizer } from "./Recognizer";
11
- import { Token } from "./Token";
12
- import { TokenFactory } from "./TokenFactory";
13
- import { TokenSource } from "./TokenSource";
14
- /** A lexer is recognizer that draws input symbols from a character stream.
15
- * lexer grammars result in a subclass of this object. A Lexer object
16
- * uses simplified match() and error recovery mechanisms in the interest
17
- * of speed.
18
- */
19
- export declare abstract class Lexer extends Recognizer<number, LexerATNSimulator> implements TokenSource {
20
- static readonly DEFAULT_MODE: number;
21
- static readonly MORE: number;
22
- static readonly SKIP: number;
23
- static get DEFAULT_TOKEN_CHANNEL(): number;
24
- static get HIDDEN(): number;
25
- static readonly MIN_CHAR_VALUE: number;
26
- static readonly MAX_CHAR_VALUE: number;
27
- _input: CharStream;
28
- protected _tokenFactorySourcePair: {
29
- source: TokenSource;
30
- stream: CharStream;
31
- };
32
- /** How to create token objects */
33
- protected _factory: TokenFactory;
34
- /** The goal of all lexer rules/methods is to create a token object.
35
- * This is an instance variable as multiple rules may collaborate to
36
- * create a single token. nextToken will return this object after
37
- * matching lexer rule(s). If you subclass to allow multiple token
38
- * emissions, then set this to the last token to be matched or
39
- * something non-undefined so that the auto token emit mechanism will not
40
- * emit another token.
41
- */
42
- _token: Token | undefined;
43
- /** What character index in the stream did the current token start at?
44
- * Needed, for example, to get the text for current token. Set at
45
- * the start of nextToken.
46
- */
47
- _tokenStartCharIndex: number;
48
- /** The line on which the first character of the token resides */
49
- _tokenStartLine: number;
50
- /** The character position of first character within the line */
51
- _tokenStartCharPositionInLine: number;
52
- /** Once we see EOF on char stream, next token will be EOF.
53
- * If you have DONE : EOF ; then you see DONE EOF.
54
- */
55
- _hitEOF: boolean;
56
- /** The channel number for the current token */
57
- _channel: number;
58
- /** The token type for the current token */
59
- _type: number;
60
- readonly _modeStack: IntegerStack;
61
- _mode: number;
62
- /** You can set the text for the current token to override what is in
63
- * the input char buffer. Set `text` or can set this instance var.
64
- */
65
- _text: string | undefined;
66
- constructor(input: CharStream);
67
- reset(): void;
68
- reset(resetInput: boolean): void;
69
- /** Return a token from this source; i.e., match a token on the char
70
- * stream.
71
- */
72
- nextToken(): Token;
73
- /** Instruct the lexer to skip creating a token for current lexer rule
74
- * and look for another token. nextToken() knows to keep looking when
75
- * a lexer rule finishes with token set to SKIP_TOKEN. Recall that
76
- * if token==undefined at end of any token rule, it creates one for you
77
- * and emits it.
78
- */
79
- skip(): void;
80
- more(): void;
81
- mode(m: number): void;
82
- pushMode(m: number): void;
83
- popMode(): number;
84
- get tokenFactory(): TokenFactory;
85
- set tokenFactory(factory: TokenFactory);
86
- get inputStream(): CharStream;
87
- /** Set the char stream and reset the lexer */
88
- set inputStream(input: CharStream);
89
- get sourceName(): string;
90
- /** The standard method called to automatically emit a token at the
91
- * outermost lexical rule. The token object should point into the
92
- * char buffer start..stop. If there is a text override in 'text',
93
- * use that to set the token's text. Override this method to emit
94
- * custom Token objects or provide a new factory.
95
- */
96
- emit(token: Token): Token;
97
- /** By default does not support multiple emits per nextToken invocation
98
- * for efficiency reasons. Subclass and override this method, nextToken,
99
- * and getToken (to push tokens into a list and pull from that list
100
- * rather than a single variable as this implementation does).
101
- */
102
- emit(): Token;
103
- emitEOF(): Token;
104
- get line(): number;
105
- set line(line: number);
106
- get charPositionInLine(): number;
107
- set charPositionInLine(charPositionInLine: number);
108
- /** What is the index of the current character of lookahead? */
109
- get charIndex(): number;
110
- /** Return the text matched so far for the current token or any
111
- * text override.
112
- */
113
- get text(): string;
114
- /** Set the complete text of this token; it wipes any previous
115
- * changes to the text.
116
- */
117
- set text(text: string);
118
- /** Override if emitting multiple tokens. */
119
- get token(): Token | undefined;
120
- set token(_token: Token | undefined);
121
- set type(ttype: number);
122
- get type(): number;
123
- set channel(channel: number);
124
- get channel(): number;
125
- abstract readonly channelNames: string[];
126
- abstract readonly modeNames: string[];
127
- /** Return a list of all Token objects in input char stream.
128
- * Forces load of all tokens. Does not include EOF token.
129
- */
130
- getAllTokens(): Token[];
131
- notifyListeners(e: LexerNoViableAltException): void;
132
- getErrorDisplay(s: string | number): string;
133
- getCharErrorDisplay(c: number): string;
134
- /** Lexers can normally match any char in it's vocabulary after matching
135
- * a token, so do the easy thing and just kill a character and hope
136
- * it all works out. You can instead use the rule invocation stack
137
- * to do sophisticated error recovery if you are in a fragment rule.
138
- */
139
- recover(re: RecognitionException): void;
140
- recover(re: LexerNoViableAltException): void;
141
- }
@@ -1,23 +0,0 @@
1
- /*!
2
- * Copyright 2016 The ANTLR Project. All rights reserved.
3
- * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
4
- */
5
- import { ATN } from "./atn/ATN";
6
- import { CharStream } from "./CharStream";
7
- import { Lexer } from "./Lexer";
8
- import { Vocabulary } from "./Vocabulary";
9
- export declare class LexerInterpreter extends Lexer {
10
- protected _grammarFileName: string;
11
- protected _atn: ATN;
12
- protected _ruleNames: string[];
13
- protected _channelNames: string[];
14
- protected _modeNames: string[];
15
- private _vocabulary;
16
- constructor(grammarFileName: string, vocabulary: Vocabulary, ruleNames: string[], channelNames: string[], modeNames: string[], atn: ATN, input: CharStream);
17
- get atn(): ATN;
18
- get grammarFileName(): string;
19
- get ruleNames(): string[];
20
- get channelNames(): string[];
21
- get modeNames(): string[];
22
- get vocabulary(): Vocabulary;
23
- }
@@ -1,19 +0,0 @@
1
- /*!
2
- * Copyright 2016 The ANTLR Project. All rights reserved.
3
- * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
4
- */
5
- import { ATNConfigSet } from "./atn/ATNConfigSet";
6
- import { RecognitionException } from "./RecognitionException";
7
- import { Lexer } from "./Lexer";
8
- import { CharStream } from "./CharStream";
9
- export declare class LexerNoViableAltException extends RecognitionException {
10
- /** Matching attempted at what input index? */
11
- private _startIndex;
12
- /** Which configurations did we try at input.index that couldn't match input.LA(1)? */
13
- private _deadEndConfigs?;
14
- constructor(lexer: Lexer | undefined, input: CharStream, startIndex: number, deadEndConfigs: ATNConfigSet | undefined);
15
- get startIndex(): number;
16
- get deadEndConfigs(): ATNConfigSet | undefined;
17
- get inputStream(): CharStream;
18
- toString(): string;
19
- }
@@ -1,86 +0,0 @@
1
- /*!
2
- * Copyright 2016 The ANTLR Project. All rights reserved.
3
- * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
4
- */
5
- import { CharStream } from "./CharStream";
6
- import { Token } from "./Token";
7
- import { TokenFactory } from "./TokenFactory";
8
- import { TokenSource } from "./TokenSource";
9
- /**
10
- * Provides an implementation of {@link TokenSource} as a wrapper around a list
11
- * of {@link Token} objects.
12
- *
13
- * If the final token in the list is an {@link Token#EOF} token, it will be used
14
- * as the EOF token for every call to {@link #nextToken} after the end of the
15
- * list is reached. Otherwise, an EOF token will be created.
16
- */
17
- export declare class ListTokenSource implements TokenSource {
18
- /**
19
- * The wrapped collection of {@link Token} objects to return.
20
- */
21
- protected tokens: Token[];
22
- /**
23
- * The name of the input source. If this value is `undefined`, a call to
24
- * {@link #getSourceName} should return the source name used to create the
25
- * the next token in {@link #tokens} (or the previous token if the end of
26
- * the input has been reached).
27
- */
28
- private _sourceName?;
29
- /**
30
- * The index into {@link #tokens} of token to return by the next call to
31
- * {@link #nextToken}. The end of the input is indicated by this value
32
- * being greater than or equal to the number of items in {@link #tokens}.
33
- */
34
- protected i: number;
35
- /**
36
- * This field caches the EOF token for the token source.
37
- */
38
- protected eofToken?: Token;
39
- /**
40
- * This is the backing field for {@link #getTokenFactory} and
41
- * {@link setTokenFactory}.
42
- */
43
- private _factory;
44
- /**
45
- * Constructs a new {@link ListTokenSource} instance from the specified
46
- * collection of {@link Token} objects and source name.
47
- *
48
- * @param tokens The collection of {@link Token} objects to provide as a
49
- * {@link TokenSource}.
50
- * @param sourceName The name of the {@link TokenSource}. If this value is
51
- * `undefined`, {@link #getSourceName} will attempt to infer the name from
52
- * the next {@link Token} (or the previous token if the end of the input has
53
- * been reached).
54
- *
55
- * @exception NullPointerException if `tokens` is `undefined`
56
- */
57
- constructor(tokens: Token[], sourceName?: string);
58
- /**
59
- * {@inheritDoc}
60
- */
61
- get charPositionInLine(): number;
62
- /**
63
- * {@inheritDoc}
64
- */
65
- nextToken(): Token;
66
- /**
67
- * {@inheritDoc}
68
- */
69
- get line(): number;
70
- /**
71
- * {@inheritDoc}
72
- */
73
- get inputStream(): CharStream | undefined;
74
- /**
75
- * {@inheritDoc}
76
- */
77
- get sourceName(): string;
78
- /**
79
- * {@inheritDoc}
80
- */
81
- set tokenFactory(factory: TokenFactory);
82
- /**
83
- * {@inheritDoc}
84
- */
85
- get tokenFactory(): TokenFactory;
86
- }
@@ -1,30 +0,0 @@
1
- /*!
2
- * Copyright 2016 The ANTLR Project. All rights reserved.
3
- * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
4
- */
5
- import { ATNConfigSet } from "./atn/ATNConfigSet";
6
- import { Parser } from "./Parser";
7
- import { ParserRuleContext } from "./ParserRuleContext";
8
- import { RecognitionException } from "./RecognitionException";
9
- import { Recognizer } from "./Recognizer";
10
- import { Token } from "./Token";
11
- import { TokenStream } from "./TokenStream";
12
- /** Indicates that the parser could not decide which of two or more paths
13
- * to take based upon the remaining input. It tracks the starting token
14
- * of the offending input and also knows where the parser was
15
- * in the various paths when the error. Reported by reportNoViableAlternative()
16
- */
17
- export declare class NoViableAltException extends RecognitionException {
18
- /** Which configurations did we try at input.index that couldn't match input.LT(1)? */
19
- private _deadEndConfigs?;
20
- /** The token object at the start index; the input stream might
21
- * not be buffering tokens so get a reference to it. (At the
22
- * time the error occurred, of course the stream needs to keep a
23
- * buffer all of the tokens but later we might not have access to those.)
24
- */
25
- private _startToken;
26
- constructor(/*@NotNull*/ recognizer: Parser);
27
- constructor(recognizer: Recognizer<Token, any>, input: TokenStream, startToken: Token, offendingToken: Token, deadEndConfigs: ATNConfigSet | undefined, ctx: ParserRuleContext);
28
- get startToken(): Token;
29
- get deadEndConfigs(): ATNConfigSet | undefined;
30
- }