@enjoys/context-engine 1.0.0 → 1.0.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 (112) hide show
  1. package/data/commands/adb.json +322 -0
  2. package/data/commands/alembic.json +301 -0
  3. package/data/commands/artisan.json +277 -0
  4. package/data/commands/atlas.json +426 -0
  5. package/data/commands/auth0.json +648 -0
  6. package/data/commands/bat.json +84 -0
  7. package/data/commands/btop.json +59 -0
  8. package/data/commands/bundle.json +321 -0
  9. package/data/commands/composer.json +507 -0
  10. package/data/commands/dart.json +216 -0
  11. package/data/commands/dbmate.json +257 -0
  12. package/data/commands/docker-compose.json +384 -0
  13. package/data/commands/drizzle-kit.json +217 -0
  14. package/data/commands/expo.json +65 -0
  15. package/data/commands/fastlane.json +243 -0
  16. package/data/commands/fd.json +86 -0
  17. package/data/commands/flutter.json +298 -0
  18. package/data/commands/flyway.json +261 -0
  19. package/data/commands/fzf.json +103 -0
  20. package/data/commands/gem.json +267 -0
  21. package/data/commands/htop.json +56 -0
  22. package/data/commands/jq.json +100 -0
  23. package/data/commands/k9s.json +62 -0
  24. package/data/commands/linux.json +3007 -0
  25. package/data/commands/liquibase.json +399 -0
  26. package/data/commands/manifest.json +619 -0
  27. package/data/commands/minikube.json +60 -0
  28. package/data/commands/ng.json +64 -0
  29. package/data/commands/nuxt.json +60 -0
  30. package/data/commands/nvim.json +91 -0
  31. package/data/commands/php.json +157 -0
  32. package/data/commands/pm2.json +259 -0
  33. package/data/commands/pod.json +175 -0
  34. package/data/commands/prisma.json +257 -0
  35. package/data/commands/rails.json +372 -0
  36. package/data/commands/rake.json +360 -0
  37. package/data/commands/react-native.json +57 -0
  38. package/data/commands/rg.json +103 -0
  39. package/data/commands/rspec.json +257 -0
  40. package/data/commands/ruby.json +108 -0
  41. package/data/commands/screen.json +101 -0
  42. package/data/commands/sequelize.json +342 -0
  43. package/data/commands/snyk.json +442 -0
  44. package/data/commands/sonar-scanner.json +219 -0
  45. package/data/commands/stripe.json +314 -0
  46. package/data/commands/symfony.json +449 -0
  47. package/data/commands/tmux.json +197 -0
  48. package/data/commands/top.json +61 -0
  49. package/data/commands/trivy.json +367 -0
  50. package/data/commands/twilio.json +382 -0
  51. package/data/commands/typeorm.json +262 -0
  52. package/data/commands/vim.json +85 -0
  53. package/data/commands/vue.json +60 -0
  54. package/data/commands/wp.json +857 -0
  55. package/data/commands/xcodebuild.json +141 -0
  56. package/data/commands/yq.json +57 -0
  57. package/data/completion/bash.json +1184 -0
  58. package/data/completion/c.json +1067 -0
  59. package/data/completion/cpp.json +824 -0
  60. package/data/completion/csharp.json +860 -0
  61. package/data/completion/dockerfile.json +536 -0
  62. package/data/completion/go.json +1346 -0
  63. package/data/completion/html.json +806 -0
  64. package/data/completion/java.json +1112 -0
  65. package/data/completion/javascript.json +914 -0
  66. package/data/completion/lua.json +968 -0
  67. package/data/completion/php.json +1535 -0
  68. package/data/completion/python.json +1427 -0
  69. package/data/completion/ruby.json +1531 -0
  70. package/data/completion/rust.json +698 -0
  71. package/data/completion/sql.json +887 -0
  72. package/data/completion/toml.json +428 -0
  73. package/data/completion/typescript.json +338 -0
  74. package/data/completion/yaml.json +563 -0
  75. package/data/defination/bash.json +565 -0
  76. package/data/defination/c.json +865 -0
  77. package/data/defination/cpp.json +348 -0
  78. package/data/defination/csharp.json +144 -0
  79. package/data/defination/dockerfile.json +113 -0
  80. package/data/defination/go.json +561 -0
  81. package/data/defination/html.json +559 -0
  82. package/data/defination/java.json +184 -0
  83. package/data/defination/javascript.json +265 -0
  84. package/data/defination/lua.json +181 -0
  85. package/data/defination/php.json +726 -0
  86. package/data/defination/python.json +717 -0
  87. package/data/defination/ruby.json +670 -0
  88. package/data/defination/rust.json +207 -0
  89. package/data/defination/sql.json +473 -0
  90. package/data/defination/toml.json +251 -0
  91. package/data/defination/typescript.json +29 -0
  92. package/data/defination/yaml.json +197 -0
  93. package/data/hover/bash.json +245 -0
  94. package/data/hover/c.json +265 -0
  95. package/data/hover/cpp.json +210 -0
  96. package/data/hover/csharp.json +290 -0
  97. package/data/hover/dockerfile.json +145 -0
  98. package/data/hover/go.json +580 -0
  99. package/data/hover/html.json +250 -0
  100. package/data/hover/java.json +395 -0
  101. package/data/hover/javascript.json +330 -0
  102. package/data/hover/lua.json +265 -0
  103. package/data/hover/php.json +300 -0
  104. package/data/hover/python.json +380 -0
  105. package/data/hover/ruby.json +265 -0
  106. package/data/hover/rust.json +275 -0
  107. package/data/hover/sql.json +230 -0
  108. package/data/hover/toml.json +145 -0
  109. package/data/hover/typescript.json +120 -0
  110. package/data/hover/yaml.json +165 -0
  111. package/data/manifest.json +242 -0
  112. package/package.json +1 -1
@@ -0,0 +1,348 @@
1
+ {
2
+ "language": "cpp",
3
+ "definitions": {
4
+ "std::string": {
5
+ "signature": "using string = std::basic_string<char>",
6
+ "description": "Dynamic character string class providing automatic memory management, concatenation, comparison, and search operations.",
7
+ "type": "class",
8
+ "module": "<string>",
9
+ "members": {
10
+ "size": { "signature": "size_type size() const noexcept", "description": "Returns the number of characters in the string.", "type": "method" },
11
+ "length": { "signature": "size_type length() const noexcept", "description": "Returns the number of characters (same as size).", "type": "method" },
12
+ "empty": { "signature": "bool empty() const noexcept", "description": "Returns true if the string has no characters.", "type": "method" },
13
+ "c_str": { "signature": "const char* c_str() const noexcept", "description": "Returns a null-terminated C-style string.", "type": "method" },
14
+ "data": { "signature": "const char* data() const noexcept", "description": "Returns a pointer to the underlying character array.", "type": "method" },
15
+ "substr": { "signature": "string substr(size_type pos = 0, size_type count = npos) const", "description": "Returns a substring starting at pos with length count.", "type": "method" },
16
+ "find": { "signature": "size_type find(const string& str, size_type pos = 0) const noexcept", "description": "Finds the first occurrence of the substring.", "type": "method" },
17
+ "rfind": { "signature": "size_type rfind(const string& str, size_type pos = npos) const noexcept", "description": "Finds the last occurrence of the substring.", "type": "method" },
18
+ "append": { "signature": "string& append(const string& str)", "description": "Appends the given string to the end.", "type": "method" },
19
+ "insert": { "signature": "string& insert(size_type pos, const string& str)", "description": "Inserts characters at the specified position.", "type": "method" },
20
+ "erase": { "signature": "string& erase(size_type pos = 0, size_type count = npos)", "description": "Erases characters from the string.", "type": "method" },
21
+ "replace": { "signature": "string& replace(size_type pos, size_type count, const string& str)", "description": "Replaces part of the string with another string.", "type": "method" },
22
+ "compare": { "signature": "int compare(const string& str) const noexcept", "description": "Compares this string to another.", "type": "method" },
23
+ "starts_with": { "signature": "bool starts_with(std::string_view sv) const noexcept", "description": "Checks if the string starts with the given prefix (C++20).", "type": "method" },
24
+ "ends_with": { "signature": "bool ends_with(std::string_view sv) const noexcept", "description": "Checks if the string ends with the given suffix (C++20).", "type": "method" },
25
+ "contains": { "signature": "bool contains(std::string_view sv) const noexcept", "description": "Checks if the string contains the given substring (C++23).", "type": "method" },
26
+ "reserve": { "signature": "void reserve(size_type new_cap)", "description": "Reserves storage to avoid reallocations.", "type": "method" },
27
+ "clear": { "signature": "void clear() noexcept", "description": "Clears the contents of the string.", "type": "method" },
28
+ "push_back": { "signature": "void push_back(char ch)", "description": "Appends a character to the end.", "type": "method" },
29
+ "pop_back": { "signature": "void pop_back()", "description": "Removes the last character.", "type": "method" },
30
+ "begin": { "signature": "iterator begin() noexcept", "description": "Returns an iterator to the first character.", "type": "method" },
31
+ "end": { "signature": "iterator end() noexcept", "description": "Returns an iterator past the last character.", "type": "method" }
32
+ }
33
+ },
34
+ "std::vector": {
35
+ "signature": "template<class T, class Allocator = std::allocator<T>> class vector",
36
+ "description": "Dynamic contiguous array with automatic memory management. Supports amortized O(1) push_back and O(1) random access. The most commonly used container in C++.",
37
+ "type": "class",
38
+ "module": "<vector>",
39
+ "members": {
40
+ "push_back": { "signature": "void push_back(const T& value)", "description": "Appends an element to the end of the vector.", "type": "method" },
41
+ "emplace_back": { "signature": "template<class... Args> reference emplace_back(Args&&... args)", "description": "Constructs an element in-place at the end.", "type": "method" },
42
+ "pop_back": { "signature": "void pop_back()", "description": "Removes the last element.", "type": "method" },
43
+ "size": { "signature": "size_type size() const noexcept", "description": "Returns the number of elements.", "type": "method" },
44
+ "empty": { "signature": "bool empty() const noexcept", "description": "Returns true if the vector has no elements.", "type": "method" },
45
+ "capacity": { "signature": "size_type capacity() const noexcept", "description": "Returns the number of elements that can be held in currently allocated storage.", "type": "method" },
46
+ "reserve": { "signature": "void reserve(size_type new_cap)", "description": "Reserves storage for at least new_cap elements.", "type": "method" },
47
+ "shrink_to_fit": { "signature": "void shrink_to_fit()", "description": "Requests removal of unused capacity.", "type": "method" },
48
+ "resize": { "signature": "void resize(size_type count)", "description": "Resizes the container to contain count elements.", "type": "method" },
49
+ "clear": { "signature": "void clear() noexcept", "description": "Erases all elements from the vector.", "type": "method" },
50
+ "at": { "signature": "reference at(size_type pos)", "description": "Returns element at pos with bounds checking.", "type": "method" },
51
+ "front": { "signature": "reference front()", "description": "Returns a reference to the first element.", "type": "method" },
52
+ "back": { "signature": "reference back()", "description": "Returns a reference to the last element.", "type": "method" },
53
+ "data": { "signature": "T* data() noexcept", "description": "Returns a pointer to the underlying array.", "type": "method" },
54
+ "insert": { "signature": "iterator insert(const_iterator pos, const T& value)", "description": "Inserts an element before the given position.", "type": "method" },
55
+ "erase": { "signature": "iterator erase(const_iterator pos)", "description": "Erases the element at the given position.", "type": "method" },
56
+ "begin": { "signature": "iterator begin() noexcept", "description": "Returns an iterator to the first element.", "type": "method" },
57
+ "end": { "signature": "iterator end() noexcept", "description": "Returns an iterator past the last element.", "type": "method" },
58
+ "rbegin": { "signature": "reverse_iterator rbegin() noexcept", "description": "Returns a reverse iterator to the last element.", "type": "method" },
59
+ "rend": { "signature": "reverse_iterator rend() noexcept", "description": "Returns a reverse iterator before the first element.", "type": "method" }
60
+ }
61
+ },
62
+ "std::map": {
63
+ "signature": "template<class Key, class T, class Compare = std::less<Key>, class Allocator = std::allocator<std::pair<const Key, T>>> class map",
64
+ "description": "Sorted associative container storing unique key-value pairs, ordered by keys using a red-black tree. O(log n) lookup, insertion, and removal.",
65
+ "type": "class",
66
+ "module": "<map>",
67
+ "members": {
68
+ "insert": { "signature": "std::pair<iterator, bool> insert(const value_type& value)", "description": "Inserts a key-value pair if the key does not exist.", "type": "method" },
69
+ "emplace": { "signature": "template<class... Args> std::pair<iterator, bool> emplace(Args&&... args)", "description": "Constructs a key-value pair in-place.", "type": "method" },
70
+ "erase": { "signature": "size_type erase(const Key& key)", "description": "Removes the element with the given key.", "type": "method" },
71
+ "find": { "signature": "iterator find(const Key& key)", "description": "Finds an element with the given key.", "type": "method" },
72
+ "count": { "signature": "size_type count(const Key& key) const", "description": "Returns the number of elements with the given key (0 or 1).", "type": "method" },
73
+ "contains": { "signature": "bool contains(const Key& key) const", "description": "Checks if the map contains an element with the given key (C++20).", "type": "method" },
74
+ "at": { "signature": "T& at(const Key& key)", "description": "Returns a reference to the mapped value with bounds checking.", "type": "method" },
75
+ "operator[]": { "signature": "T& operator[](const Key& key)", "description": "Returns a reference to the mapped value, inserting a default if not present.", "type": "method" },
76
+ "size": { "signature": "size_type size() const noexcept", "description": "Returns the number of key-value pairs.", "type": "method" },
77
+ "empty": { "signature": "bool empty() const noexcept", "description": "Returns true if the map is empty.", "type": "method" },
78
+ "clear": { "signature": "void clear() noexcept", "description": "Removes all elements.", "type": "method" },
79
+ "begin": { "signature": "iterator begin() noexcept", "description": "Returns an iterator to the first element.", "type": "method" },
80
+ "end": { "signature": "iterator end() noexcept", "description": "Returns an iterator past the last element.", "type": "method" },
81
+ "lower_bound": { "signature": "iterator lower_bound(const Key& key)", "description": "Returns an iterator to the first element not less than key.", "type": "method" },
82
+ "upper_bound": { "signature": "iterator upper_bound(const Key& key)", "description": "Returns an iterator to the first element greater than key.", "type": "method" }
83
+ }
84
+ },
85
+ "std::unordered_map": {
86
+ "signature": "template<class Key, class T, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator<std::pair<const Key, T>>> class unordered_map",
87
+ "description": "Hash-based associative container storing unique key-value pairs. Average O(1) lookup, insertion, and removal.",
88
+ "type": "class",
89
+ "module": "<unordered_map>",
90
+ "members": {
91
+ "insert": { "signature": "std::pair<iterator, bool> insert(const value_type& value)", "description": "Inserts a key-value pair if the key does not exist.", "type": "method" },
92
+ "emplace": { "signature": "template<class... Args> std::pair<iterator, bool> emplace(Args&&... args)", "description": "Constructs a key-value pair in-place.", "type": "method" },
93
+ "erase": { "signature": "size_type erase(const Key& key)", "description": "Removes the element with the given key.", "type": "method" },
94
+ "find": { "signature": "iterator find(const Key& key)", "description": "Finds an element with the given key.", "type": "method" },
95
+ "count": { "signature": "size_type count(const Key& key) const", "description": "Returns the number of elements with the given key (0 or 1).", "type": "method" },
96
+ "contains": { "signature": "bool contains(const Key& key) const", "description": "Checks if the map contains an element with the given key (C++20).", "type": "method" },
97
+ "at": { "signature": "T& at(const Key& key)", "description": "Returns a reference to the mapped value with bounds checking.", "type": "method" },
98
+ "operator[]": { "signature": "T& operator[](const Key& key)", "description": "Returns a reference to the mapped value, inserting a default if not present.", "type": "method" },
99
+ "size": { "signature": "size_type size() const noexcept", "description": "Returns the number of elements.", "type": "method" },
100
+ "empty": { "signature": "bool empty() const noexcept", "description": "Returns true if the map is empty.", "type": "method" },
101
+ "clear": { "signature": "void clear() noexcept", "description": "Removes all elements.", "type": "method" },
102
+ "bucket_count": { "signature": "size_type bucket_count() const noexcept", "description": "Returns the number of buckets.", "type": "method" },
103
+ "load_factor": { "signature": "float load_factor() const noexcept", "description": "Returns the average number of elements per bucket.", "type": "method" },
104
+ "reserve": { "signature": "void reserve(size_type count)", "description": "Reserves space for at least count elements.", "type": "method" }
105
+ }
106
+ },
107
+ "std::set": {
108
+ "signature": "template<class Key, class Compare = std::less<Key>, class Allocator = std::allocator<Key>> class set",
109
+ "description": "Sorted associative container of unique elements implemented as a red-black tree. O(log n) insertion, removal, and lookup.",
110
+ "type": "class",
111
+ "module": "<set>",
112
+ "members": {
113
+ "insert": { "signature": "std::pair<iterator, bool> insert(const value_type& value)", "description": "Inserts an element if not already present.", "type": "method" },
114
+ "emplace": { "signature": "template<class... Args> std::pair<iterator, bool> emplace(Args&&... args)", "description": "Constructs an element in-place.", "type": "method" },
115
+ "erase": { "signature": "size_type erase(const Key& key)", "description": "Removes the element with the given value.", "type": "method" },
116
+ "find": { "signature": "iterator find(const Key& key) const", "description": "Finds an element with the given value.", "type": "method" },
117
+ "count": { "signature": "size_type count(const Key& key) const", "description": "Returns how many elements match the key (0 or 1).", "type": "method" },
118
+ "contains": { "signature": "bool contains(const Key& key) const", "description": "Checks if the set contains the given value (C++20).", "type": "method" },
119
+ "size": { "signature": "size_type size() const noexcept", "description": "Returns the number of elements.", "type": "method" },
120
+ "empty": { "signature": "bool empty() const noexcept", "description": "Returns true if the set is empty.", "type": "method" },
121
+ "clear": { "signature": "void clear() noexcept", "description": "Removes all elements.", "type": "method" },
122
+ "begin": { "signature": "iterator begin() const noexcept", "description": "Returns an iterator to the first element.", "type": "method" },
123
+ "end": { "signature": "iterator end() const noexcept", "description": "Returns an iterator past the last element.", "type": "method" },
124
+ "lower_bound": { "signature": "iterator lower_bound(const Key& key) const", "description": "Returns an iterator to the first element not less than key.", "type": "method" },
125
+ "upper_bound": { "signature": "iterator upper_bound(const Key& key) const", "description": "Returns an iterator to the first element greater than key.", "type": "method" }
126
+ }
127
+ },
128
+ "std::unique_ptr": {
129
+ "signature": "template<class T, class Deleter = std::default_delete<T>> class unique_ptr",
130
+ "description": "Smart pointer with exclusive ownership semantics. Cannot be copied, only moved. Automatically deletes the managed object when the unique_ptr goes out of scope.",
131
+ "type": "class",
132
+ "module": "<memory>",
133
+ "members": {
134
+ "get": { "signature": "pointer get() const noexcept", "description": "Returns the stored pointer without releasing ownership.", "type": "method" },
135
+ "release": { "signature": "pointer release() noexcept", "description": "Releases ownership of the managed object and returns the raw pointer.", "type": "method" },
136
+ "reset": { "signature": "void reset(pointer ptr = pointer()) noexcept", "description": "Replaces the managed object, deleting the old one.", "type": "method" },
137
+ "swap": { "signature": "void swap(unique_ptr& other) noexcept", "description": "Swaps the managed objects and associated deleters.", "type": "method" },
138
+ "operator*": { "signature": "T& operator*() const", "description": "Dereferences the stored pointer.", "type": "method" },
139
+ "operator->": { "signature": "pointer operator->() const noexcept", "description": "Returns the stored pointer for member access.", "type": "method" },
140
+ "operator bool": { "signature": "explicit operator bool() const noexcept", "description": "Checks if the pointer is non-null.", "type": "method" }
141
+ }
142
+ },
143
+ "std::shared_ptr": {
144
+ "signature": "template<class T> class shared_ptr",
145
+ "description": "Smart pointer with shared (reference-counted) ownership. Multiple shared_ptr instances can own the same object. The object is destroyed when the last shared_ptr owning it is destroyed.",
146
+ "type": "class",
147
+ "module": "<memory>",
148
+ "members": {
149
+ "get": { "signature": "T* get() const noexcept", "description": "Returns the stored pointer.", "type": "method" },
150
+ "reset": { "signature": "void reset() noexcept", "description": "Releases ownership. If last owner, deletes the object.", "type": "method" },
151
+ "use_count": { "signature": "long use_count() const noexcept", "description": "Returns the number of shared_ptr instances sharing ownership.", "type": "method" },
152
+ "unique": { "signature": "bool unique() const noexcept", "description": "Returns true if this is the only owner (deprecated in C++17, removed in C++20).", "type": "method" },
153
+ "swap": { "signature": "void swap(shared_ptr& other) noexcept", "description": "Swaps the managed objects.", "type": "method" },
154
+ "operator*": { "signature": "T& operator*() const noexcept", "description": "Dereferences the stored pointer.", "type": "method" },
155
+ "operator->": { "signature": "T* operator->() const noexcept", "description": "Returns the stored pointer for member access.", "type": "method" },
156
+ "operator bool": { "signature": "explicit operator bool() const noexcept", "description": "Checks if the pointer is non-null.", "type": "method" }
157
+ }
158
+ },
159
+ "std::optional": {
160
+ "signature": "template<class T> class optional",
161
+ "description": "Manages an optional contained value — a value that may or may not be present. Useful as a return type for functions that may fail without using exceptions or sentinel values. (C++17)",
162
+ "type": "class",
163
+ "module": "<optional>",
164
+ "members": {
165
+ "value": { "signature": "T& value()", "description": "Returns the contained value with bounds checking (throws std::bad_optional_access if empty).", "type": "method" },
166
+ "value_or": { "signature": "template<class U> T value_or(U&& default_value) const&", "description": "Returns the contained value if present, otherwise the given default.", "type": "method" },
167
+ "has_value": { "signature": "bool has_value() const noexcept", "description": "Returns true if the optional contains a value.", "type": "method" },
168
+ "reset": { "signature": "void reset() noexcept", "description": "Destroys the contained value, making the optional empty.", "type": "method" },
169
+ "emplace": { "signature": "template<class... Args> T& emplace(Args&&... args)", "description": "Constructs the contained value in-place.", "type": "method" },
170
+ "operator*": { "signature": "T& operator*() &", "description": "Accesses the contained value (no bounds checking).", "type": "method" },
171
+ "operator->": { "signature": "const T* operator->() const", "description": "Accesses members of the contained value.", "type": "method" },
172
+ "operator bool": { "signature": "explicit operator bool() const noexcept", "description": "Returns true if the optional contains a value.", "type": "method" }
173
+ }
174
+ },
175
+ "std::array": {
176
+ "signature": "template<class T, std::size_t N> struct array",
177
+ "description": "Fixed-size container wrapping a C-style array. Provides STL-compatible interface with bounds checking via at(). Stack-allocated with zero overhead compared to built-in arrays.",
178
+ "type": "class",
179
+ "module": "<array>",
180
+ "members": {
181
+ "at": { "signature": "reference at(size_type pos)", "description": "Returns element at pos with bounds checking.", "type": "method" },
182
+ "operator[]": { "signature": "reference operator[](size_type pos)", "description": "Returns element at pos (no bounds checking).", "type": "method" },
183
+ "front": { "signature": "reference front()", "description": "Returns the first element.", "type": "method" },
184
+ "back": { "signature": "reference back()", "description": "Returns the last element.", "type": "method" },
185
+ "data": { "signature": "T* data() noexcept", "description": "Returns a pointer to the underlying C-style array.", "type": "method" },
186
+ "size": { "signature": "constexpr size_type size() const noexcept", "description": "Returns the number of elements (always N).", "type": "method" },
187
+ "empty": { "signature": "constexpr bool empty() const noexcept", "description": "Returns true if the array is empty (N == 0).", "type": "method" },
188
+ "fill": { "signature": "void fill(const T& value)", "description": "Fills all elements with the given value.", "type": "method" },
189
+ "swap": { "signature": "void swap(array& other) noexcept(...)", "description": "Swaps contents with another array.", "type": "method" },
190
+ "begin": { "signature": "iterator begin() noexcept", "description": "Returns an iterator to the first element.", "type": "method" },
191
+ "end": { "signature": "iterator end() noexcept", "description": "Returns an iterator past the last element.", "type": "method" }
192
+ }
193
+ },
194
+ "std::pair": {
195
+ "signature": "template<class T1, class T2> struct pair",
196
+ "description": "Holds two heterogeneous objects as a single unit. Commonly used as the value type of std::map and as a return type for multiple values.",
197
+ "type": "class",
198
+ "module": "<utility>",
199
+ "members": {
200
+ "first": { "signature": "T1 first", "description": "The first element of the pair.", "type": "property" },
201
+ "second": { "signature": "T2 second", "description": "The second element of the pair.", "type": "property" }
202
+ }
203
+ },
204
+ "std::tuple": {
205
+ "signature": "template<class... Types> class tuple",
206
+ "description": "Fixed-size heterogeneous collection of values. Generalizes std::pair to an arbitrary number of elements. Supports structured bindings (C++17).",
207
+ "type": "class",
208
+ "module": "<tuple>",
209
+ "members": {
210
+ "std::get": { "signature": "template<std::size_t I, class... Types> auto& get(tuple<Types...>& t) noexcept", "description": "Extracts the I-th element from the tuple.", "type": "function" },
211
+ "std::tuple_size": { "signature": "template<class T> struct tuple_size", "description": "Provides the number of elements in a tuple at compile time.", "type": "class" },
212
+ "std::tuple_element": { "signature": "template<std::size_t I, class T> struct tuple_element", "description": "Provides the type of the I-th element of a tuple.", "type": "class" },
213
+ "std::make_tuple": { "signature": "template<class... Types> tuple<VTypes...> make_tuple(Types&&... args)", "description": "Creates a tuple from the given arguments.", "type": "function" },
214
+ "std::tie": { "signature": "template<class... Types> tuple<Types&...> tie(Types&... args) noexcept", "description": "Creates a tuple of lvalue references.", "type": "function" }
215
+ }
216
+ },
217
+ "std::function": {
218
+ "signature": "template<class R, class... Args> class function<R(Args...)>",
219
+ "description": "General-purpose polymorphic function wrapper. Can store, copy, and invoke any callable target — functions, lambdas, bind expressions, and other function objects.",
220
+ "type": "class",
221
+ "module": "<functional>",
222
+ "members": {
223
+ "operator()": { "signature": "R operator()(Args... args) const", "description": "Invokes the stored callable with the given arguments.", "type": "method" },
224
+ "operator bool": { "signature": "explicit operator bool() const noexcept", "description": "Returns true if the function object has a callable target.", "type": "method" },
225
+ "target": { "signature": "template<class T> T* target() noexcept", "description": "Returns a pointer to the stored callable if type matches, else nullptr.", "type": "method" },
226
+ "swap": { "signature": "void swap(function& other) noexcept", "description": "Swaps the stored callable targets.", "type": "method" }
227
+ }
228
+ },
229
+ "std::weak_ptr": {
230
+ "signature": "template<class T> class weak_ptr",
231
+ "description": "Non-owning smart pointer that holds a weak reference to a std::shared_ptr-managed object. Does not affect the reference count. Used to break circular references.",
232
+ "type": "class",
233
+ "module": "<memory>",
234
+ "members": {
235
+ "lock": { "signature": "shared_ptr<T> lock() const noexcept", "description": "Creates a shared_ptr that shares ownership of the managed object. Returns empty shared_ptr if expired.", "type": "method" },
236
+ "expired": { "signature": "bool expired() const noexcept", "description": "Returns true if the managed object has been deleted.", "type": "method" },
237
+ "use_count": { "signature": "long use_count() const noexcept", "description": "Returns the number of shared_ptr instances sharing ownership.", "type": "method" },
238
+ "reset": { "signature": "void reset() noexcept", "description": "Releases the reference to the managed object.", "type": "method" },
239
+ "swap": { "signature": "void swap(weak_ptr& other) noexcept", "description": "Swaps the managed objects.", "type": "method" }
240
+ }
241
+ },
242
+ "std::make_unique": {
243
+ "signature": "template<class T, class... Args> unique_ptr<T> make_unique(Args&&... args)",
244
+ "description": "Constructs an object of type T and wraps it in a std::unique_ptr. Preferred over using new directly. Exception-safe. (C++14)",
245
+ "type": "function",
246
+ "module": "<memory>"
247
+ },
248
+ "std::make_shared": {
249
+ "signature": "template<class T, class... Args> shared_ptr<T> make_shared(Args&&... args)",
250
+ "description": "Constructs an object of type T and wraps it in a std::shared_ptr. Performs a single allocation for both the object and the control block.",
251
+ "type": "function",
252
+ "module": "<memory>"
253
+ },
254
+ "std::move": {
255
+ "signature": "template<class T> constexpr std::remove_reference_t<T>&& move(T&& t) noexcept",
256
+ "description": "Casts its argument to an rvalue reference, indicating that it may be moved from. Enables move semantics for efficient transfer of resources.",
257
+ "type": "function",
258
+ "module": "<utility>"
259
+ },
260
+ "std::forward": {
261
+ "signature": "template<class T> constexpr T&& forward(std::remove_reference_t<T>& t) noexcept",
262
+ "description": "Forwards lvalues as lvalues and rvalues as rvalues. Used in template code to implement perfect forwarding.",
263
+ "type": "function",
264
+ "module": "<utility>"
265
+ },
266
+ "std::sort": {
267
+ "signature": "template<class RandomIt> void sort(RandomIt first, RandomIt last)",
268
+ "description": "Sorts elements in [first, last) in ascending order. Uses introsort (hybrid of quicksort, heapsort, and insertion sort). Average and worst-case O(n log n).",
269
+ "type": "function",
270
+ "module": "<algorithm>"
271
+ },
272
+ "std::find": {
273
+ "signature": "template<class InputIt, class T> InputIt find(InputIt first, InputIt last, const T& value)",
274
+ "description": "Returns an iterator to the first element in [first, last) that equals value. Returns last if not found. O(n).",
275
+ "type": "function",
276
+ "module": "<algorithm>"
277
+ },
278
+ "std::accumulate": {
279
+ "signature": "template<class InputIt, class T> T accumulate(InputIt first, InputIt last, T init)",
280
+ "description": "Computes the sum of the given initial value and the elements in the range [first, last). Can also accept a custom binary operation.",
281
+ "type": "function",
282
+ "module": "<numeric>"
283
+ },
284
+ "std::transform": {
285
+ "signature": "template<class InputIt, class OutputIt, class UnaryOp> OutputIt transform(InputIt first, InputIt last, OutputIt d_first, UnaryOp op)",
286
+ "description": "Applies the given function to each element in [first, last) and stores the result in the range beginning at d_first.",
287
+ "type": "function",
288
+ "module": "<algorithm>"
289
+ },
290
+ "std::for_each": {
291
+ "signature": "template<class InputIt, class UnaryFunc> UnaryFunc for_each(InputIt first, InputIt last, UnaryFunc f)",
292
+ "description": "Applies the given function to each element in [first, last). Returns the function object after all applications.",
293
+ "type": "function",
294
+ "module": "<algorithm>"
295
+ },
296
+ "std::swap": {
297
+ "signature": "template<class T> void swap(T& a, T& b) noexcept(...)",
298
+ "description": "Exchanges the values of a and b. Uses move semantics when available.",
299
+ "type": "function",
300
+ "module": "<utility>"
301
+ },
302
+ "std::string_view": {
303
+ "signature": "using string_view = std::basic_string_view<char>",
304
+ "description": "A lightweight non-owning reference to a string or substring. Provides a read-only view without copying. Zero overhead. (C++17)",
305
+ "type": "class",
306
+ "module": "<string_view>",
307
+ "members": {
308
+ "size": { "signature": "constexpr size_type size() const noexcept", "description": "Returns the number of characters.", "type": "method" },
309
+ "empty": { "signature": "constexpr bool empty() const noexcept", "description": "Returns true if the view is empty.", "type": "method" },
310
+ "data": { "signature": "constexpr const char* data() const noexcept", "description": "Returns a pointer to the underlying character array.", "type": "method" },
311
+ "substr": { "signature": "constexpr string_view substr(size_type pos = 0, size_type count = npos) const", "description": "Returns a view of the substring.", "type": "method" },
312
+ "find": { "signature": "constexpr size_type find(string_view sv, size_type pos = 0) const noexcept", "description": "Finds the first occurrence of the given substring.", "type": "method" },
313
+ "starts_with": { "signature": "constexpr bool starts_with(string_view sv) const noexcept", "description": "Checks if the view starts with the given prefix (C++20).", "type": "method" },
314
+ "ends_with": { "signature": "constexpr bool ends_with(string_view sv) const noexcept", "description": "Checks if the view ends with the given suffix (C++20).", "type": "method" },
315
+ "remove_prefix": { "signature": "constexpr void remove_prefix(size_type n)", "description": "Shrinks the view by moving the start forward by n characters.", "type": "method" },
316
+ "remove_suffix": { "signature": "constexpr void remove_suffix(size_type n)", "description": "Shrinks the view by moving the end backward by n characters.", "type": "method" }
317
+ }
318
+ },
319
+ "std::variant": {
320
+ "signature": "template<class... Types> class variant",
321
+ "description": "Type-safe discriminated union. Holds a value of one of the specified alternative types at any given time. Never empty (unless valueless_by_exception). (C++17)",
322
+ "type": "class",
323
+ "module": "<variant>",
324
+ "members": {
325
+ "index": { "signature": "constexpr size_t index() const noexcept", "description": "Returns the zero-based index of the currently held alternative.", "type": "method" },
326
+ "valueless_by_exception": { "signature": "constexpr bool valueless_by_exception() const noexcept", "description": "Returns true if the variant is in an invalid state due to an exception.", "type": "method" },
327
+ "emplace": { "signature": "template<class T, class... Args> T& emplace(Args&&... args)", "description": "Constructs the given alternative type in-place.", "type": "method" },
328
+ "swap": { "signature": "void swap(variant& other) noexcept(...)", "description": "Swaps the contents with another variant.", "type": "method" }
329
+ }
330
+ },
331
+ "std::span": {
332
+ "signature": "template<class T, std::size_t Extent = std::dynamic_extent> class span",
333
+ "description": "A lightweight non-owning reference to a contiguous sequence of objects. Replacement for (pointer, length) pairs. (C++20)",
334
+ "type": "class",
335
+ "module": "<span>",
336
+ "members": {
337
+ "size": { "signature": "constexpr size_type size() const noexcept", "description": "Returns the number of elements in the span.", "type": "method" },
338
+ "data": { "signature": "constexpr pointer data() const noexcept", "description": "Returns a pointer to the beginning of the sequence.", "type": "method" },
339
+ "empty": { "signature": "constexpr bool empty() const noexcept", "description": "Returns true if the span has no elements.", "type": "method" },
340
+ "front": { "signature": "constexpr reference front() const", "description": "Returns the first element.", "type": "method" },
341
+ "back": { "signature": "constexpr reference back() const", "description": "Returns the last element.", "type": "method" },
342
+ "subspan": { "signature": "template<std::size_t Offset, std::size_t Count = dynamic_extent> constexpr span<T, ...> subspan() const", "description": "Returns a subspan starting at Offset.", "type": "method" },
343
+ "first": { "signature": "template<std::size_t Count> constexpr span<T, Count> first() const", "description": "Returns the first Count elements.", "type": "method" },
344
+ "last": { "signature": "template<std::size_t Count> constexpr span<T, Count> last() const", "description": "Returns the last Count elements.", "type": "method" }
345
+ }
346
+ }
347
+ }
348
+ }
@@ -0,0 +1,144 @@
1
+ {
2
+ "language": "csharp",
3
+ "definitions": {
4
+ "String": {
5
+ "signature": "public sealed class String : IComparable, IEnumerable<char>, IEquatable<String>",
6
+ "description": "Represents text as a sequence of UTF-16 code units. Strings are immutable.",
7
+ "type": "class",
8
+ "module": "System",
9
+ "members": {
10
+ "Length": { "signature": "public int Length { get; }", "description": "Gets the number of characters in the current String object.", "type": "property" },
11
+ "Substring": { "signature": "public string Substring(int startIndex, int length)", "description": "Retrieves a substring from this instance starting at a specified character position and having a specified length.", "type": "method" },
12
+ "Contains": { "signature": "public bool Contains(string value, StringComparison comparisonType)", "description": "Returns a value indicating whether a specified substring occurs within this string, using the specified comparison rules.", "type": "method" },
13
+ "StartsWith": { "signature": "public bool StartsWith(string value, StringComparison comparisonType)", "description": "Determines whether the beginning of this string instance matches the specified string.", "type": "method" },
14
+ "EndsWith": { "signature": "public bool EndsWith(string value, StringComparison comparisonType)", "description": "Determines whether the end of this string instance matches the specified string.", "type": "method" },
15
+ "IndexOf": { "signature": "public int IndexOf(string value, StringComparison comparisonType)", "description": "Reports the zero-based index of the first occurrence of the specified string. Returns -1 if not found.", "type": "method" },
16
+ "LastIndexOf": { "signature": "public int LastIndexOf(string value, StringComparison comparisonType)", "description": "Reports the zero-based index position of the last occurrence of a specified string. Returns -1 if not found.", "type": "method" },
17
+ "Replace": { "signature": "public string Replace(string oldValue, string? newValue)", "description": "Returns a new string in which all occurrences of a specified string are replaced with another specified string.", "type": "method" },
18
+ "Split": { "signature": "public string[] Split(char separator, StringSplitOptions options = None)", "description": "Splits a string into substrings based on specified delimiting characters and options.", "type": "method" },
19
+ "Trim": { "signature": "public string Trim()", "description": "Removes all leading and trailing white-space characters from the current string.", "type": "method" },
20
+ "TrimStart": { "signature": "public string TrimStart()", "description": "Removes all leading white-space characters from the current string.", "type": "method" },
21
+ "TrimEnd": { "signature": "public string TrimEnd()", "description": "Removes all trailing white-space characters from the current string.", "type": "method" },
22
+ "ToUpper": { "signature": "public string ToUpper()", "description": "Returns a copy of this string converted to uppercase using the casing rules of the current culture.", "type": "method" },
23
+ "ToLower": { "signature": "public string ToLower()", "description": "Returns a copy of this string converted to lowercase using the casing rules of the current culture.", "type": "method" },
24
+ "PadLeft": { "signature": "public string PadLeft(int totalWidth, char paddingChar = ' ')", "description": "Returns a new string that right-aligns the characters in this instance by padding them on the left with a specified character.", "type": "method" },
25
+ "PadRight": { "signature": "public string PadRight(int totalWidth, char paddingChar = ' ')", "description": "Returns a new string that left-aligns the characters in this string by padding them on the right with a specified character.", "type": "method" },
26
+ "Insert": { "signature": "public string Insert(int startIndex, string value)", "description": "Returns a new string in which a specified string is inserted at a specified index position in this instance.", "type": "method" },
27
+ "Remove": { "signature": "public string Remove(int startIndex, int count)", "description": "Returns a new string in which a specified number of characters beginning at a specified position have been deleted.", "type": "method" },
28
+ "Equals": { "signature": "public bool Equals(string? value, StringComparison comparisonType)", "description": "Determines whether this string and a specified String object have the same value, using the specified comparison rules.", "type": "method" },
29
+ "CompareTo": { "signature": "public int CompareTo(string? strB)", "description": "Compares this instance with a specified String object and indicates whether this instance precedes, follows, or appears in the same position in the sort order.", "type": "method" },
30
+ "IsNullOrEmpty": { "signature": "public static bool IsNullOrEmpty(string? value)", "description": "Indicates whether the specified string is null or an empty string (\"\").", "type": "method" },
31
+ "IsNullOrWhiteSpace": { "signature": "public static bool IsNullOrWhiteSpace(string? value)", "description": "Indicates whether a specified string is null, empty, or consists only of white-space characters.", "type": "method" },
32
+ "Format": { "signature": "public static string Format(string format, params object?[] args)", "description": "Replaces one or more format items in a string with the string representation of a specified object.", "type": "method" },
33
+ "Join": { "signature": "public static string Join(string? separator, IEnumerable<string?> values)", "description": "Concatenates the members of a collection, using the specified separator between each member.", "type": "method" },
34
+ "Concat": { "signature": "public static string Concat(params string?[] values)", "description": "Concatenates one or more instances of String.", "type": "method" }
35
+ }
36
+ },
37
+ "List": {
38
+ "signature": "public class List<T> : IList<T>, IReadOnlyList<T>",
39
+ "description": "Represents a strongly typed list of objects that can be accessed by index. Provides methods to search, sort, and manipulate lists.",
40
+ "type": "class",
41
+ "module": "System.Collections.Generic",
42
+ "members": {
43
+ "Add": { "signature": "public void Add(T item)", "description": "Adds an object to the end of the List<T>.", "type": "method" },
44
+ "AddRange": { "signature": "public void AddRange(IEnumerable<T> collection)", "description": "Adds the elements of the specified collection to the end of the List<T>.", "type": "method" },
45
+ "Insert": { "signature": "public void Insert(int index, T item)", "description": "Inserts an element into the List<T> at the specified index.", "type": "method" },
46
+ "Remove": { "signature": "public bool Remove(T item)", "description": "Removes the first occurrence of a specific object from the List<T>. Returns true if the item was successfully removed.", "type": "method" },
47
+ "RemoveAt": { "signature": "public void RemoveAt(int index)", "description": "Removes the element at the specified index of the List<T>.", "type": "method" },
48
+ "RemoveAll": { "signature": "public int RemoveAll(Predicate<T> match)", "description": "Removes all the elements that match the conditions defined by the specified predicate. Returns the number of elements removed.", "type": "method" },
49
+ "Clear": { "signature": "public void Clear()", "description": "Removes all elements from the List<T>.", "type": "method" },
50
+ "Contains": { "signature": "public bool Contains(T item)", "description": "Determines whether an element is in the List<T>. Uses the default equality comparer.", "type": "method" },
51
+ "IndexOf": { "signature": "public int IndexOf(T item)", "description": "Searches for the specified object and returns the zero-based index of the first occurrence. Returns -1 if not found.", "type": "method" },
52
+ "Find": { "signature": "public T? Find(Predicate<T> match)", "description": "Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence.", "type": "method" },
53
+ "FindAll": { "signature": "public List<T> FindAll(Predicate<T> match)", "description": "Retrieves all the elements that match the conditions defined by the specified predicate.", "type": "method" },
54
+ "FindIndex": { "signature": "public int FindIndex(Predicate<T> match)", "description": "Searches for an element that matches the predicate and returns the zero-based index of the first occurrence. Returns -1 if not found.", "type": "method" },
55
+ "Sort": { "signature": "public void Sort(Comparison<T>? comparison)", "description": "Sorts the elements in the entire List<T> using the specified comparison.", "type": "method" },
56
+ "Reverse": { "signature": "public void Reverse()", "description": "Reverses the order of the elements in the entire List<T>.", "type": "method" },
57
+ "Count": { "signature": "public int Count { get; }", "description": "Gets the number of elements contained in the List<T>.", "type": "property" },
58
+ "ForEach": { "signature": "public void ForEach(Action<T> action)", "description": "Performs the specified action on each element of the List<T>.", "type": "method" },
59
+ "ToArray": { "signature": "public T[] ToArray()", "description": "Copies the elements of the List<T> to a new array.", "type": "method" },
60
+ "GetRange": { "signature": "public List<T> GetRange(int index, int count)", "description": "Creates a shallow copy of a range of elements in the source List<T>.", "type": "method" },
61
+ "BinarySearch": { "signature": "public int BinarySearch(T item)", "description": "Searches the entire sorted List<T> for an element using the default comparer and returns the zero-based index.", "type": "method" },
62
+ "Exists": { "signature": "public bool Exists(Predicate<T> match)", "description": "Determines whether the List<T> contains elements that match the conditions defined by the specified predicate.", "type": "method" },
63
+ "TrueForAll": { "signature": "public bool TrueForAll(Predicate<T> match)", "description": "Determines whether every element in the List<T> matches the conditions defined by the specified predicate.", "type": "method" },
64
+ "ConvertAll": { "signature": "public List<TOutput> ConvertAll<TOutput>(Converter<T, TOutput> converter)", "description": "Converts the elements in the current List<T> to another type, and returns a list containing the converted elements.", "type": "method" }
65
+ }
66
+ },
67
+ "Dictionary": {
68
+ "signature": "public class Dictionary<TKey, TValue> : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue> where TKey : notnull",
69
+ "description": "Represents a collection of keys and values. Provides O(1) average-time complexity for lookups, insertions, and removals.",
70
+ "type": "class",
71
+ "module": "System.Collections.Generic",
72
+ "members": {
73
+ "Add": { "signature": "public void Add(TKey key, TValue value)", "description": "Adds the specified key and value to the dictionary. Throws ArgumentException if the key already exists.", "type": "method" },
74
+ "Remove": { "signature": "public bool Remove(TKey key)", "description": "Removes the value with the specified key from the dictionary. Returns true if the element was successfully found and removed.", "type": "method" },
75
+ "ContainsKey": { "signature": "public bool ContainsKey(TKey key)", "description": "Determines whether the Dictionary<TKey,TValue> contains the specified key.", "type": "method" },
76
+ "ContainsValue": { "signature": "public bool ContainsValue(TValue value)", "description": "Determines whether the Dictionary<TKey,TValue> contains a specific value. This is an O(n) operation.", "type": "method" },
77
+ "TryGetValue": { "signature": "public bool TryGetValue(TKey key, out TValue value)", "description": "Gets the value associated with the specified key. Returns true if the key was found.", "type": "method" },
78
+ "Keys": { "signature": "public Dictionary<TKey,TValue>.KeyCollection Keys { get; }", "description": "Gets a collection containing the keys in the dictionary.", "type": "property" },
79
+ "Values": { "signature": "public Dictionary<TKey,TValue>.ValueCollection Values { get; }", "description": "Gets a collection containing the values in the dictionary.", "type": "property" },
80
+ "Count": { "signature": "public int Count { get; }", "description": "Gets the number of key/value pairs contained in the dictionary.", "type": "property" },
81
+ "Clear": { "signature": "public void Clear()", "description": "Removes all keys and values from the dictionary.", "type": "method" },
82
+ "TryAdd": { "signature": "public bool TryAdd(TKey key, TValue value)", "description": "Attempts to add the specified key and value to the dictionary. Returns false if the key already exists (does not throw).", "type": "method" },
83
+ "GetValueOrDefault": { "signature": "public TValue GetValueOrDefault(TKey key, TValue defaultValue)", "description": "Gets the value associated with the specified key, or a default value if the key is not present.", "type": "method" }
84
+ }
85
+ },
86
+ "Task": {
87
+ "signature": "public class Task : IAsyncResult, IDisposable",
88
+ "description": "Represents an asynchronous operation. The Task class provides a way to schedule work and retrieve results or exceptions from asynchronous operations.",
89
+ "type": "class",
90
+ "module": "System.Threading.Tasks",
91
+ "members": {
92
+ "Run": { "signature": "public static Task Run(Action action)\npublic static Task<TResult> Run<TResult>(Func<TResult> function)", "description": "Queues the specified work to run on the ThreadPool and returns a Task or Task<TResult> representing that work.", "type": "method" },
93
+ "WhenAll": { "signature": "public static Task WhenAll(IEnumerable<Task> tasks)\npublic static Task<TResult[]> WhenAll<TResult>(IEnumerable<Task<TResult>> tasks)", "description": "Creates a task that will complete when all of the supplied tasks have completed.", "type": "method" },
94
+ "WhenAny": { "signature": "public static Task<Task> WhenAny(IEnumerable<Task> tasks)", "description": "Creates a task that will complete when any of the supplied tasks have completed.", "type": "method" },
95
+ "Delay": { "signature": "public static Task Delay(int millisecondsDelay)\npublic static Task Delay(TimeSpan delay)", "description": "Creates a task that completes after a specified time interval.", "type": "method" },
96
+ "FromResult": { "signature": "public static Task<TResult> FromResult<TResult>(TResult result)", "description": "Creates a Task<TResult> that is completed successfully with the specified result.", "type": "method" },
97
+ "ContinueWith": { "signature": "public Task ContinueWith(Action<Task> continuationAction)", "description": "Creates a continuation that executes asynchronously when the target Task completes.", "type": "method" },
98
+ "ConfigureAwait": { "signature": "public ConfiguredTaskAwaitable ConfigureAwait(bool continueOnCapturedContext)", "description": "Configures an awaiter used to await this Task. Set to false to avoid marshalling back to the original synchronization context.", "type": "method" },
99
+ "GetAwaiter": { "signature": "public TaskAwaiter GetAwaiter()", "description": "Gets an awaiter used to await this Task. Used by the compiler to implement the await keyword.", "type": "method" },
100
+ "Result": { "signature": "public TResult Result { get; }", "description": "Gets the result value of the Task<TResult>. Blocks the calling thread until the task completes if not already finished.", "type": "property" },
101
+ "IsCompleted": { "signature": "public bool IsCompleted { get; }", "description": "Gets whether this Task has completed (successfully, faulted, or canceled).", "type": "property" },
102
+ "IsFaulted": { "signature": "public bool IsFaulted { get; }", "description": "Gets whether the Task completed due to an unhandled exception.", "type": "property" },
103
+ "Exception": { "signature": "public AggregateException? Exception { get; }", "description": "Gets the AggregateException that caused the Task to end prematurely. Returns null if the Task completed successfully or was canceled.", "type": "property" }
104
+ }
105
+ },
106
+ "Enumerable": {
107
+ "signature": "public static class Enumerable",
108
+ "description": "Provides a set of static methods for querying objects that implement IEnumerable<T>. This is the core class for LINQ to Objects.",
109
+ "type": "class",
110
+ "module": "System.Linq",
111
+ "members": {
112
+ "Where": { "signature": "public static IEnumerable<TSource> Where<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate)", "description": "Filters a sequence of values based on a predicate.", "type": "method" },
113
+ "Select": { "signature": "public static IEnumerable<TResult> Select<TSource, TResult>(this IEnumerable<TSource> source, Func<TSource, TResult> selector)", "description": "Projects each element of a sequence into a new form.", "type": "method" },
114
+ "SelectMany": { "signature": "public static IEnumerable<TResult> SelectMany<TSource, TResult>(this IEnumerable<TSource> source, Func<TSource, IEnumerable<TResult>> selector)", "description": "Projects each element of a sequence to an IEnumerable<T> and flattens the resulting sequences into one sequence.", "type": "method" },
115
+ "OrderBy": { "signature": "public static IOrderedEnumerable<TSource> OrderBy<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector)", "description": "Sorts the elements of a sequence in ascending order according to a key.", "type": "method" },
116
+ "OrderByDescending": { "signature": "public static IOrderedEnumerable<TSource> OrderByDescending<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector)", "description": "Sorts the elements of a sequence in descending order according to a key.", "type": "method" },
117
+ "GroupBy": { "signature": "public static IEnumerable<IGrouping<TKey, TSource>> GroupBy<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector)", "description": "Groups the elements of a sequence according to a specified key selector function.", "type": "method" },
118
+ "First": { "signature": "public static TSource First<TSource>(this IEnumerable<TSource> source)", "description": "Returns the first element of a sequence. Throws InvalidOperationException if the sequence is empty.", "type": "method" },
119
+ "FirstOrDefault": { "signature": "public static TSource? FirstOrDefault<TSource>(this IEnumerable<TSource> source)", "description": "Returns the first element of a sequence, or a default value if the sequence contains no elements.", "type": "method" },
120
+ "Single": { "signature": "public static TSource Single<TSource>(this IEnumerable<TSource> source)", "description": "Returns the only element of a sequence. Throws if there is not exactly one element.", "type": "method" },
121
+ "SingleOrDefault": { "signature": "public static TSource? SingleOrDefault<TSource>(this IEnumerable<TSource> source)", "description": "Returns the only element, or a default value if the sequence is empty. Throws if more than one element.", "type": "method" },
122
+ "Any": { "signature": "public static bool Any<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate)", "description": "Determines whether any element of a sequence satisfies a condition.", "type": "method" },
123
+ "All": { "signature": "public static bool All<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate)", "description": "Determines whether all elements of a sequence satisfy a condition.", "type": "method" },
124
+ "Count": { "signature": "public static int Count<TSource>(this IEnumerable<TSource> source)", "description": "Returns the number of elements in a sequence.", "type": "method" },
125
+ "Sum": { "signature": "public static int Sum(this IEnumerable<int> source)", "description": "Computes the sum of a sequence of numeric values.", "type": "method" },
126
+ "Min": { "signature": "public static TSource? Min<TSource>(this IEnumerable<TSource> source)", "description": "Returns the minimum value in a sequence.", "type": "method" },
127
+ "Max": { "signature": "public static TSource? Max<TSource>(this IEnumerable<TSource> source)", "description": "Returns the maximum value in a sequence.", "type": "method" },
128
+ "Average": { "signature": "public static double Average(this IEnumerable<int> source)", "description": "Computes the average of a sequence of numeric values.", "type": "method" },
129
+ "Aggregate": { "signature": "public static TSource Aggregate<TSource>(this IEnumerable<TSource> source, Func<TSource, TSource, TSource> func)", "description": "Applies an accumulator function over a sequence.", "type": "method" },
130
+ "Distinct": { "signature": "public static IEnumerable<TSource> Distinct<TSource>(this IEnumerable<TSource> source)", "description": "Returns distinct elements from a sequence by using the default equality comparer.", "type": "method" },
131
+ "Take": { "signature": "public static IEnumerable<TSource> Take<TSource>(this IEnumerable<TSource> source, int count)", "description": "Returns a specified number of contiguous elements from the start of a sequence.", "type": "method" },
132
+ "Skip": { "signature": "public static IEnumerable<TSource> Skip<TSource>(this IEnumerable<TSource> source, int count)", "description": "Bypasses a specified number of elements in a sequence and then returns the remaining elements.", "type": "method" },
133
+ "ToList": { "signature": "public static List<TSource> ToList<TSource>(this IEnumerable<TSource> source)", "description": "Creates a List<T> from an IEnumerable<T>.", "type": "method" },
134
+ "ToArray": { "signature": "public static TSource[] ToArray<TSource>(this IEnumerable<TSource> source)", "description": "Creates an array from an IEnumerable<T>.", "type": "method" },
135
+ "ToDictionary": { "signature": "public static Dictionary<TKey, TSource> ToDictionary<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector) where TKey : notnull", "description": "Creates a Dictionary<TKey,TValue> from an IEnumerable<T> according to a specified key selector function.", "type": "method" },
136
+ "Range": { "signature": "public static IEnumerable<int> Range(int start, int count)", "description": "Generates a sequence of integral numbers within a specified range.", "type": "method" },
137
+ "Empty": { "signature": "public static IEnumerable<TResult> Empty<TResult>()", "description": "Returns an empty IEnumerable<T> that has the specified type argument.", "type": "method" },
138
+ "Repeat": { "signature": "public static IEnumerable<TResult> Repeat<TResult>(TResult element, int count)", "description": "Generates a sequence that contains one repeated value.", "type": "method" },
139
+ "Zip": { "signature": "public static IEnumerable<(TFirst, TSecond)> Zip<TFirst, TSecond>(this IEnumerable<TFirst> first, IEnumerable<TSecond> second)", "description": "Produces a sequence of tuples with elements from the two specified sequences.", "type": "method" },
140
+ "Concat": { "signature": "public static IEnumerable<TSource> Concat<TSource>(this IEnumerable<TSource> first, IEnumerable<TSource> second)", "description": "Concatenates two sequences.", "type": "method" }
141
+ }
142
+ }
143
+ }
144
+ }