@cparra/apex-reflection 0.1.0-alpha.0 → 0.1.1-alpha.10

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 (158) hide show
  1. package/__tests__/end-to-end.test.ts +256 -0
  2. package/coverage/clover.xml +12857 -0
  3. package/coverage/coverage-final.json +3 -0
  4. package/coverage/lcov-report/base.css +224 -0
  5. package/coverage/lcov-report/block-navigation.js +79 -0
  6. package/coverage/lcov-report/favicon.png +0 -0
  7. package/coverage/lcov-report/index.html +126 -0
  8. package/coverage/lcov-report/index.js.html +104 -0
  9. package/coverage/lcov-report/out.js.html +41126 -0
  10. package/coverage/lcov-report/prettify.css +1 -0
  11. package/coverage/lcov-report/prettify.js +2 -0
  12. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  13. package/coverage/lcov-report/sorter.js +170 -0
  14. package/coverage/lcov.info +24801 -0
  15. package/index.d.ts +118 -0
  16. package/index.js +8 -0
  17. package/index.ts +141 -0
  18. package/jest.config.js +11 -0
  19. package/out.js +13708 -0
  20. package/package.json +22 -17
  21. package/tsconfig.json +5 -3
  22. package/.idea/apexdocs-dart.iml +0 -18
  23. package/.idea/jsLibraryMappings.xml +0 -6
  24. package/.idea/libraries/Dart_Packages.xml +0 -556
  25. package/.idea/libraries/Dart_SDK.xml +0 -28
  26. package/.idea/misc.xml +0 -6
  27. package/.idea/modules.xml +0 -8
  28. package/.idea/runConfigurations/_template__of_Dart_Test.xml +0 -6
  29. package/.idea/vcs.xml +0 -6
  30. package/CHANGELOG.md +0 -3
  31. package/README.md +0 -26
  32. package/TODO.md +0 -5
  33. package/analysis_options.yaml +0 -30
  34. package/antlr4-4.9.2/CHANGELOG.md +0 -4
  35. package/antlr4-4.9.2/LICENSE +0 -52
  36. package/antlr4-4.9.2/README.md +0 -11
  37. package/antlr4-4.9.2/analysis_options.yaml +0 -1
  38. package/antlr4-4.9.2/lib/antlr4.dart +0 -21
  39. package/antlr4-4.9.2/lib/src/atn/atn.dart +0 -18
  40. package/antlr4-4.9.2/lib/src/atn/src/atn.dart +0 -170
  41. package/antlr4-4.9.2/lib/src/atn/src/atn_config.dart +0 -242
  42. package/antlr4-4.9.2/lib/src/atn/src/atn_config_set.dart +0 -283
  43. package/antlr4-4.9.2/lib/src/atn/src/atn_deserializer.dart +0 -809
  44. package/antlr4-4.9.2/lib/src/atn/src/atn_simulator.dart +0 -95
  45. package/antlr4-4.9.2/lib/src/atn/src/atn_state.dart +0 -296
  46. package/antlr4-4.9.2/lib/src/atn/src/atn_type.dart +0 -14
  47. package/antlr4-4.9.2/lib/src/atn/src/info.dart +0 -553
  48. package/antlr4-4.9.2/lib/src/atn/src/lexer_action.dart +0 -601
  49. package/antlr4-4.9.2/lib/src/atn/src/lexer_action_executor.dart +0 -167
  50. package/antlr4-4.9.2/lib/src/atn/src/lexer_atn_simulator.dart +0 -731
  51. package/antlr4-4.9.2/lib/src/atn/src/parser_atn_simulator.dart +0 -2630
  52. package/antlr4-4.9.2/lib/src/atn/src/profiling_atn_simulator.dart +0 -229
  53. package/antlr4-4.9.2/lib/src/atn/src/semantic_context.dart +0 -404
  54. package/antlr4-4.9.2/lib/src/atn/src/transition.dart +0 -305
  55. package/antlr4-4.9.2/lib/src/dfa/dfa.dart +0 -8
  56. package/antlr4-4.9.2/lib/src/dfa/src/dfa.dart +0 -138
  57. package/antlr4-4.9.2/lib/src/dfa/src/dfa_serializer.dart +0 -76
  58. package/antlr4-4.9.2/lib/src/dfa/src/dfa_state.dart +0 -151
  59. package/antlr4-4.9.2/lib/src/error/error.dart +0 -10
  60. package/antlr4-4.9.2/lib/src/error/src/diagnostic_error_listener.dart +0 -116
  61. package/antlr4-4.9.2/lib/src/error/src/error_listener.dart +0 -241
  62. package/antlr4-4.9.2/lib/src/error/src/error_strategy.dart +0 -902
  63. package/antlr4-4.9.2/lib/src/error/src/errors.dart +0 -204
  64. package/antlr4-4.9.2/lib/src/input_stream.dart +0 -335
  65. package/antlr4-4.9.2/lib/src/interval_set.dart +0 -735
  66. package/antlr4-4.9.2/lib/src/lexer.dart +0 -343
  67. package/antlr4-4.9.2/lib/src/ll1_analyzer.dart +0 -204
  68. package/antlr4-4.9.2/lib/src/misc/multi_map.dart +0 -32
  69. package/antlr4-4.9.2/lib/src/misc/pair.dart +0 -34
  70. package/antlr4-4.9.2/lib/src/parser.dart +0 -777
  71. package/antlr4-4.9.2/lib/src/parser_interpreter.dart +0 -393
  72. package/antlr4-4.9.2/lib/src/parser_rule_context.dart +0 -275
  73. package/antlr4-4.9.2/lib/src/prediction_context.dart +0 -877
  74. package/antlr4-4.9.2/lib/src/recognizer.dart +0 -182
  75. package/antlr4-4.9.2/lib/src/rule_context.dart +0 -192
  76. package/antlr4-4.9.2/lib/src/runtime_meta_data.dart +0 -188
  77. package/antlr4-4.9.2/lib/src/token.dart +0 -431
  78. package/antlr4-4.9.2/lib/src/token_factory.dart +0 -88
  79. package/antlr4-4.9.2/lib/src/token_source.dart +0 -241
  80. package/antlr4-4.9.2/lib/src/token_stream.dart +0 -627
  81. package/antlr4-4.9.2/lib/src/tree/src/pattern/chunk.dart +0 -90
  82. package/antlr4-4.9.2/lib/src/tree/src/pattern/parse_tree_match.dart +0 -635
  83. package/antlr4-4.9.2/lib/src/tree/src/tree.dart +0 -370
  84. package/antlr4-4.9.2/lib/src/tree/src/trees.dart +0 -226
  85. package/antlr4-4.9.2/lib/src/tree/tree.dart +0 -10
  86. package/antlr4-4.9.2/lib/src/util/bit_set.dart +0 -308
  87. package/antlr4-4.9.2/lib/src/util/murmur_hash.dart +0 -77
  88. package/antlr4-4.9.2/lib/src/util/utils.dart +0 -31
  89. package/antlr4-4.9.2/lib/src/vocabulary.dart +0 -254
  90. package/antlr4-4.9.2/pubspec.yaml +0 -13
  91. package/example/node_example/index.js +0 -8
  92. package/example/node_example/package.json +0 -12
  93. package/example/node_example_ts/package-lock.json +0 -70
  94. package/example/node_example_ts/package.json +0 -19
  95. package/example/node_example_ts/src/index.js +0 -5
  96. package/example/node_example_ts/src/index.ts +0 -9
  97. package/example/node_example_ts/tsconfig.json +0 -79
  98. package/js/dart2jsout.js +0 -25898
  99. package/js/dart2jsout.js.map +0 -16
  100. package/js/index.d.ts +0 -1
  101. package/js/index.js +0 -4
  102. package/js/out.js +0 -26023
  103. package/js/out.js.map +0 -16
  104. package/js/package-lock.json +0 -57
  105. package/js/preamble.js +0 -125
  106. package/lib/apexdocs_dart.dart +0 -28
  107. package/lib/src/antlr/grammars/Apexdoc/ApexdocLexer.g4 +0 -120
  108. package/lib/src/antlr/grammars/Apexdoc/ApexdocParser.g4 +0 -158
  109. package/lib/src/antlr/grammars/Apexdoc/gen/ApexdocLexer.interp +0 -95
  110. package/lib/src/antlr/grammars/Apexdoc/gen/ApexdocLexer.java +0 -238
  111. package/lib/src/antlr/grammars/Apexdoc/gen/ApexdocLexer.tokens +0 -23
  112. package/lib/src/antlr/grammars/apex/ApexLexer.g4 +0 -255
  113. package/lib/src/antlr/grammars/apex/ApexParser.g4 +0 -567
  114. package/lib/src/antlr/grammars/apex/examples/ApexClass.cls +0 -6
  115. package/lib/src/antlr/lib/apex/ApexLexer.dart +0 -1223
  116. package/lib/src/antlr/lib/apex/ApexLexer.interp +0 -393
  117. package/lib/src/antlr/lib/apex/ApexLexer.tokens +0 -212
  118. package/lib/src/antlr/lib/apex/ApexParser.dart +0 -9349
  119. package/lib/src/antlr/lib/apex/ApexParser.interp +0 -326
  120. package/lib/src/antlr/lib/apex/ApexParser.tokens +0 -212
  121. package/lib/src/antlr/lib/apex/ApexParserBaseListener.dart +0 -1036
  122. package/lib/src/antlr/lib/apex/ApexParserListener.dart +0 -975
  123. package/lib/src/antlr/lib/apexdoc/ApexdocLexer.dart +0 -373
  124. package/lib/src/antlr/lib/apexdoc/ApexdocLexer.interp +0 -95
  125. package/lib/src/antlr/lib/apexdoc/ApexdocLexer.tokens +0 -23
  126. package/lib/src/antlr/lib/apexdoc/ApexdocParser.dart +0 -2471
  127. package/lib/src/antlr/lib/apexdoc/ApexdocParser.interp +0 -69
  128. package/lib/src/antlr/lib/apexdoc/ApexdocParser.tokens +0 -23
  129. package/lib/src/antlr/lib/apexdoc/ApexdocParserBaseListener.dart +0 -252
  130. package/lib/src/antlr/lib/apexdoc/ApexdocParserListener.dart +0 -215
  131. package/lib/src/builders/builders.dart +0 -32
  132. package/lib/src/model/apex_file_manifest.dart +0 -37
  133. package/lib/src/model/apex_file_manifest.g.dart +0 -18
  134. package/lib/src/model/declaration.dart +0 -50
  135. package/lib/src/model/doc_comment.dart +0 -117
  136. package/lib/src/model/doc_comment.g.dart +0 -118
  137. package/lib/src/model/members.dart +0 -143
  138. package/lib/src/model/members.g.dart +0 -105
  139. package/lib/src/model/types.dart +0 -159
  140. package/lib/src/model/types.g.dart +0 -111
  141. package/lib/src/service/apex_listener.dart +0 -226
  142. package/lib/src/service/apexdoc_listener.dart +0 -82
  143. package/lib/src/service/parsers.dart +0 -33
  144. package/lib/src/service/utils/parsing/access_modifiers_parser.dart +0 -33
  145. package/lib/src/service/utils/parsing/parameters_parser.dart +0 -18
  146. package/lib/src/service/utils/parsing/parsing_utils.dart +0 -2
  147. package/lib/src/service/walker.dart +0 -82
  148. package/pubspec.yaml +0 -19
  149. package/test/apex_file_manifest_test.dart +0 -16
  150. package/test/apex_listener_test.dart +0 -703
  151. package/test/apexdoc_parser_test.dart +0 -179
  152. package/test/doc_comment_test.dart +0 -89
  153. package/test/members_serialization_test.dart +0 -158
  154. package/test/members_test.dart +0 -178
  155. package/test/types_serialization_test.dart +0 -191
  156. package/test/types_test.dart +0 -311
  157. package/test/walker_test.dart +0 -58
  158. package/tool/grind.dart +0 -20
@@ -1,69 +0,0 @@
1
- token literal names:
2
- null
3
- null
4
- null
5
- null
6
- null
7
- null
8
- null
9
- null
10
- null
11
- null
12
- '@'
13
- '*'
14
- '/'
15
- null
16
- null
17
- '{@'
18
- '{'
19
- '}'
20
-
21
- token symbolic names:
22
- null
23
- PARAM
24
- RETURN
25
- EXAMPLE
26
- THROWS
27
- EXCEPTION
28
- NAME
29
- NEWLINE
30
- SPACE
31
- TEXT_CONTENT
32
- AT
33
- STAR
34
- SLASH
35
- JAVADOC_START
36
- JAVADOC_END
37
- INLINE_TAG_START
38
- BRACE_OPEN
39
- BRACE_CLOSE
40
-
41
- rule names:
42
- documentation
43
- documentationContent
44
- description
45
- descriptionLine
46
- descriptionLineStart
47
- descriptionLineNoSpaceNoAt
48
- descriptionLineElement
49
- descriptionLineText
50
- descriptionNewline
51
- tagSection
52
- blockTag
53
- paramName
54
- exceptionName
55
- blockTagName
56
- blockTagContent
57
- blockTagText
58
- blockTagTextElement
59
- inlineTag
60
- inlineTagName
61
- inlineTagContent
62
- braceExpression
63
- braceContent
64
- skipWhitespace
65
- braceText
66
-
67
-
68
- atn:
69
- [3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 3, 19, 357, 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7, 9, 7, 4, 8, 9, 8, 4, 9, 9, 9, 4, 10, 9, 10, 4, 11, 9, 11, 4, 12, 9, 12, 4, 13, 9, 13, 4, 14, 9, 14, 4, 15, 9, 15, 4, 16, 9, 16, 4, 17, 9, 17, 4, 18, 9, 18, 4, 19, 9, 19, 4, 20, 9, 20, 4, 21, 9, 21, 4, 22, 9, 22, 4, 23, 9, 23, 4, 24, 9, 24, 4, 25, 9, 25, 3, 2, 3, 2, 3, 2, 7, 2, 54, 10, 2, 12, 2, 14, 2, 57, 11, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 7, 2, 64, 10, 2, 12, 2, 14, 2, 67, 11, 2, 3, 2, 3, 2, 3, 2, 5, 2, 72, 10, 2, 3, 3, 3, 3, 7, 3, 76, 10, 3, 12, 3, 14, 3, 79, 11, 3, 3, 3, 7, 3, 82, 10, 3, 12, 3, 14, 3, 85, 11, 3, 3, 3, 3, 3, 3, 3, 6, 3, 90, 10, 3, 13, 3, 14, 3, 91, 3, 3, 7, 3, 95, 10, 3, 12, 3, 14, 3, 98, 11, 3, 3, 3, 3, 3, 5, 3, 102, 10, 3, 3, 4, 3, 4, 6, 4, 106, 10, 4, 13, 4, 14, 4, 107, 3, 4, 3, 4, 7, 4, 112, 10, 4, 12, 4, 14, 4, 115, 11, 4, 3, 5, 3, 5, 7, 5, 119, 10, 5, 12, 5, 14, 5, 122, 11, 5, 3, 5, 3, 5, 7, 5, 126, 10, 5, 12, 5, 14, 5, 129, 11, 5, 5, 5, 131, 10, 5, 3, 6, 5, 6, 134, 10, 6, 3, 6, 6, 6, 137, 10, 6, 13, 6, 14, 6, 138, 3, 6, 3, 6, 3, 6, 7, 6, 144, 10, 6, 12, 6, 14, 6, 147, 11, 6, 3, 7, 3, 7, 3, 8, 3, 8, 5, 8, 153, 10, 8, 3, 9, 3, 9, 3, 9, 6, 9, 158, 10, 9, 13, 9, 14, 9, 159, 3, 10, 3, 10, 3, 11, 7, 11, 165, 10, 11, 12, 11, 14, 11, 168, 11, 11, 3, 12, 7, 12, 171, 10, 12, 12, 12, 14, 12, 174, 11, 12, 3, 12, 5, 12, 177, 10, 12, 3, 12, 3, 12, 6, 12, 181, 10, 12, 13, 12, 14, 12, 182, 3, 12, 3, 12, 6, 12, 187, 10, 12, 13, 12, 14, 12, 188, 3, 12, 7, 12, 192, 10, 12, 12, 12, 14, 12, 195, 11, 12, 3, 12, 7, 12, 198, 10, 12, 12, 12, 14, 12, 201, 11, 12, 3, 12, 5, 12, 204, 10, 12, 3, 12, 3, 12, 6, 12, 208, 10, 12, 13, 12, 14, 12, 209, 3, 12, 3, 12, 6, 12, 214, 10, 12, 13, 12, 14, 12, 215, 3, 12, 7, 12, 219, 10, 12, 12, 12, 14, 12, 222, 11, 12, 3, 12, 7, 12, 225, 10, 12, 12, 12, 14, 12, 228, 11, 12, 3, 12, 5, 12, 231, 10, 12, 3, 12, 3, 12, 6, 12, 235, 10, 12, 13, 12, 14, 12, 236, 3, 12, 7, 12, 240, 10, 12, 12, 12, 14, 12, 243, 11, 12, 3, 12, 7, 12, 246, 10, 12, 12, 12, 14, 12, 249, 11, 12, 3, 12, 5, 12, 252, 10, 12, 3, 12, 3, 12, 6, 12, 256, 10, 12, 13, 12, 14, 12, 257, 3, 12, 7, 12, 261, 10, 12, 12, 12, 14, 12, 264, 11, 12, 3, 12, 7, 12, 267, 10, 12, 12, 12, 14, 12, 270, 11, 12, 3, 12, 5, 12, 273, 10, 12, 3, 12, 3, 12, 3, 12, 6, 12, 278, 10, 12, 13, 12, 14, 12, 279, 3, 12, 7, 12, 283, 10, 12, 12, 12, 14, 12, 286, 11, 12, 5, 12, 288, 10, 12, 3, 13, 3, 13, 3, 14, 3, 14, 3, 15, 3, 15, 3, 16, 3, 16, 3, 16, 5, 16, 299, 10, 16, 3, 17, 6, 17, 302, 10, 17, 13, 17, 14, 17, 303, 3, 18, 3, 18, 3, 19, 3, 19, 3, 19, 7, 19, 311, 10, 19, 12, 19, 14, 19, 314, 11, 19, 3, 19, 5, 19, 317, 10, 19, 3, 19, 3, 19, 3, 20, 3, 20, 3, 21, 6, 21, 324, 10, 21, 13, 21, 14, 21, 325, 3, 22, 3, 22, 7, 22, 330, 10, 22, 12, 22, 14, 22, 333, 11, 22, 3, 22, 3, 22, 3, 23, 3, 23, 3, 23, 7, 23, 340, 10, 23, 12, 23, 14, 23, 343, 11, 23, 3, 23, 7, 23, 346, 10, 23, 12, 23, 14, 23, 349, 11, 23, 5, 23, 351, 10, 23, 3, 24, 3, 24, 3, 25, 3, 25, 3, 25, 2, 2, 26, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 2, 7, 6, 2, 8, 8, 11, 11, 13, 14, 18, 19, 3, 2, 6, 7, 6, 2, 8, 8, 10, 11, 13, 14, 18, 19, 3, 2, 9, 10, 4, 2, 8, 11, 13, 14, 2, 393, 2, 71, 3, 2, 2, 2, 4, 101, 3, 2, 2, 2, 6, 103, 3, 2, 2, 2, 8, 130, 3, 2, 2, 2, 10, 133, 3, 2, 2, 2, 12, 148, 3, 2, 2, 2, 14, 152, 3, 2, 2, 2, 16, 157, 3, 2, 2, 2, 18, 161, 3, 2, 2, 2, 20, 166, 3, 2, 2, 2, 22, 287, 3, 2, 2, 2, 24, 289, 3, 2, 2, 2, 26, 291, 3, 2, 2, 2, 28, 293, 3, 2, 2, 2, 30, 298, 3, 2, 2, 2, 32, 301, 3, 2, 2, 2, 34, 305, 3, 2, 2, 2, 36, 307, 3, 2, 2, 2, 38, 320, 3, 2, 2, 2, 40, 323, 3, 2, 2, 2, 42, 327, 3, 2, 2, 2, 44, 350, 3, 2, 2, 2, 46, 352, 3, 2, 2, 2, 48, 354, 3, 2, 2, 2, 50, 72, 7, 2, 2, 3, 51, 55, 7, 15, 2, 2, 52, 54, 5, 46, 24, 2, 53, 52, 3, 2, 2, 2, 54, 57, 3, 2, 2, 2, 55, 53, 3, 2, 2, 2, 55, 56, 3, 2, 2, 2, 56, 58, 3, 2, 2, 2, 57, 55, 3, 2, 2, 2, 58, 59, 5, 4, 3, 2, 59, 60, 7, 16, 2, 2, 60, 61, 7, 2, 2, 3, 61, 72, 3, 2, 2, 2, 62, 64, 5, 46, 24, 2, 63, 62, 3, 2, 2, 2, 64, 67, 3, 2, 2, 2, 65, 63, 3, 2, 2, 2, 65, 66, 3, 2, 2, 2, 66, 68, 3, 2, 2, 2, 67, 65, 3, 2, 2, 2, 68, 69, 5, 4, 3, 2, 69, 70, 7, 2, 2, 3, 70, 72, 3, 2, 2, 2, 71, 50, 3, 2, 2, 2, 71, 51, 3, 2, 2, 2, 71, 65, 3, 2, 2, 2, 72, 3, 3, 2, 2, 2, 73, 77, 5, 6, 4, 2, 74, 76, 5, 46, 24, 2, 75, 74, 3, 2, 2, 2, 76, 79, 3, 2, 2, 2, 77, 75, 3, 2, 2, 2, 77, 78, 3, 2, 2, 2, 78, 102, 3, 2, 2, 2, 79, 77, 3, 2, 2, 2, 80, 82, 5, 46, 24, 2, 81, 80, 3, 2, 2, 2, 82, 85, 3, 2, 2, 2, 83, 81, 3, 2, 2, 2, 83, 84, 3, 2, 2, 2, 84, 86, 3, 2, 2, 2, 85, 83, 3, 2, 2, 2, 86, 102, 5, 20, 11, 2, 87, 89, 5, 6, 4, 2, 88, 90, 7, 9, 2, 2, 89, 88, 3, 2, 2, 2, 90, 91, 3, 2, 2, 2, 91, 89, 3, 2, 2, 2, 91, 92, 3, 2, 2, 2, 92, 96, 3, 2, 2, 2, 93, 95, 5, 46, 24, 2, 94, 93, 3, 2, 2, 2, 95, 98, 3, 2, 2, 2, 96, 94, 3, 2, 2, 2, 96, 97, 3, 2, 2, 2, 97, 99, 3, 2, 2, 2, 98, 96, 3, 2, 2, 2, 99, 100, 5, 20, 11, 2, 100, 102, 3, 2, 2, 2, 101, 73, 3, 2, 2, 2, 101, 83, 3, 2, 2, 2, 101, 87, 3, 2, 2, 2, 102, 5, 3, 2, 2, 2, 103, 113, 5, 8, 5, 2, 104, 106, 5, 18, 10, 2, 105, 104, 3, 2, 2, 2, 106, 107, 3, 2, 2, 2, 107, 105, 3, 2, 2, 2, 107, 108, 3, 2, 2, 2, 108, 109, 3, 2, 2, 2, 109, 110, 5, 8, 5, 2, 110, 112, 3, 2, 2, 2, 111, 105, 3, 2, 2, 2, 112, 115, 3, 2, 2, 2, 113, 111, 3, 2, 2, 2, 113, 114, 3, 2, 2, 2, 114, 7, 3, 2, 2, 2, 115, 113, 3, 2, 2, 2, 116, 120, 5, 10, 6, 2, 117, 119, 5, 14, 8, 2, 118, 117, 3, 2, 2, 2, 119, 122, 3, 2, 2, 2, 120, 118, 3, 2, 2, 2, 120, 121, 3, 2, 2, 2, 121, 131, 3, 2, 2, 2, 122, 120, 3, 2, 2, 2, 123, 127, 5, 36, 19, 2, 124, 126, 5, 14, 8, 2, 125, 124, 3, 2, 2, 2, 126, 129, 3, 2, 2, 2, 127, 125, 3, 2, 2, 2, 127, 128, 3, 2, 2, 2, 128, 131, 3, 2, 2, 2, 129, 127, 3, 2, 2, 2, 130, 116, 3, 2, 2, 2, 130, 123, 3, 2, 2, 2, 131, 9, 3, 2, 2, 2, 132, 134, 7, 10, 2, 2, 133, 132, 3, 2, 2, 2, 133, 134, 3, 2, 2, 2, 134, 136, 3, 2, 2, 2, 135, 137, 5, 12, 7, 2, 136, 135, 3, 2, 2, 2, 137, 138, 3, 2, 2, 2, 138, 136, 3, 2, 2, 2, 138, 139, 3, 2, 2, 2, 139, 145, 3, 2, 2, 2, 140, 144, 5, 12, 7, 2, 141, 144, 7, 10, 2, 2, 142, 144, 7, 12, 2, 2, 143, 140, 3, 2, 2, 2, 143, 141, 3, 2, 2, 2, 143, 142, 3, 2, 2, 2, 144, 147, 3, 2, 2, 2, 145, 143, 3, 2, 2, 2, 145, 146, 3, 2, 2, 2, 146, 11, 3, 2, 2, 2, 147, 145, 3, 2, 2, 2, 148, 149, 9, 2, 2, 2, 149, 13, 3, 2, 2, 2, 150, 153, 5, 36, 19, 2, 151, 153, 5, 16, 9, 2, 152, 150, 3, 2, 2, 2, 152, 151, 3, 2, 2, 2, 153, 15, 3, 2, 2, 2, 154, 158, 5, 12, 7, 2, 155, 158, 7, 10, 2, 2, 156, 158, 7, 12, 2, 2, 157, 154, 3, 2, 2, 2, 157, 155, 3, 2, 2, 2, 157, 156, 3, 2, 2, 2, 158, 159, 3, 2, 2, 2, 159, 157, 3, 2, 2, 2, 159, 160, 3, 2, 2, 2, 160, 17, 3, 2, 2, 2, 161, 162, 7, 9, 2, 2, 162, 19, 3, 2, 2, 2, 163, 165, 5, 22, 12, 2, 164, 163, 3, 2, 2, 2, 165, 168, 3, 2, 2, 2, 166, 164, 3, 2, 2, 2, 166, 167, 3, 2, 2, 2, 167, 21, 3, 2, 2, 2, 168, 166, 3, 2, 2, 2, 169, 171, 7, 13, 2, 2, 170, 169, 3, 2, 2, 2, 171, 174, 3, 2, 2, 2, 172, 170, 3, 2, 2, 2, 172, 173, 3, 2, 2, 2, 173, 176, 3, 2, 2, 2, 174, 172, 3, 2, 2, 2, 175, 177, 7, 10, 2, 2, 176, 175, 3, 2, 2, 2, 176, 177, 3, 2, 2, 2, 177, 178, 3, 2, 2, 2, 178, 180, 7, 3, 2, 2, 179, 181, 7, 10, 2, 2, 180, 179, 3, 2, 2, 2, 181, 182, 3, 2, 2, 2, 182, 180, 3, 2, 2, 2, 182, 183, 3, 2, 2, 2, 183, 184, 3, 2, 2, 2, 184, 186, 5, 24, 13, 2, 185, 187, 7, 10, 2, 2, 186, 185, 3, 2, 2, 2, 187, 188, 3, 2, 2, 2, 188, 186, 3, 2, 2, 2, 188, 189, 3, 2, 2, 2, 189, 193, 3, 2, 2, 2, 190, 192, 5, 30, 16, 2, 191, 190, 3, 2, 2, 2, 192, 195, 3, 2, 2, 2, 193, 191, 3, 2, 2, 2, 193, 194, 3, 2, 2, 2, 194, 288, 3, 2, 2, 2, 195, 193, 3, 2, 2, 2, 196, 198, 7, 13, 2, 2, 197, 196, 3, 2, 2, 2, 198, 201, 3, 2, 2, 2, 199, 197, 3, 2, 2, 2, 199, 200, 3, 2, 2, 2, 200, 203, 3, 2, 2, 2, 201, 199, 3, 2, 2, 2, 202, 204, 7, 10, 2, 2, 203, 202, 3, 2, 2, 2, 203, 204, 3, 2, 2, 2, 204, 205, 3, 2, 2, 2, 205, 207, 9, 3, 2, 2, 206, 208, 7, 10, 2, 2, 207, 206, 3, 2, 2, 2, 208, 209, 3, 2, 2, 2, 209, 207, 3, 2, 2, 2, 209, 210, 3, 2, 2, 2, 210, 211, 3, 2, 2, 2, 211, 213, 5, 26, 14, 2, 212, 214, 7, 10, 2, 2, 213, 212, 3, 2, 2, 2, 214, 215, 3, 2, 2, 2, 215, 213, 3, 2, 2, 2, 215, 216, 3, 2, 2, 2, 216, 220, 3, 2, 2, 2, 217, 219, 5, 30, 16, 2, 218, 217, 3, 2, 2, 2, 219, 222, 3, 2, 2, 2, 220, 218, 3, 2, 2, 2, 220, 221, 3, 2, 2, 2, 221, 288, 3, 2, 2, 2, 222, 220, 3, 2, 2, 2, 223, 225, 7, 13, 2, 2, 224, 223, 3, 2, 2, 2, 225, 228, 3, 2, 2, 2, 226, 224, 3, 2, 2, 2, 226, 227, 3, 2, 2, 2, 227, 230, 3, 2, 2, 2, 228, 226, 3, 2, 2, 2, 229, 231, 7, 10, 2, 2, 230, 229, 3, 2, 2, 2, 230, 231, 3, 2, 2, 2, 231, 232, 3, 2, 2, 2, 232, 234, 7, 4, 2, 2, 233, 235, 7, 10, 2, 2, 234, 233, 3, 2, 2, 2, 235, 236, 3, 2, 2, 2, 236, 234, 3, 2, 2, 2, 236, 237, 3, 2, 2, 2, 237, 241, 3, 2, 2, 2, 238, 240, 5, 30, 16, 2, 239, 238, 3, 2, 2, 2, 240, 243, 3, 2, 2, 2, 241, 239, 3, 2, 2, 2, 241, 242, 3, 2, 2, 2, 242, 288, 3, 2, 2, 2, 243, 241, 3, 2, 2, 2, 244, 246, 7, 13, 2, 2, 245, 244, 3, 2, 2, 2, 246, 249, 3, 2, 2, 2, 247, 245, 3, 2, 2, 2, 247, 248, 3, 2, 2, 2, 248, 251, 3, 2, 2, 2, 249, 247, 3, 2, 2, 2, 250, 252, 7, 10, 2, 2, 251, 250, 3, 2, 2, 2, 251, 252, 3, 2, 2, 2, 252, 253, 3, 2, 2, 2, 253, 255, 7, 5, 2, 2, 254, 256, 5, 46, 24, 2, 255, 254, 3, 2, 2, 2, 256, 257, 3, 2, 2, 2, 257, 255, 3, 2, 2, 2, 257, 258, 3, 2, 2, 2, 258, 262, 3, 2, 2, 2, 259, 261, 5, 30, 16, 2, 260, 259, 3, 2, 2, 2, 261, 264, 3, 2, 2, 2, 262, 260, 3, 2, 2, 2, 262, 263, 3, 2, 2, 2, 263, 288, 3, 2, 2, 2, 264, 262, 3, 2, 2, 2, 265, 267, 7, 13, 2, 2, 266, 265, 3, 2, 2, 2, 267, 270, 3, 2, 2, 2, 268, 266, 3, 2, 2, 2, 268, 269, 3, 2, 2, 2, 269, 272, 3, 2, 2, 2, 270, 268, 3, 2, 2, 2, 271, 273, 7, 10, 2, 2, 272, 271, 3, 2, 2, 2, 272, 273, 3, 2, 2, 2, 273, 274, 3, 2, 2, 2, 274, 275, 7, 12, 2, 2, 275, 277, 5, 28, 15, 2, 276, 278, 7, 10, 2, 2, 277, 276, 3, 2, 2, 2, 278, 279, 3, 2, 2, 2, 279, 277, 3, 2, 2, 2, 279, 280, 3, 2, 2, 2, 280, 284, 3, 2, 2, 2, 281, 283, 5, 30, 16, 2, 282, 281, 3, 2, 2, 2, 283, 286, 3, 2, 2, 2, 284, 282, 3, 2, 2, 2, 284, 285, 3, 2, 2, 2, 285, 288, 3, 2, 2, 2, 286, 284, 3, 2, 2, 2, 287, 172, 3, 2, 2, 2, 287, 199, 3, 2, 2, 2, 287, 226, 3, 2, 2, 2, 287, 247, 3, 2, 2, 2, 287, 268, 3, 2, 2, 2, 288, 23, 3, 2, 2, 2, 289, 290, 5, 34, 18, 2, 290, 25, 3, 2, 2, 2, 291, 292, 5, 34, 18, 2, 292, 27, 3, 2, 2, 2, 293, 294, 7, 8, 2, 2, 294, 29, 3, 2, 2, 2, 295, 299, 5, 32, 17, 2, 296, 299, 5, 36, 19, 2, 297, 299, 7, 9, 2, 2, 298, 295, 3, 2, 2, 2, 298, 296, 3, 2, 2, 2, 298, 297, 3, 2, 2, 2, 299, 31, 3, 2, 2, 2, 300, 302, 5, 34, 18, 2, 301, 300, 3, 2, 2, 2, 302, 303, 3, 2, 2, 2, 303, 301, 3, 2, 2, 2, 303, 304, 3, 2, 2, 2, 304, 33, 3, 2, 2, 2, 305, 306, 9, 4, 2, 2, 306, 35, 3, 2, 2, 2, 307, 308, 7, 17, 2, 2, 308, 312, 5, 38, 20, 2, 309, 311, 7, 10, 2, 2, 310, 309, 3, 2, 2, 2, 311, 314, 3, 2, 2, 2, 312, 310, 3, 2, 2, 2, 312, 313, 3, 2, 2, 2, 313, 316, 3, 2, 2, 2, 314, 312, 3, 2, 2, 2, 315, 317, 5, 40, 21, 2, 316, 315, 3, 2, 2, 2, 316, 317, 3, 2, 2, 2, 317, 318, 3, 2, 2, 2, 318, 319, 7, 19, 2, 2, 319, 37, 3, 2, 2, 2, 320, 321, 7, 8, 2, 2, 321, 39, 3, 2, 2, 2, 322, 324, 5, 44, 23, 2, 323, 322, 3, 2, 2, 2, 324, 325, 3, 2, 2, 2, 325, 323, 3, 2, 2, 2, 325, 326, 3, 2, 2, 2, 326, 41, 3, 2, 2, 2, 327, 331, 7, 18, 2, 2, 328, 330, 5, 44, 23, 2, 329, 328, 3, 2, 2, 2, 330, 333, 3, 2, 2, 2, 331, 329, 3, 2, 2, 2, 331, 332, 3, 2, 2, 2, 332, 334, 3, 2, 2, 2, 333, 331, 3, 2, 2, 2, 334, 335, 7, 19, 2, 2, 335, 43, 3, 2, 2, 2, 336, 351, 5, 42, 22, 2, 337, 347, 5, 48, 25, 2, 338, 340, 7, 9, 2, 2, 339, 338, 3, 2, 2, 2, 340, 343, 3, 2, 2, 2, 341, 339, 3, 2, 2, 2, 341, 342, 3, 2, 2, 2, 342, 344, 3, 2, 2, 2, 343, 341, 3, 2, 2, 2, 344, 346, 5, 48, 25, 2, 345, 341, 3, 2, 2, 2, 346, 349, 3, 2, 2, 2, 347, 345, 3, 2, 2, 2, 347, 348, 3, 2, 2, 2, 348, 351, 3, 2, 2, 2, 349, 347, 3, 2, 2, 2, 350, 336, 3, 2, 2, 2, 350, 337, 3, 2, 2, 2, 351, 45, 3, 2, 2, 2, 352, 353, 9, 5, 2, 2, 353, 47, 3, 2, 2, 2, 354, 355, 9, 6, 2, 2, 355, 49, 3, 2, 2, 2, 55, 55, 65, 71, 77, 83, 91, 96, 101, 107, 113, 120, 127, 130, 133, 138, 143, 145, 152, 157, 159, 166, 172, 176, 182, 188, 193, 199, 203, 209, 215, 220, 226, 230, 236, 241, 247, 251, 257, 262, 268, 272, 279, 284, 287, 298, 303, 312, 316, 325, 331, 341, 347, 350]
@@ -1,23 +0,0 @@
1
- PARAM=1
2
- RETURN=2
3
- EXAMPLE=3
4
- THROWS=4
5
- EXCEPTION=5
6
- NAME=6
7
- NEWLINE=7
8
- SPACE=8
9
- TEXT_CONTENT=9
10
- AT=10
11
- STAR=11
12
- SLASH=12
13
- JAVADOC_START=13
14
- JAVADOC_END=14
15
- INLINE_TAG_START=15
16
- BRACE_OPEN=16
17
- BRACE_CLOSE=17
18
- '@'=10
19
- '*'=11
20
- '/'=12
21
- '{@'=15
22
- '{'=16
23
- '}'=17
@@ -1,252 +0,0 @@
1
- // Generated from lib/src/antlr/grammars/apexdoc/ApexdocParser.g4 by ANTLR 4.9.2
2
- // ignore_for_file: unused_import, unused_local_variable, prefer_single_quotes
3
- import 'package:antlr4/antlr4.dart';
4
-
5
- import 'ApexdocParser.dart';
6
- import 'ApexdocParserListener.dart';
7
-
8
-
9
- /// This class provides an empty implementation of [ApexdocParserListener],
10
- /// which can be extended to create a listener which only needs to handle
11
- /// a subset of the available methods.
12
- class ApexdocParserBaseListener implements ApexdocParserListener {
13
- /// The default implementation does nothing.
14
- @override
15
- void enterDocumentation(DocumentationContext ctx) {}
16
-
17
- /// The default implementation does nothing.
18
- @override
19
- void exitDocumentation(DocumentationContext ctx) {}
20
-
21
- /// The default implementation does nothing.
22
- @override
23
- void enterDocumentationContent(DocumentationContentContext ctx) {}
24
-
25
- /// The default implementation does nothing.
26
- @override
27
- void exitDocumentationContent(DocumentationContentContext ctx) {}
28
-
29
- /// The default implementation does nothing.
30
- @override
31
- void enterDescription(DescriptionContext ctx) {}
32
-
33
- /// The default implementation does nothing.
34
- @override
35
- void exitDescription(DescriptionContext ctx) {}
36
-
37
- /// The default implementation does nothing.
38
- @override
39
- void enterDescriptionLine(DescriptionLineContext ctx) {}
40
-
41
- /// The default implementation does nothing.
42
- @override
43
- void exitDescriptionLine(DescriptionLineContext ctx) {}
44
-
45
- /// The default implementation does nothing.
46
- @override
47
- void enterDescriptionLineStart(DescriptionLineStartContext ctx) {}
48
-
49
- /// The default implementation does nothing.
50
- @override
51
- void exitDescriptionLineStart(DescriptionLineStartContext ctx) {}
52
-
53
- /// The default implementation does nothing.
54
- @override
55
- void enterDescriptionLineNoSpaceNoAt(DescriptionLineNoSpaceNoAtContext ctx) {}
56
-
57
- /// The default implementation does nothing.
58
- @override
59
- void exitDescriptionLineNoSpaceNoAt(DescriptionLineNoSpaceNoAtContext ctx) {}
60
-
61
- /// The default implementation does nothing.
62
- @override
63
- void enterDescriptionLineElement(DescriptionLineElementContext ctx) {}
64
-
65
- /// The default implementation does nothing.
66
- @override
67
- void exitDescriptionLineElement(DescriptionLineElementContext ctx) {}
68
-
69
- /// The default implementation does nothing.
70
- @override
71
- void enterDescriptionLineText(DescriptionLineTextContext ctx) {}
72
-
73
- /// The default implementation does nothing.
74
- @override
75
- void exitDescriptionLineText(DescriptionLineTextContext ctx) {}
76
-
77
- /// The default implementation does nothing.
78
- @override
79
- void enterDescriptionNewline(DescriptionNewlineContext ctx) {}
80
-
81
- /// The default implementation does nothing.
82
- @override
83
- void exitDescriptionNewline(DescriptionNewlineContext ctx) {}
84
-
85
- /// The default implementation does nothing.
86
- @override
87
- void enterTagSection(TagSectionContext ctx) {}
88
-
89
- /// The default implementation does nothing.
90
- @override
91
- void exitTagSection(TagSectionContext ctx) {}
92
-
93
- /// The default implementation does nothing.
94
- @override
95
- void enterParamBlockTag(ParamBlockTagContext ctx) {}
96
-
97
- /// The default implementation does nothing.
98
- @override
99
- void exitParamBlockTag(ParamBlockTagContext ctx) {}
100
-
101
- /// The default implementation does nothing.
102
- @override
103
- void enterThrowsBlockTag(ThrowsBlockTagContext ctx) {}
104
-
105
- /// The default implementation does nothing.
106
- @override
107
- void exitThrowsBlockTag(ThrowsBlockTagContext ctx) {}
108
-
109
- /// The default implementation does nothing.
110
- @override
111
- void enterReturnBlockTag(ReturnBlockTagContext ctx) {}
112
-
113
- /// The default implementation does nothing.
114
- @override
115
- void exitReturnBlockTag(ReturnBlockTagContext ctx) {}
116
-
117
- /// The default implementation does nothing.
118
- @override
119
- void enterExampleBlockTag(ExampleBlockTagContext ctx) {}
120
-
121
- /// The default implementation does nothing.
122
- @override
123
- void exitExampleBlockTag(ExampleBlockTagContext ctx) {}
124
-
125
- /// The default implementation does nothing.
126
- @override
127
- void enterDefaultBlockTag(DefaultBlockTagContext ctx) {}
128
-
129
- /// The default implementation does nothing.
130
- @override
131
- void exitDefaultBlockTag(DefaultBlockTagContext ctx) {}
132
-
133
- /// The default implementation does nothing.
134
- @override
135
- void enterParamName(ParamNameContext ctx) {}
136
-
137
- /// The default implementation does nothing.
138
- @override
139
- void exitParamName(ParamNameContext ctx) {}
140
-
141
- /// The default implementation does nothing.
142
- @override
143
- void enterExceptionName(ExceptionNameContext ctx) {}
144
-
145
- /// The default implementation does nothing.
146
- @override
147
- void exitExceptionName(ExceptionNameContext ctx) {}
148
-
149
- /// The default implementation does nothing.
150
- @override
151
- void enterBlockTagName(BlockTagNameContext ctx) {}
152
-
153
- /// The default implementation does nothing.
154
- @override
155
- void exitBlockTagName(BlockTagNameContext ctx) {}
156
-
157
- /// The default implementation does nothing.
158
- @override
159
- void enterBlockTagContent(BlockTagContentContext ctx) {}
160
-
161
- /// The default implementation does nothing.
162
- @override
163
- void exitBlockTagContent(BlockTagContentContext ctx) {}
164
-
165
- /// The default implementation does nothing.
166
- @override
167
- void enterBlockTagText(BlockTagTextContext ctx) {}
168
-
169
- /// The default implementation does nothing.
170
- @override
171
- void exitBlockTagText(BlockTagTextContext ctx) {}
172
-
173
- /// The default implementation does nothing.
174
- @override
175
- void enterBlockTagTextElement(BlockTagTextElementContext ctx) {}
176
-
177
- /// The default implementation does nothing.
178
- @override
179
- void exitBlockTagTextElement(BlockTagTextElementContext ctx) {}
180
-
181
- /// The default implementation does nothing.
182
- @override
183
- void enterInlineTag(InlineTagContext ctx) {}
184
-
185
- /// The default implementation does nothing.
186
- @override
187
- void exitInlineTag(InlineTagContext ctx) {}
188
-
189
- /// The default implementation does nothing.
190
- @override
191
- void enterInlineTagName(InlineTagNameContext ctx) {}
192
-
193
- /// The default implementation does nothing.
194
- @override
195
- void exitInlineTagName(InlineTagNameContext ctx) {}
196
-
197
- /// The default implementation does nothing.
198
- @override
199
- void enterInlineTagContent(InlineTagContentContext ctx) {}
200
-
201
- /// The default implementation does nothing.
202
- @override
203
- void exitInlineTagContent(InlineTagContentContext ctx) {}
204
-
205
- /// The default implementation does nothing.
206
- @override
207
- void enterBraceExpression(BraceExpressionContext ctx) {}
208
-
209
- /// The default implementation does nothing.
210
- @override
211
- void exitBraceExpression(BraceExpressionContext ctx) {}
212
-
213
- /// The default implementation does nothing.
214
- @override
215
- void enterBraceContent(BraceContentContext ctx) {}
216
-
217
- /// The default implementation does nothing.
218
- @override
219
- void exitBraceContent(BraceContentContext ctx) {}
220
-
221
- /// The default implementation does nothing.
222
- @override
223
- void enterSkipWhitespace(SkipWhitespaceContext ctx) {}
224
-
225
- /// The default implementation does nothing.
226
- @override
227
- void exitSkipWhitespace(SkipWhitespaceContext ctx) {}
228
-
229
- /// The default implementation does nothing.
230
- @override
231
- void enterBraceText(BraceTextContext ctx) {}
232
-
233
- /// The default implementation does nothing.
234
- @override
235
- void exitBraceText(BraceTextContext ctx) {}
236
-
237
- /// The default implementation does nothing.
238
- @override
239
- void enterEveryRule(ParserRuleContext ctx) {}
240
-
241
- /// The default implementation does nothing.
242
- @override
243
- void exitEveryRule(ParserRuleContext ctx) {}
244
-
245
- /// The default implementation does nothing.
246
- @override
247
- void visitTerminal(TerminalNode node) {}
248
-
249
- /// The default implementation does nothing.
250
- @override
251
- void visitErrorNode(ErrorNode node) {}
252
- }
@@ -1,215 +0,0 @@
1
- // Generated from lib/src/antlr/grammars/apexdoc/ApexdocParser.g4 by ANTLR 4.9.2
2
- // ignore_for_file: unused_import, unused_local_variable, prefer_single_quotes
3
- import 'package:antlr4/antlr4.dart';
4
-
5
- import 'ApexdocParser.dart';
6
-
7
- /// This abstract class defines a complete listener for a parse tree produced by
8
- /// [ApexdocParser].
9
- abstract class ApexdocParserListener extends ParseTreeListener {
10
- /// Enter a parse tree produced by [ApexdocParser.documentation].
11
- /// [ctx] the parse tree
12
- void enterDocumentation(DocumentationContext ctx);
13
- /// Exit a parse tree produced by [ApexdocParser.documentation].
14
- /// [ctx] the parse tree
15
- void exitDocumentation(DocumentationContext ctx);
16
-
17
- /// Enter a parse tree produced by [ApexdocParser.documentationContent].
18
- /// [ctx] the parse tree
19
- void enterDocumentationContent(DocumentationContentContext ctx);
20
- /// Exit a parse tree produced by [ApexdocParser.documentationContent].
21
- /// [ctx] the parse tree
22
- void exitDocumentationContent(DocumentationContentContext ctx);
23
-
24
- /// Enter a parse tree produced by [ApexdocParser.description].
25
- /// [ctx] the parse tree
26
- void enterDescription(DescriptionContext ctx);
27
- /// Exit a parse tree produced by [ApexdocParser.description].
28
- /// [ctx] the parse tree
29
- void exitDescription(DescriptionContext ctx);
30
-
31
- /// Enter a parse tree produced by [ApexdocParser.descriptionLine].
32
- /// [ctx] the parse tree
33
- void enterDescriptionLine(DescriptionLineContext ctx);
34
- /// Exit a parse tree produced by [ApexdocParser.descriptionLine].
35
- /// [ctx] the parse tree
36
- void exitDescriptionLine(DescriptionLineContext ctx);
37
-
38
- /// Enter a parse tree produced by [ApexdocParser.descriptionLineStart].
39
- /// [ctx] the parse tree
40
- void enterDescriptionLineStart(DescriptionLineStartContext ctx);
41
- /// Exit a parse tree produced by [ApexdocParser.descriptionLineStart].
42
- /// [ctx] the parse tree
43
- void exitDescriptionLineStart(DescriptionLineStartContext ctx);
44
-
45
- /// Enter a parse tree produced by [ApexdocParser.descriptionLineNoSpaceNoAt].
46
- /// [ctx] the parse tree
47
- void enterDescriptionLineNoSpaceNoAt(DescriptionLineNoSpaceNoAtContext ctx);
48
- /// Exit a parse tree produced by [ApexdocParser.descriptionLineNoSpaceNoAt].
49
- /// [ctx] the parse tree
50
- void exitDescriptionLineNoSpaceNoAt(DescriptionLineNoSpaceNoAtContext ctx);
51
-
52
- /// Enter a parse tree produced by [ApexdocParser.descriptionLineElement].
53
- /// [ctx] the parse tree
54
- void enterDescriptionLineElement(DescriptionLineElementContext ctx);
55
- /// Exit a parse tree produced by [ApexdocParser.descriptionLineElement].
56
- /// [ctx] the parse tree
57
- void exitDescriptionLineElement(DescriptionLineElementContext ctx);
58
-
59
- /// Enter a parse tree produced by [ApexdocParser.descriptionLineText].
60
- /// [ctx] the parse tree
61
- void enterDescriptionLineText(DescriptionLineTextContext ctx);
62
- /// Exit a parse tree produced by [ApexdocParser.descriptionLineText].
63
- /// [ctx] the parse tree
64
- void exitDescriptionLineText(DescriptionLineTextContext ctx);
65
-
66
- /// Enter a parse tree produced by [ApexdocParser.descriptionNewline].
67
- /// [ctx] the parse tree
68
- void enterDescriptionNewline(DescriptionNewlineContext ctx);
69
- /// Exit a parse tree produced by [ApexdocParser.descriptionNewline].
70
- /// [ctx] the parse tree
71
- void exitDescriptionNewline(DescriptionNewlineContext ctx);
72
-
73
- /// Enter a parse tree produced by [ApexdocParser.tagSection].
74
- /// [ctx] the parse tree
75
- void enterTagSection(TagSectionContext ctx);
76
- /// Exit a parse tree produced by [ApexdocParser.tagSection].
77
- /// [ctx] the parse tree
78
- void exitTagSection(TagSectionContext ctx);
79
-
80
- /// Enter a parse tree produced by the [ParamBlockTag]
81
- /// labeled alternative in [file.parserName>.blockTag].
82
- /// [ctx] the parse tree
83
- void enterParamBlockTag(ParamBlockTagContext ctx);
84
- /// Exit a parse tree produced by the [ParamBlockTag]
85
- /// labeled alternative in [ApexdocParser.blockTag].
86
- /// [ctx] the parse tree
87
- void exitParamBlockTag(ParamBlockTagContext ctx);
88
-
89
- /// Enter a parse tree produced by the [ThrowsBlockTag]
90
- /// labeled alternative in [file.parserName>.blockTag].
91
- /// [ctx] the parse tree
92
- void enterThrowsBlockTag(ThrowsBlockTagContext ctx);
93
- /// Exit a parse tree produced by the [ThrowsBlockTag]
94
- /// labeled alternative in [ApexdocParser.blockTag].
95
- /// [ctx] the parse tree
96
- void exitThrowsBlockTag(ThrowsBlockTagContext ctx);
97
-
98
- /// Enter a parse tree produced by the [ReturnBlockTag]
99
- /// labeled alternative in [file.parserName>.blockTag].
100
- /// [ctx] the parse tree
101
- void enterReturnBlockTag(ReturnBlockTagContext ctx);
102
- /// Exit a parse tree produced by the [ReturnBlockTag]
103
- /// labeled alternative in [ApexdocParser.blockTag].
104
- /// [ctx] the parse tree
105
- void exitReturnBlockTag(ReturnBlockTagContext ctx);
106
-
107
- /// Enter a parse tree produced by the [ExampleBlockTag]
108
- /// labeled alternative in [file.parserName>.blockTag].
109
- /// [ctx] the parse tree
110
- void enterExampleBlockTag(ExampleBlockTagContext ctx);
111
- /// Exit a parse tree produced by the [ExampleBlockTag]
112
- /// labeled alternative in [ApexdocParser.blockTag].
113
- /// [ctx] the parse tree
114
- void exitExampleBlockTag(ExampleBlockTagContext ctx);
115
-
116
- /// Enter a parse tree produced by the [DefaultBlockTag]
117
- /// labeled alternative in [file.parserName>.blockTag].
118
- /// [ctx] the parse tree
119
- void enterDefaultBlockTag(DefaultBlockTagContext ctx);
120
- /// Exit a parse tree produced by the [DefaultBlockTag]
121
- /// labeled alternative in [ApexdocParser.blockTag].
122
- /// [ctx] the parse tree
123
- void exitDefaultBlockTag(DefaultBlockTagContext ctx);
124
-
125
- /// Enter a parse tree produced by [ApexdocParser.paramName].
126
- /// [ctx] the parse tree
127
- void enterParamName(ParamNameContext ctx);
128
- /// Exit a parse tree produced by [ApexdocParser.paramName].
129
- /// [ctx] the parse tree
130
- void exitParamName(ParamNameContext ctx);
131
-
132
- /// Enter a parse tree produced by [ApexdocParser.exceptionName].
133
- /// [ctx] the parse tree
134
- void enterExceptionName(ExceptionNameContext ctx);
135
- /// Exit a parse tree produced by [ApexdocParser.exceptionName].
136
- /// [ctx] the parse tree
137
- void exitExceptionName(ExceptionNameContext ctx);
138
-
139
- /// Enter a parse tree produced by [ApexdocParser.blockTagName].
140
- /// [ctx] the parse tree
141
- void enterBlockTagName(BlockTagNameContext ctx);
142
- /// Exit a parse tree produced by [ApexdocParser.blockTagName].
143
- /// [ctx] the parse tree
144
- void exitBlockTagName(BlockTagNameContext ctx);
145
-
146
- /// Enter a parse tree produced by [ApexdocParser.blockTagContent].
147
- /// [ctx] the parse tree
148
- void enterBlockTagContent(BlockTagContentContext ctx);
149
- /// Exit a parse tree produced by [ApexdocParser.blockTagContent].
150
- /// [ctx] the parse tree
151
- void exitBlockTagContent(BlockTagContentContext ctx);
152
-
153
- /// Enter a parse tree produced by [ApexdocParser.blockTagText].
154
- /// [ctx] the parse tree
155
- void enterBlockTagText(BlockTagTextContext ctx);
156
- /// Exit a parse tree produced by [ApexdocParser.blockTagText].
157
- /// [ctx] the parse tree
158
- void exitBlockTagText(BlockTagTextContext ctx);
159
-
160
- /// Enter a parse tree produced by [ApexdocParser.blockTagTextElement].
161
- /// [ctx] the parse tree
162
- void enterBlockTagTextElement(BlockTagTextElementContext ctx);
163
- /// Exit a parse tree produced by [ApexdocParser.blockTagTextElement].
164
- /// [ctx] the parse tree
165
- void exitBlockTagTextElement(BlockTagTextElementContext ctx);
166
-
167
- /// Enter a parse tree produced by [ApexdocParser.inlineTag].
168
- /// [ctx] the parse tree
169
- void enterInlineTag(InlineTagContext ctx);
170
- /// Exit a parse tree produced by [ApexdocParser.inlineTag].
171
- /// [ctx] the parse tree
172
- void exitInlineTag(InlineTagContext ctx);
173
-
174
- /// Enter a parse tree produced by [ApexdocParser.inlineTagName].
175
- /// [ctx] the parse tree
176
- void enterInlineTagName(InlineTagNameContext ctx);
177
- /// Exit a parse tree produced by [ApexdocParser.inlineTagName].
178
- /// [ctx] the parse tree
179
- void exitInlineTagName(InlineTagNameContext ctx);
180
-
181
- /// Enter a parse tree produced by [ApexdocParser.inlineTagContent].
182
- /// [ctx] the parse tree
183
- void enterInlineTagContent(InlineTagContentContext ctx);
184
- /// Exit a parse tree produced by [ApexdocParser.inlineTagContent].
185
- /// [ctx] the parse tree
186
- void exitInlineTagContent(InlineTagContentContext ctx);
187
-
188
- /// Enter a parse tree produced by [ApexdocParser.braceExpression].
189
- /// [ctx] the parse tree
190
- void enterBraceExpression(BraceExpressionContext ctx);
191
- /// Exit a parse tree produced by [ApexdocParser.braceExpression].
192
- /// [ctx] the parse tree
193
- void exitBraceExpression(BraceExpressionContext ctx);
194
-
195
- /// Enter a parse tree produced by [ApexdocParser.braceContent].
196
- /// [ctx] the parse tree
197
- void enterBraceContent(BraceContentContext ctx);
198
- /// Exit a parse tree produced by [ApexdocParser.braceContent].
199
- /// [ctx] the parse tree
200
- void exitBraceContent(BraceContentContext ctx);
201
-
202
- /// Enter a parse tree produced by [ApexdocParser.skipWhitespace].
203
- /// [ctx] the parse tree
204
- void enterSkipWhitespace(SkipWhitespaceContext ctx);
205
- /// Exit a parse tree produced by [ApexdocParser.skipWhitespace].
206
- /// [ctx] the parse tree
207
- void exitSkipWhitespace(SkipWhitespaceContext ctx);
208
-
209
- /// Enter a parse tree produced by [ApexdocParser.braceText].
210
- /// [ctx] the parse tree
211
- void enterBraceText(BraceTextContext ctx);
212
- /// Exit a parse tree produced by [ApexdocParser.braceText].
213
- /// [ctx] the parse tree
214
- void exitBraceText(BraceTextContext ctx);
215
- }
@@ -1,32 +0,0 @@
1
- import 'package:apexdocs_dart/src/antlr/lib/apex/ApexParser.dart';
2
- import 'package:apexdocs_dart/src/model/types.dart';
3
- import 'package:apexdocs_dart/src/service/apex_listener.dart';
4
-
5
- ClassModel buildClass(
6
- DeclarationDescriptor descriptor, ClassDeclarationContext ctx) {
7
- final className = ctx.id().text;
8
- final extendedClass = ctx.EXTENDS() != null ? ctx.typeRef().text : null;
9
- final implementedInterfaces = ctx.IMPLEMENTS() != null
10
- ? ctx.typeList().typeRefs().map((e) => e.text).toList()
11
- : <String>[];
12
-
13
- return ClassModel(
14
- name: className,
15
- accessModifiers: descriptor.accessModifiers,
16
- docComment: descriptor.docComment,
17
- extendedClass: extendedClass,
18
- implementedInterfaces: implementedInterfaces);
19
- }
20
-
21
- InterfaceModel buildInterface(
22
- DeclarationDescriptor descriptor, InterfaceDeclarationContext ctx) {
23
- final interfaceName = ctx.id().text;
24
- final extendsInterfaces = ctx.EXTENDS() != null
25
- ? ctx.typeList().typeRefs().map((e) => e.text).toList()
26
- : <String>[];
27
- return InterfaceModel(
28
- name: interfaceName,
29
- docComment: descriptor.docComment,
30
- accessModifiers: descriptor.accessModifiers,
31
- extendedInterfaces: extendsInterfaces);
32
- }
@@ -1,37 +0,0 @@
1
- import 'package:apexdocs_dart/src/model/types.dart';
2
- import 'package:json_annotation/json_annotation.dart';
3
-
4
- part 'apex_file_manifest.g.dart';
5
-
6
- @JsonSerializable()
7
- class ApexFileManifest {
8
- @JsonKey(fromJson: typeFromJson, toJson: typeToJson)
9
- late final List<Type> generatedTypes;
10
-
11
- ApexFileManifest(this.generatedTypes);
12
-
13
- factory ApexFileManifest.fromJson(Map<String, dynamic> json) =>
14
- _$ApexFileManifestFromJson(json);
15
-
16
- Map<String, dynamic> toJson() => _$ApexFileManifestToJson(this);
17
-
18
- static List<Type> typeFromJson(List<dynamic> json) {
19
- return json.map((e) {
20
- final currentJsonMap = e as Map<String, dynamic>;
21
- switch (currentJsonMap['type_name'] as String) {
22
- case 'class':
23
- return ClassModel.fromJson(currentJsonMap);
24
- case 'interface':
25
- return InterfaceModel.fromJson(currentJsonMap);
26
- case 'enum':
27
- return EnumModel.fromJson(currentJsonMap);
28
- default:
29
- throw Exception('Unknown type');
30
- }
31
- }).toList();
32
- }
33
-
34
- static List<dynamic> typeToJson(List<Type> types) {
35
- return types.map((e) => e.toJson()).toList();
36
- }
37
- }
@@ -1,18 +0,0 @@
1
- // GENERATED CODE - DO NOT MODIFY BY HAND
2
-
3
- part of 'apex_file_manifest.dart';
4
-
5
- // **************************************************************************
6
- // JsonSerializableGenerator
7
- // **************************************************************************
8
-
9
- ApexFileManifest _$ApexFileManifestFromJson(Map<String, dynamic> json) {
10
- return ApexFileManifest(
11
- ApexFileManifest.typeFromJson(json['generatedTypes'] as List),
12
- );
13
- }
14
-
15
- Map<String, dynamic> _$ApexFileManifestToJson(ApexFileManifest instance) =>
16
- <String, dynamic>{
17
- 'generatedTypes': ApexFileManifest.typeToJson(instance.generatedTypes),
18
- };