PySimultan 0.1.54__py3-none-any.whl → 0.2__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (182) hide show
  1. PySimultan-0.2.dist-info/LICENSE.txt +17 -0
  2. PySimultan-0.2.dist-info/METADATA +36 -0
  3. PySimultan-0.2.dist-info/RECORD +82 -0
  4. {PySimultan-0.1.54.dist-info → PySimultan-0.2.dist-info}/WHEEL +1 -1
  5. PySimultan-0.2.dist-info/top_level.txt +1 -0
  6. {PySimultan → PySimultan2}/__init__.py +11 -6
  7. PySimultan2/config.py +52 -0
  8. PySimultan2/data_model.py +713 -0
  9. PySimultan2/default_types.py +507 -0
  10. PySimultan2/files.py +371 -0
  11. PySimultan2/geometry/__init__.py +4 -0
  12. PySimultan2/geometry/geometry_base.py +654 -0
  13. PySimultan2/geometry/utils.py +181 -0
  14. PySimultan2/multi_values.py +277 -0
  15. PySimultan2/object_mapper.py +200 -0
  16. PySimultan2/resources/AssimpNet.dll +0 -0
  17. PySimultan2/resources/AvalonDock.dll +0 -0
  18. PySimultan2/resources/BruTile.dll +0 -0
  19. PySimultan2/resources/ClosedXML.dll +0 -0
  20. PySimultan2/resources/ComponentBuilder.dll +0 -0
  21. PySimultan/resources/ComponentBuilder.exe.config → PySimultan2/resources/ComponentBuilder.dll.config +6 -2
  22. PySimultan2/resources/ComponentBuilder.runtimeconfig.json +18 -0
  23. {PySimultan → PySimultan2}/resources/ComponentBuilder.xml +11877 -6754
  24. PySimultan2/resources/ControlzEx.dll +0 -0
  25. PySimultan2/resources/Cyotek.Drawing.BitmapFont.dll +0 -0
  26. PySimultan2/resources/DocumentFormat.OpenXml.dll +0 -0
  27. PySimultan2/resources/ExcelNumberFormat.dll +0 -0
  28. PySimultan2/resources/Fluent.dll +0 -0
  29. PySimultan2/resources/GeometryViewer.dll +0 -0
  30. {PySimultan → PySimultan2}/resources/GeometryViewer.xml +2201 -1155
  31. PySimultan2/resources/HelixToolkit.Core.Wpf.dll +0 -0
  32. PySimultan2/resources/HelixToolkit.SharpDX.Core.Wpf.dll +0 -0
  33. PySimultan2/resources/HelixToolkit.SharpDX.Core.dll +0 -0
  34. PySimultan2/resources/HelixToolkit.dll +0 -0
  35. PySimultan2/resources/MathNet.Numerics.dll +0 -0
  36. PySimultan2/resources/Microsoft.AspNetCore.Authorization.dll +0 -0
  37. PySimultan2/resources/Microsoft.AspNetCore.Metadata.dll +0 -0
  38. PySimultan2/resources/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
  39. PySimultan2/resources/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
  40. PySimultan2/resources/Microsoft.Extensions.Options.dll +0 -0
  41. PySimultan2/resources/Microsoft.Extensions.Primitives.dll +0 -0
  42. PySimultan2/resources/Microsoft.WindowsAPICodePack.Shell.dll +0 -0
  43. PySimultan2/resources/Microsoft.WindowsAPICodePack.dll +0 -0
  44. PySimultan2/resources/Microsoft.Xaml.Behaviors.dll +0 -0
  45. PySimultan2/resources/Newtonsoft.Json.Bson.dll +0 -0
  46. PySimultan2/resources/Newtonsoft.Json.dll +0 -0
  47. PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll +0 -0
  48. PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll +0 -0
  49. PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll.config +15 -0
  50. PySimultan2/resources/SIMULTAN.Lang.dll +0 -0
  51. {PySimultan → PySimultan2}/resources/SIMULTAN.Lang.xml +5282 -3252
  52. PySimultan2/resources/SIMULTAN.Plugins.dll +0 -0
  53. {PySimultan → PySimultan2}/resources/SIMULTAN.Plugins.xml +110 -0
  54. PySimultan2/resources/SIMULTAN.UI.dll +0 -0
  55. {PySimultan → PySimultan2}/resources/SIMULTAN.UI.xml +10483 -4937
  56. PySimultan2/resources/SIMULTAN.dll +0 -0
  57. PySimultan2/resources/SIMULTAN.xml +34122 -0
  58. PySimultan2/resources/SharpDX.D3DCompiler.dll +0 -0
  59. PySimultan2/resources/SharpDX.DXGI.dll +0 -0
  60. PySimultan2/resources/SharpDX.Direct2D1.dll +0 -0
  61. PySimultan2/resources/SharpDX.Direct3D11.dll +0 -0
  62. PySimultan2/resources/SharpDX.Direct3D9.dll +0 -0
  63. {PySimultan → PySimultan2}/resources/SharpDX.Mathematics.dll +0 -0
  64. PySimultan2/resources/SharpDX.dll +0 -0
  65. {PySimultan → PySimultan2}/resources/SitePlanner.dll +0 -0
  66. {PySimultan → PySimultan2}/resources/SitePlanner.xml +959 -1110
  67. PySimultan2/resources/Sprache.dll +0 -0
  68. PySimultan2/resources/System.Data.OleDb.dll +0 -0
  69. PySimultan2/resources/System.Net.Http.Formatting.dll +0 -0
  70. PySimultan2/resources/XAMLMarkupExtensions.dll +0 -0
  71. PySimultan2/resources/assimp.dll +0 -0
  72. {PySimultan → PySimultan2}/resources/defaultsettings.xml +0 -0
  73. PySimultan2/simultan_object.py +366 -0
  74. PySimultan2/taxonomy_maps.py +169 -0
  75. PySimultan2/utils.py +1383 -0
  76. PySimultan/config.py +0 -57
  77. PySimultan/data_model.py +0 -376
  78. PySimultan/default_types.py +0 -1771
  79. PySimultan/geo_default_types.py +0 -763
  80. PySimultan/geometry.py +0 -309
  81. PySimultan/resources/AssimpNet.dll +0 -0
  82. PySimultan/resources/AssimpNet.xml +0 -12074
  83. PySimultan/resources/BruTile.dll +0 -0
  84. PySimultan/resources/BruTile.xml +0 -1845
  85. PySimultan/resources/ControlzEx.dll +0 -0
  86. PySimultan/resources/Cyotek.Drawing.BitmapFont.dll +0 -0
  87. PySimultan/resources/DXFImportExport.dll +0 -0
  88. PySimultan/resources/DotSpatial.Projections.xml +0 -5879
  89. PySimultan/resources/EXCELImportExport.dll +0 -0
  90. PySimultan/resources/Fluent.dll +0 -0
  91. PySimultan/resources/Fluent.xml +0 -9103
  92. PySimultan/resources/GeoJSON.Net.dll +0 -0
  93. PySimultan/resources/GeometryViewer.Data.dll +0 -0
  94. PySimultan/resources/GeometryViewer.Data.xml +0 -4443
  95. PySimultan/resources/GeometryViewer.Shared.dll +0 -0
  96. PySimultan/resources/GeometryViewer.Shared.xml +0 -588
  97. PySimultan/resources/GeometryViewer.dll +0 -0
  98. PySimultan/resources/HelixToolkit.Wpf.SharpDX.dll +0 -0
  99. PySimultan/resources/HelixToolkit.Wpf.SharpDX.xml +0 -43219
  100. PySimultan/resources/HelixToolkit.Wpf.dll +0 -0
  101. PySimultan/resources/HelixToolkit.Wpf.xml +0 -22363
  102. PySimultan/resources/HelixToolkit.dll +0 -0
  103. PySimultan/resources/HelixToolkit.xml +0 -144
  104. PySimultan/resources/ImportLog_SMART_CAMPUS_TU_WIEN_BIBLIOTHEK_20210305_ZONENMODELL_23_11_2021-06_54_54.txt +0 -1
  105. PySimultan/resources/LibGit2Sharp.dll +0 -0
  106. PySimultan/resources/LibGit2Sharp.dll.config +0 -4
  107. PySimultan/resources/LibGit2Sharp.xml +0 -13770
  108. PySimultan/resources/MathNet.Numerics.dll +0 -0
  109. PySimultan/resources/MathNet.Numerics.xml +0 -57152
  110. PySimultan/resources/Microsoft.WindowsAPICodePack.Shell.dll +0 -0
  111. PySimultan/resources/Microsoft.WindowsAPICodePack.Shell.xml +0 -25496
  112. PySimultan/resources/Microsoft.WindowsAPICodePack.dll +0 -0
  113. PySimultan/resources/Microsoft.WindowsAPICodePack.xml +0 -2934
  114. PySimultan/resources/Newtonsoft.Json.dll +0 -0
  115. PySimultan/resources/Newtonsoft.Json.xml +0 -11305
  116. PySimultan/resources/ParameterStructure.dll +0 -0
  117. PySimultan/resources/ParameterStructure.xml +0 -10750
  118. PySimultan/resources/SIMULTAN.AutoUpdate.Client.dll +0 -0
  119. PySimultan/resources/SIMULTAN.DataExchange.dll +0 -0
  120. PySimultan/resources/SIMULTAN.Lang.dll +0 -0
  121. PySimultan/resources/SIMULTAN.Legacy.dll +0 -0
  122. PySimultan/resources/SIMULTAN.Legacy.xml +0 -254
  123. PySimultan/resources/SIMULTAN.Plugins.dll +0 -0
  124. PySimultan/resources/SIMULTAN.Project.dll +0 -0
  125. PySimultan/resources/SIMULTAN.Project.dll.config +0 -11
  126. PySimultan/resources/SIMULTAN.UI.dll +0 -0
  127. PySimultan/resources/SIMULTAN.Util.dll +0 -0
  128. PySimultan/resources/SIMULTAN.Util.xml +0 -3430
  129. PySimultan/resources/SharpDX.D3DCompiler.dll +0 -0
  130. PySimultan/resources/SharpDX.D3DCompiler.xml +0 -5897
  131. PySimultan/resources/SharpDX.DXGI.dll +0 -0
  132. PySimultan/resources/SharpDX.DXGI.xml +0 -8737
  133. PySimultan/resources/SharpDX.Direct2D1.dll +0 -0
  134. PySimultan/resources/SharpDX.Direct2D1.xml +0 -46691
  135. PySimultan/resources/SharpDX.Direct3D11.dll +0 -0
  136. PySimultan/resources/SharpDX.Direct3D11.xml +0 -31826
  137. PySimultan/resources/SharpDX.Direct3D9.dll +0 -0
  138. PySimultan/resources/SharpDX.Direct3D9.xml +0 -36489
  139. PySimultan/resources/SharpDX.Mathematics.xml +0 -16449
  140. PySimultan/resources/SharpDX.dll +0 -0
  141. PySimultan/resources/Sprache.dll +0 -0
  142. PySimultan/resources/Sprache.xml +0 -1199
  143. PySimultan/resources/System.Net.Http.Formatting.dll +0 -0
  144. PySimultan/resources/System.Net.Http.Formatting.xml +0 -2094
  145. PySimultan/resources/System.Windows.Interactivity.dll +0 -0
  146. PySimultan/resources/TalkGit.dll +0 -0
  147. PySimultan/resources/TalkGit.dll.config +0 -11
  148. PySimultan/resources/WebServiceConnector.dll +0 -0
  149. PySimultan/resources/WebServiceConnector.dll.config +0 -11
  150. PySimultan/resources/XAMLMarkupExtensions.dll +0 -0
  151. PySimultan/resources/XAMLMarkupExtensions.xml +0 -862
  152. PySimultan/resources/Xceed.Wpf.AvalonDock.Themes.Aero.dll +0 -0
  153. PySimultan/resources/Xceed.Wpf.AvalonDock.Themes.Metro.dll +0 -0
  154. PySimultan/resources/Xceed.Wpf.AvalonDock.Themes.VS2010.dll +0 -0
  155. PySimultan/resources/Xceed.Wpf.AvalonDock.dll +0 -0
  156. PySimultan/resources/Xceed.Wpf.Toolkit.dll +0 -0
  157. PySimultan/resources/assimp.dll +0 -0
  158. PySimultan/resources/schema.yaml +0 -13
  159. PySimultan/resources/simultan_exception_07_10_2021-08_34_24.txt +0 -17
  160. PySimultan/resources/simultan_exception_07_10_2021-10_13_31.txt +0 -17
  161. PySimultan/resources/simultan_exception_11_10_2021-19_45_42.txt +0 -17
  162. PySimultan/resources/simultan_exception_22_11_2021-16_41_52.txt +0 -14
  163. PySimultan/resources/simultan_exception_22_11_2021-17_37_40.txt +0 -14
  164. PySimultan/simultan_geometry_utils.py +0 -81
  165. PySimultan/simultan_utils.py +0 -165
  166. PySimultan/slots.py +0 -51
  167. PySimultan/template_tools.py +0 -631
  168. PySimultan/utils.py +0 -298
  169. PySimultan-0.1.54.dist-info/LICENSE +0 -674
  170. PySimultan-0.1.54.dist-info/LICENSE.txt +0 -674
  171. PySimultan-0.1.54.dist-info/METADATA +0 -690
  172. PySimultan-0.1.54.dist-info/RECORD +0 -119
  173. PySimultan-0.1.54.dist-info/entry_points.txt +0 -3
  174. PySimultan-0.1.54.dist-info/top_level.txt +0 -1
  175. PySimultan-0.1.54.dist-info/zip-safe +0 -1
  176. {PySimultan → PySimultan2}/resources/DotSpatial.Projections.dll +0 -0
  177. {PySimultan → PySimultan2}/resources/GeometryViewer.dll.config +0 -0
  178. {PySimultan → PySimultan2}/resources/SIMULTAN.AutoUpdate.Client.dll.config +0 -0
  179. {PySimultan → PySimultan2}/resources/SitePlanner.dll.config +0 -0
  180. {PySimultan → PySimultan2}/resources/Sprache.Calc.dll +0 -0
  181. {PySimultan → PySimultan2}/resources/__init__.py +0 -0
  182. {PySimultan → PySimultan2}/resources/setup.bat +0 -0
@@ -1,1199 +0,0 @@
1
- <?xml version="1.0"?>
2
- <doc>
3
- <assembly>
4
- <name>Sprache</name>
5
- </assembly>
6
- <members>
7
- <member name="T:Sprache.CommentParser">
8
- <summary>
9
- Constructs customizable comment parsers.
10
- </summary>
11
- </member>
12
- <member name="P:Sprache.CommentParser.Single">
13
- <summary>
14
- Single-line comment header.
15
- </summary>
16
- </member>
17
- <member name="P:Sprache.CommentParser.NewLine">
18
- <summary>
19
- Newline character preference.
20
- </summary>
21
- </member>
22
- <member name="P:Sprache.CommentParser.MultiOpen">
23
- <summary>
24
- Multi-line comment opener.
25
- </summary>
26
- </member>
27
- <member name="P:Sprache.CommentParser.MultiClose">
28
- <summary>
29
- Multi-line comment closer.
30
- </summary>
31
- </member>
32
- <member name="M:Sprache.CommentParser.#ctor">
33
- <summary>
34
- Initializes a Comment with C-style headers and Windows newlines.
35
- </summary>
36
- </member>
37
- <member name="M:Sprache.CommentParser.#ctor(System.String,System.String,System.String)">
38
- <summary>
39
- Initializes a Comment with custom multi-line headers and newline characters.
40
- Single-line headers are made null, it is assumed they would not be used.
41
- </summary>
42
- <param name="multiOpen"></param>
43
- <param name="multiClose"></param>
44
- <param name="newLine"></param>
45
- </member>
46
- <member name="M:Sprache.CommentParser.#ctor(System.String,System.String,System.String,System.String)">
47
- <summary>
48
- Initializes a Comment with custom headers and newline characters.
49
- </summary>
50
- <param name="single"></param>
51
- <param name="multiOpen"></param>
52
- <param name="multiClose"></param>
53
- <param name="newLine"></param>
54
- </member>
55
- <member name="P:Sprache.CommentParser.SingleLineComment">
56
- <summary>
57
- Parse a single-line comment.
58
- </summary>
59
- </member>
60
- <member name="P:Sprache.CommentParser.MultiLineComment">
61
- <summary>
62
- Parse a multi-line comment.
63
- </summary>
64
- </member>
65
- <member name="P:Sprache.CommentParser.AnyComment">
66
- <summary>
67
- Parse a comment.
68
- </summary>
69
- </member>
70
- <member name="T:Sprache.IComment">
71
- <summary>
72
- Represents a customizable comment parser.
73
- </summary>
74
- </member>
75
- <member name="P:Sprache.IComment.Single">
76
- <summary>
77
- Single-line comment header.
78
- </summary>
79
- </member>
80
- <member name="P:Sprache.IComment.NewLine">
81
- <summary>
82
- Newline character preference.
83
- </summary>
84
- </member>
85
- <member name="P:Sprache.IComment.MultiOpen">
86
- <summary>
87
- Multi-line comment opener.
88
- </summary>
89
- </member>
90
- <member name="P:Sprache.IComment.MultiClose">
91
- <summary>
92
- Multi-line comment closer.
93
- </summary>
94
- </member>
95
- <member name="P:Sprache.IComment.SingleLineComment">
96
- <summary>
97
- Parse a single-line comment.
98
- </summary>
99
- </member>
100
- <member name="P:Sprache.IComment.MultiLineComment">
101
- <summary>
102
- Parse a multi-line comment.
103
- </summary>
104
- </member>
105
- <member name="P:Sprache.IComment.AnyComment">
106
- <summary>
107
- Parse a comment.
108
- </summary>
109
- </member>
110
- <member name="T:Sprache.ICommented`1">
111
- <summary>
112
- Represents a commented result with its leading and trailing comments.
113
- </summary>
114
- <typeparam name="T">Type of the matched result.</typeparam>
115
- </member>
116
- <member name="P:Sprache.ICommented`1.LeadingComments">
117
- <summary>
118
- Gets the leading comments.
119
- </summary>
120
- </member>
121
- <member name="P:Sprache.ICommented`1.Value">
122
- <summary>
123
- Gets the resulting value.
124
- </summary>
125
- </member>
126
- <member name="P:Sprache.ICommented`1.TrailingComments">
127
- <summary>
128
- Gets the trailing comments.
129
- </summary>
130
- </member>
131
- <member name="T:Sprache.IInput">
132
- <summary>
133
- Represents an input for parsing.
134
- </summary>
135
- </member>
136
- <member name="M:Sprache.IInput.Advance">
137
- <summary>
138
- Advances the input.
139
- </summary>
140
- <returns>A new <see cref="T:Sprache.IInput" /> that is advanced.</returns>
141
- <exception cref="T:System.InvalidOperationException">The input is already at the end of the source.</exception>
142
- </member>
143
- <member name="P:Sprache.IInput.Source">
144
- <summary>
145
- Gets the whole source.
146
- </summary>
147
- </member>
148
- <member name="P:Sprache.IInput.Current">
149
- <summary>
150
- Gets the current <see cref="T:System.Char" />.
151
- </summary>
152
- </member>
153
- <member name="P:Sprache.IInput.AtEnd">
154
- <summary>
155
- Gets a value indicating whether the end of the source is reached.
156
- </summary>
157
- </member>
158
- <member name="P:Sprache.IInput.Position">
159
- <summary>
160
- Gets the current positon.
161
- </summary>
162
- </member>
163
- <member name="P:Sprache.IInput.Line">
164
- <summary>
165
- Gets the current line number.
166
- </summary>
167
- </member>
168
- <member name="P:Sprache.IInput.Column">
169
- <summary>
170
- Gets the current column.
171
- </summary>
172
- </member>
173
- <member name="P:Sprache.IInput.Memos">
174
- <summary>
175
- Memos used by this input
176
- </summary>
177
- </member>
178
- <member name="T:Sprache.Input">
179
- <summary>
180
- Represents an input for parsing.
181
- </summary>
182
- </member>
183
- <member name="P:Sprache.Input.Memos">
184
- <summary>
185
- Gets the list of memos assigned to the <see cref="T:Sprache.Input" /> instance.
186
- </summary>
187
- </member>
188
- <member name="M:Sprache.Input.#ctor(System.String)">
189
- <summary>
190
- Initializes a new instance of the <see cref="T:Sprache.Input" /> class.
191
- </summary>
192
- <param name="source">The source.</param>
193
- </member>
194
- <member name="M:Sprache.Input.Advance">
195
- <summary>
196
- Advances the input.
197
- </summary>
198
- <returns>A new <see cref="T:Sprache.IInput" /> that is advanced.</returns>
199
- <exception cref="T:System.InvalidOperationException">The input is already at the end of the source.</exception>
200
- </member>
201
- <member name="P:Sprache.Input.Source">
202
- <summary>
203
- Gets the whole source.
204
- </summary>
205
- </member>
206
- <member name="P:Sprache.Input.Current">
207
- <summary>
208
- Gets the current <see cref="T:System.Char" />.
209
- </summary>
210
- </member>
211
- <member name="P:Sprache.Input.AtEnd">
212
- <summary>
213
- Gets a value indicating whether the end of the source is reached.
214
- </summary>
215
- </member>
216
- <member name="P:Sprache.Input.Position">
217
- <summary>
218
- Gets the current positon.
219
- </summary>
220
- </member>
221
- <member name="P:Sprache.Input.Line">
222
- <summary>
223
- Gets the current line number.
224
- </summary>
225
- </member>
226
- <member name="P:Sprache.Input.Column">
227
- <summary>
228
- Gets the current column.
229
- </summary>
230
- </member>
231
- <member name="M:Sprache.Input.ToString">
232
- <summary>
233
- Returns a string that represents the current object.
234
- </summary>
235
- <returns>
236
- A string that represents the current object.
237
- </returns>
238
- </member>
239
- <member name="M:Sprache.Input.GetHashCode">
240
- <summary>
241
- Serves as a hash function for a particular type.
242
- </summary>
243
- <returns>
244
- A hash code for the current <see cref="T:Sprache.Input" />.
245
- </returns>
246
- </member>
247
- <member name="M:Sprache.Input.Equals(System.Object)">
248
- <summary>
249
- Determines whether the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:Sprache.Input" />.
250
- </summary>
251
- <returns>
252
- true if the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:Sprache.Input" />; otherwise, false.
253
- </returns>
254
- <param name="obj">The object to compare with the current object. </param>
255
- </member>
256
- <member name="M:Sprache.Input.Equals(Sprache.IInput)">
257
- <summary>
258
- Indicates whether the current <see cref="T:Sprache.Input" /> is equal to another object of the same type.
259
- </summary>
260
- <returns>
261
- true if the current object is equal to the <paramref name="other"/> parameter; otherwise, false.
262
- </returns>
263
- <param name="other">An object to compare with this object.</param>
264
- </member>
265
- <member name="M:Sprache.Input.op_Equality(Sprache.Input,Sprache.Input)">
266
- <summary>
267
- Indicates whether the left <see cref="T:Sprache.Input" /> is equal to the right <see cref="T:Sprache.Input" />.
268
- </summary>
269
- <param name="left">The left <see cref="T:Sprache.Input" />.</param>
270
- <param name="right">The right <see cref="T:Sprache.Input" />.</param>
271
- <returns>true if both objects are equal.</returns>
272
- </member>
273
- <member name="M:Sprache.Input.op_Inequality(Sprache.Input,Sprache.Input)">
274
- <summary>
275
- Indicates whether the left <see cref="T:Sprache.Input" /> is not equal to the right <see cref="T:Sprache.Input" />.
276
- </summary>
277
- <param name="left">The left <see cref="T:Sprache.Input" />.</param>
278
- <param name="right">The right <see cref="T:Sprache.Input" />.</param>
279
- <returns>true if the objects are not equal.</returns>
280
- </member>
281
- <member name="T:Sprache.IPositionAware`1">
282
- <summary>
283
- An interface for objects that have a source <see cref="T:Sprache.Position"/>.
284
- </summary>
285
- <typeparam name="T">Type of the matched result.</typeparam>
286
- </member>
287
- <member name="M:Sprache.IPositionAware`1.SetPos(Sprache.Position,System.Int32)">
288
- <summary>
289
- Set the start <see cref="T:Sprache.Position"/> and the matched length.
290
- </summary>
291
- <param name="startPos">The start position</param>
292
- <param name="length">The matched length.</param>
293
- <returns>The matched result.</returns>
294
- </member>
295
- <member name="T:Sprache.IResult`1">
296
- <summary>
297
- Represents a parsing result.
298
- </summary>
299
- <typeparam name="T">The result type.</typeparam>
300
- </member>
301
- <member name="P:Sprache.IResult`1.Value">
302
- <summary>
303
- Gets the resulting value.
304
- </summary>
305
- </member>
306
- <member name="P:Sprache.IResult`1.WasSuccessful">
307
- <summary>
308
- Gets a value indicating whether wether parsing was successful.
309
- </summary>
310
- </member>
311
- <member name="P:Sprache.IResult`1.Message">
312
- <summary>
313
- Gets the error message.
314
- </summary>
315
- </member>
316
- <member name="P:Sprache.IResult`1.Expectations">
317
- <summary>
318
- Gets the parser expectations in case of error.
319
- </summary>
320
- </member>
321
- <member name="P:Sprache.IResult`1.Remainder">
322
- <summary>
323
- Gets the remainder of the input.
324
- </summary>
325
- </member>
326
- <member name="T:Sprache.ITextSpan`1">
327
- <summary>
328
- Represents a text span of the matched result.
329
- </summary>
330
- <typeparam name="T">Type of the matched result.</typeparam>
331
- </member>
332
- <member name="P:Sprache.ITextSpan`1.Value">
333
- <summary>
334
- Gets the resulting value.
335
- </summary>
336
- </member>
337
- <member name="P:Sprache.ITextSpan`1.Start">
338
- <summary>
339
- Gets the starting <see cref="T:Sprache.Position"/>.
340
- </summary>
341
- </member>
342
- <member name="P:Sprache.ITextSpan`1.End">
343
- <summary>
344
- Gets the ending <see cref="T:Sprache.Position"/>.
345
- </summary>
346
- </member>
347
- <member name="P:Sprache.ITextSpan`1.Length">
348
- <summary>
349
- Gets the length of the text span.
350
- </summary>
351
- </member>
352
- <member name="T:Sprache.IOption`1">
353
- <summary>
354
- Represents an optional result.
355
- </summary>
356
- <typeparam name="T">The result type.</typeparam>
357
- </member>
358
- <member name="P:Sprache.IOption`1.IsEmpty">
359
- <summary>
360
- Gets a value indicating whether this instance is empty.
361
- </summary>
362
- </member>
363
- <member name="P:Sprache.IOption`1.IsDefined">
364
- <summary>
365
- Gets a value indicating whether this instance is defined.
366
- </summary>
367
- </member>
368
- <member name="M:Sprache.IOption`1.GetOrDefault">
369
- <summary>
370
- Gets the matched result or a default value.
371
- </summary>
372
- <returns></returns>
373
- </member>
374
- <member name="M:Sprache.IOption`1.Get">
375
- <summary>
376
- Gets the matched result.
377
- </summary>
378
- </member>
379
- <member name="T:Sprache.OptionExtensions">
380
- <summary>
381
- Extensions for <see cref="T:Sprache.IOption`1"/>.
382
- </summary>
383
- </member>
384
- <member name="M:Sprache.OptionExtensions.GetOrElse``1(Sprache.IOption{``0},``0)">
385
- <summary>
386
- Gets the value or else returns a default value.
387
- </summary>
388
- <typeparam name="T">The result type.</typeparam>
389
- <param name="option"></param>
390
- <param name="defaultValue">The default value.</param>
391
- <returns></returns>
392
- </member>
393
- <member name="M:Sprache.OptionExtensions.Select``2(Sprache.IOption{``0},System.Func{``0,``1})">
394
- <summary>
395
- Maps a function over the value or else returns an empty option.
396
- </summary>
397
- <typeparam name="T">The input type.</typeparam>
398
- <typeparam name="U">The output type.</typeparam>
399
- <param name="option">The option containing the value to apply <paramref name="map" /> to.</param>
400
- <param name="map">The function to apply to the value of <paramref name="option" />.</param>
401
- <returns>An options result containing the result if there was an input value.</returns>
402
- </member>
403
- <member name="M:Sprache.OptionExtensions.SelectMany``3(Sprache.IOption{``0},System.Func{``0,Sprache.IOption{``1}},System.Func{``0,``1,``2})">
404
- <summary>
405
- Binds the value to a function with optional result and flattens the result to a single optional.
406
- A result projection is applied aftherwards.
407
- </summary>
408
- <typeparam name="T">The input type.</typeparam>
409
- <typeparam name="U">The output type of <paramref name="bind" />.</typeparam>
410
- <typeparam name="V">The final output type.</typeparam>
411
- <param name="option">The option containing the value to bind to.</param>
412
- <param name="bind">The function that receives the input values and returns an optional value.</param>
413
- <param name="project">The function that is projects the result of <paramref name="bind" />.</param>
414
- <returns>An option result containing the result if there were was an input value and bind result.</returns>
415
- </member>
416
- <member name="M:Sprache.OptionExtensions.SelectMany``2(Sprache.IOption{``0},System.Func{``0,Sprache.IOption{``1}})">
417
- <summary>
418
- Binds the value to a function with optional result and flattens the result to a single optional.
419
- </summary>
420
- <typeparam name="T">The input type.</typeparam>
421
- <typeparam name="U">The output type.</typeparam>
422
- <param name="option">The option containing the value to bind to.</param>
423
- <param name="bind">The function that receives the input values and returns an optional value.</param>
424
- <returns>An option result containing the result if there were was an input value and bind result.</returns>
425
- </member>
426
- <member name="T:Sprache.Parse">
427
- <summary>
428
- Parsers and combinators.
429
- </summary>
430
- </member>
431
- <member name="T:Sprache.Parse.TextSpan`1">
432
- <summary>
433
- Represents a text span of the matched result.
434
- </summary>
435
- <typeparam name="T">Type of the matched result.</typeparam>
436
- </member>
437
- <member name="M:Sprache.Parse.Span``1(Sprache.Parser{``0})">
438
- <summary>
439
- Constructs a parser that returns the <see cref="T:Sprache.ITextSpan`1"/> of the parsed value.
440
- </summary>
441
- <typeparam name="T">The result type of the given parser.</typeparam>
442
- <param name="parser">The parser to wrap.</param>
443
- <returns>A parser for the text span of the given parser.</returns>
444
- </member>
445
- <member name="T:Sprache.Parse.CommentedValue`1">
446
- <summary>
447
- Represents a commented result with its leading and trailing comments.
448
- </summary>
449
- <typeparam name="T">Type of the matched result.</typeparam>
450
- </member>
451
- <member name="M:Sprache.Parse.Commented``1(Sprache.Parser{``0},Sprache.IComment)">
452
- <summary>
453
- Constructs a parser that consumes a whitespace and all comments
454
- parsed by the commentParser.AnyComment parser, but parses only one trailing
455
- comment that starts exactly on the last line of the parsed value.
456
- </summary>
457
- <typeparam name="T">The result type of the given parser.</typeparam>
458
- <param name="parser">The parser to wrap.</param>
459
- <param name="commentParser">The comment parser.</param>
460
- <returns>An extended Token() version of the given parser.</returns>
461
- </member>
462
- <member name="M:Sprache.Parse.Char(System.Predicate{System.Char},System.String)">
463
- <summary>
464
- TryParse a single character matching 'predicate'
465
- </summary>
466
- <param name="predicate"></param>
467
- <param name="description"></param>
468
- <returns></returns>
469
- </member>
470
- <member name="M:Sprache.Parse.CharExcept(System.Predicate{System.Char},System.String)">
471
- <summary>
472
- Parse a single character except those matching <paramref name="predicate"/>.
473
- </summary>
474
- <param name="predicate">Characters not to match.</param>
475
- <param name="description">Description of characters that don't match.</param>
476
- <returns>A parser for characters except those matching <paramref name="predicate"/>.</returns>
477
- </member>
478
- <member name="M:Sprache.Parse.Char(System.Char)">
479
- <summary>
480
- Parse a single character c.
481
- </summary>
482
- <param name="c"></param>
483
- <returns></returns>
484
- </member>
485
- <member name="M:Sprache.Parse.Chars(System.Char[])">
486
- <summary>
487
- Parse a single character of any in c
488
- </summary>
489
- <param name="c"></param>
490
- <returns></returns>
491
- </member>
492
- <member name="M:Sprache.Parse.Chars(System.String)">
493
- <summary>
494
- Parse a single character of any in c
495
- </summary>
496
- <param name="c"></param>
497
- <returns></returns>
498
- </member>
499
- <member name="M:Sprache.Parse.CharExcept(System.Char)">
500
- <summary>
501
- Parse a single character except c.
502
- </summary>
503
- <param name="c"></param>
504
- <returns></returns>
505
- </member>
506
- <member name="M:Sprache.Parse.CharExcept(System.Collections.Generic.IEnumerable{System.Char})">
507
- <summary>
508
- Parses a single character except for those in the given parameters
509
- </summary>
510
- <param name="c"></param>
511
- <returns></returns>
512
- </member>
513
- <member name="M:Sprache.Parse.CharExcept(System.String)">
514
- <summary>
515
- Parses a single character except for those in c
516
- </summary>
517
- <param name="c"></param>
518
- <returns></returns>
519
- </member>
520
- <member name="M:Sprache.Parse.IgnoreCase(System.Char)">
521
- <summary>
522
- Parse a single character in a case-insensitive fashion.
523
- </summary>
524
- <param name="c"></param>
525
- <returns></returns>
526
- </member>
527
- <member name="M:Sprache.Parse.IgnoreCase(System.String)">
528
- <summary>
529
- Parse a string in a case-insensitive fashion.
530
- </summary>
531
- <param name="s"></param>
532
- <returns></returns>
533
- </member>
534
- <member name="F:Sprache.Parse.AnyChar">
535
- <summary>
536
- Parse any character.
537
- </summary>
538
- </member>
539
- <member name="F:Sprache.Parse.WhiteSpace">
540
- <summary>
541
- Parse a whitespace.
542
- </summary>
543
- </member>
544
- <member name="F:Sprache.Parse.Digit">
545
- <summary>
546
- Parse a digit.
547
- </summary>
548
- </member>
549
- <member name="F:Sprache.Parse.Letter">
550
- <summary>
551
- Parse a letter.
552
- </summary>
553
- </member>
554
- <member name="F:Sprache.Parse.LetterOrDigit">
555
- <summary>
556
- Parse a letter or digit.
557
- </summary>
558
- </member>
559
- <member name="F:Sprache.Parse.Lower">
560
- <summary>
561
- Parse a lowercase letter.
562
- </summary>
563
- </member>
564
- <member name="F:Sprache.Parse.Upper">
565
- <summary>
566
- Parse an uppercase letter.
567
- </summary>
568
- </member>
569
- <member name="F:Sprache.Parse.Numeric">
570
- <summary>
571
- Parse a numeric character.
572
- </summary>
573
- </member>
574
- <member name="M:Sprache.Parse.String(System.String)">
575
- <summary>
576
- Parse a string of characters.
577
- </summary>
578
- <param name="s"></param>
579
- <returns></returns>
580
- </member>
581
- <member name="M:Sprache.Parse.Not``1(Sprache.Parser{``0})">
582
- <summary>
583
- Constructs a parser that will fail if the given parser succeeds,
584
- and will succeed if the given parser fails. In any case, it won't
585
- consume any input. It's like a negative look-ahead in regex.
586
- </summary>
587
- <typeparam name="T">The result type of the given parser</typeparam>
588
- <param name="parser">The parser to wrap</param>
589
- <returns>A parser that is the opposite of the given parser.</returns>
590
- </member>
591
- <member name="M:Sprache.Parse.Then``2(Sprache.Parser{``0},System.Func{``0,Sprache.Parser{``1}})">
592
- <summary>
593
- Parse first, and if successful, then parse second.
594
- </summary>
595
- <typeparam name="T"></typeparam>
596
- <typeparam name="U"></typeparam>
597
- <param name="first"></param>
598
- <param name="second"></param>
599
- <returns></returns>
600
- </member>
601
- <member name="M:Sprache.Parse.Many``1(Sprache.Parser{``0})">
602
- <summary>
603
- Parse a stream of elements.
604
- </summary>
605
- <typeparam name="T"></typeparam>
606
- <param name="parser"></param>
607
- <returns></returns>
608
- <remarks>Implemented imperatively to decrease stack usage.</remarks>
609
- </member>
610
- <member name="M:Sprache.Parse.XMany``1(Sprache.Parser{``0})">
611
- <summary>
612
- Parse a stream of elements, failing if any element is only partially parsed.
613
- </summary>
614
- <typeparam name="T">The type of element to parse.</typeparam>
615
- <param name="parser">A parser that matches a single element.</param>
616
- <returns>A <see cref="T:Sprache.Parser`1"/> that matches the sequence.</returns>
617
- <remarks>
618
- <para>
619
- Using <seealso cref="M:Sprache.Parse.XMany``1(Sprache.Parser{``0})"/> may be preferable to <seealso cref="M:Sprache.Parse.Many``1(Sprache.Parser{``0})"/>
620
- where the first character of each match identified by <paramref name="parser"/>
621
- is sufficient to determine whether the entire match should succeed. The X*
622
- methods typically give more helpful errors and are easier to debug than their
623
- unqualified counterparts.
624
- </para>
625
- </remarks>
626
- <seealso cref="M:Sprache.Parse.XOr``1(Sprache.Parser{``0},Sprache.Parser{``0})"/>
627
- </member>
628
- <member name="M:Sprache.Parse.AtLeastOnce``1(Sprache.Parser{``0})">
629
- <summary>
630
- TryParse a stream of elements with at least one item.
631
- </summary>
632
- <typeparam name="T"></typeparam>
633
- <param name="parser"></param>
634
- <returns></returns>
635
- </member>
636
- <member name="M:Sprache.Parse.XAtLeastOnce``1(Sprache.Parser{``0})">
637
- <summary>
638
- TryParse a stream of elements with at least one item. Except the first
639
- item, all other items will be matched with the <code>XMany</code> operator.
640
- </summary>
641
- <typeparam name="T"></typeparam>
642
- <param name="parser"></param>
643
- <returns></returns>
644
- </member>
645
- <member name="M:Sprache.Parse.End``1(Sprache.Parser{``0})">
646
- <summary>
647
- Parse end-of-input.
648
- </summary>
649
- <typeparam name="T"></typeparam>
650
- <param name="parser"></param>
651
- <returns></returns>
652
- </member>
653
- <member name="M:Sprache.Parse.Select``2(Sprache.Parser{``0},System.Func{``0,``1})">
654
- <summary>
655
- Take the result of parsing, and project it onto a different domain.
656
- </summary>
657
- <typeparam name="T"></typeparam>
658
- <typeparam name="U"></typeparam>
659
- <param name="parser"></param>
660
- <param name="convert"></param>
661
- <returns></returns>
662
- </member>
663
- <member name="M:Sprache.Parse.Token``1(Sprache.Parser{``0})">
664
- <summary>
665
- Parse the token, embedded in any amount of whitespace characters.
666
- </summary>
667
- <typeparam name="T"></typeparam>
668
- <param name="parser"></param>
669
- <returns></returns>
670
- </member>
671
- <member name="M:Sprache.Parse.Ref``1(System.Func{Sprache.Parser{``0}})">
672
- <summary>
673
- Refer to another parser indirectly. This allows circular compile-time dependency between parsers.
674
- </summary>
675
- <typeparam name="T"></typeparam>
676
- <param name="reference"></param>
677
- <returns></returns>
678
- </member>
679
- <member name="M:Sprache.Parse.Text(Sprache.Parser{System.Collections.Generic.IEnumerable{System.Char}})">
680
- <summary>
681
- Convert a stream of characters to a string.
682
- </summary>
683
- <param name="characters"></param>
684
- <returns></returns>
685
- </member>
686
- <member name="M:Sprache.Parse.Or``1(Sprache.Parser{``0},Sprache.Parser{``0})">
687
- <summary>
688
- Parse first, if it succeeds, return first, otherwise try second.
689
- </summary>
690
- <typeparam name="T"></typeparam>
691
- <param name="first"></param>
692
- <param name="second"></param>
693
- <returns></returns>
694
- </member>
695
- <member name="M:Sprache.Parse.Named``1(Sprache.Parser{``0},System.String)">
696
- <summary>
697
- Names part of the grammar for help with error messages.
698
- </summary>
699
- <typeparam name="T"></typeparam>
700
- <param name="parser"></param>
701
- <param name="name"></param>
702
- <returns></returns>
703
- </member>
704
- <member name="M:Sprache.Parse.XOr``1(Sprache.Parser{``0},Sprache.Parser{``0})">
705
- <summary>
706
- Parse first, if it succeeds, return first, otherwise try second.
707
- Assumes that the first parsed character will determine the parser chosen (see Try).
708
- </summary>
709
- <typeparam name="T"></typeparam>
710
- <param name="first"></param>
711
- <param name="second"></param>
712
- <returns></returns>
713
- </member>
714
- <member name="M:Sprache.Parse.Once``1(Sprache.Parser{``0})">
715
- <summary>
716
- Parse a stream of elements containing only one item.
717
- </summary>
718
- <typeparam name="T"></typeparam>
719
- <param name="parser"></param>
720
- <returns></returns>
721
- </member>
722
- <member name="M:Sprache.Parse.Concat``1(Sprache.Parser{System.Collections.Generic.IEnumerable{``0}},Sprache.Parser{System.Collections.Generic.IEnumerable{``0}})">
723
- <summary>
724
- Concatenate two streams of elements.
725
- </summary>
726
- <typeparam name="T"></typeparam>
727
- <param name="first"></param>
728
- <param name="second"></param>
729
- <returns></returns>
730
- </member>
731
- <member name="M:Sprache.Parse.Return``1(``0)">
732
- <summary>
733
- Succeed immediately and return value.
734
- </summary>
735
- <typeparam name="T"></typeparam>
736
- <param name="value"></param>
737
- <returns></returns>
738
- </member>
739
- <member name="M:Sprache.Parse.Return``2(Sprache.Parser{``0},``1)">
740
- <summary>
741
- Version of Return with simpler inline syntax.
742
- </summary>
743
- <typeparam name="T"></typeparam>
744
- <typeparam name="U"></typeparam>
745
- <param name="parser"></param>
746
- <param name="value"></param>
747
- <returns></returns>
748
- </member>
749
- <member name="M:Sprache.Parse.Except``2(Sprache.Parser{``0},Sprache.Parser{``1})">
750
- <summary>
751
- Attempt parsing only if the <paramref name="except"/> parser fails.
752
- </summary>
753
- <typeparam name="T"></typeparam>
754
- <typeparam name="U"></typeparam>
755
- <param name="parser"></param>
756
- <param name="except"></param>
757
- <returns></returns>
758
- </member>
759
- <member name="M:Sprache.Parse.Until``2(Sprache.Parser{``0},Sprache.Parser{``1})">
760
- <summary>
761
- Parse a sequence of items until a terminator is reached.
762
- Returns the sequence, discarding the terminator.
763
- </summary>
764
- <typeparam name="T"></typeparam>
765
- <typeparam name="U"></typeparam>
766
- <param name="parser"></param>
767
- <param name="until"></param>
768
- <returns></returns>
769
- </member>
770
- <member name="M:Sprache.Parse.Where``1(Sprache.Parser{``0},System.Func{``0,System.Boolean})">
771
- <summary>
772
- Succeed if the parsed value matches predicate.
773
- </summary>
774
- <typeparam name="T"></typeparam>
775
- <param name="parser"></param>
776
- <param name="predicate"></param>
777
- <returns></returns>
778
- </member>
779
- <member name="M:Sprache.Parse.SelectMany``3(Sprache.Parser{``0},System.Func{``0,Sprache.Parser{``1}},System.Func{``0,``1,``2})">
780
- <summary>
781
- Monadic combinator Then, adapted for Linq comprehension syntax.
782
- </summary>
783
- <typeparam name="T"></typeparam>
784
- <typeparam name="U"></typeparam>
785
- <typeparam name="V"></typeparam>
786
- <param name="parser"></param>
787
- <param name="selector"></param>
788
- <param name="projector"></param>
789
- <returns></returns>
790
- </member>
791
- <member name="M:Sprache.Parse.ChainOperator``2(Sprache.Parser{``1},Sprache.Parser{``0},System.Func{``1,``0,``0,``0})">
792
- <summary>
793
- Chain a left-associative operator.
794
- </summary>
795
- <typeparam name="T"></typeparam>
796
- <typeparam name="TOp"></typeparam>
797
- <param name="op"></param>
798
- <param name="operand"></param>
799
- <param name="apply"></param>
800
- <returns></returns>
801
- </member>
802
- <member name="M:Sprache.Parse.XChainOperator``2(Sprache.Parser{``1},Sprache.Parser{``0},System.Func{``1,``0,``0,``0})">
803
- <summary>
804
- Chain a left-associative operator.
805
- </summary>
806
- <typeparam name="T"></typeparam>
807
- <typeparam name="TOp"></typeparam>
808
- <param name="op"></param>
809
- <param name="operand"></param>
810
- <param name="apply"></param>
811
- <returns></returns>
812
- </member>
813
- <member name="M:Sprache.Parse.ChainRightOperator``2(Sprache.Parser{``1},Sprache.Parser{``0},System.Func{``1,``0,``0,``0})">
814
- <summary>
815
- Chain a right-associative operator.
816
- </summary>
817
- <typeparam name="T"></typeparam>
818
- <typeparam name="TOp"></typeparam>
819
- <param name="op"></param>
820
- <param name="operand"></param>
821
- <param name="apply"></param>
822
- <returns></returns>
823
- </member>
824
- <member name="M:Sprache.Parse.XChainRightOperator``2(Sprache.Parser{``1},Sprache.Parser{``0},System.Func{``1,``0,``0,``0})">
825
- <summary>
826
- Chain a right-associative operator.
827
- </summary>
828
- <typeparam name="T"></typeparam>
829
- <typeparam name="TOp"></typeparam>
830
- <param name="op"></param>
831
- <param name="operand"></param>
832
- <param name="apply"></param>
833
- <returns></returns>
834
- </member>
835
- <member name="F:Sprache.Parse.Number">
836
- <summary>
837
- Parse a number.
838
- </summary>
839
- </member>
840
- <member name="F:Sprache.Parse.Decimal">
841
- <summary>
842
- Parse a decimal number using the current culture's separator character.
843
- </summary>
844
- </member>
845
- <member name="F:Sprache.Parse.DecimalInvariant">
846
- <summary>
847
- Parse a decimal number with separator '.'.
848
- </summary>
849
- </member>
850
- <member name="M:Sprache.Parse.Optional``1(Sprache.Parser{``0})">
851
- <summary>
852
- Construct a parser that indicates that the given parser
853
- is optional. The returned parser will succeed on
854
- any input no matter whether the given parser
855
- succeeds or not.
856
- </summary>
857
- <typeparam name="T">The result type of the given parser.</typeparam>
858
- <param name="parser">The parser to wrap.</param>
859
- <returns>An optional version of the given parser.</returns>
860
- </member>
861
- <member name="M:Sprache.Parse.XOptional``1(Sprache.Parser{``0})">
862
- <summary>
863
- Constructs the eXclusive version of the Optional{T} parser.
864
- </summary>
865
- <typeparam name="T">The result type of the given parser</typeparam>
866
- <param name="parser">The parser to wrap</param>
867
- <returns>An eXclusive optional version of the given parser.</returns>
868
- <seealso cref="M:Sprache.Parse.XOr``1(Sprache.Parser{``0},Sprache.Parser{``0})"/>
869
- </member>
870
- <member name="M:Sprache.Parse.Preview``1(Sprache.Parser{``0})">
871
- <summary>
872
- Construct a parser that indicates that the given parser is optional
873
- and non-consuming. The returned parser will succeed on
874
- any input no matter whether the given parser succeeds or not.
875
- In any case, it won't consume any input, like a positive look-ahead in regex.
876
- </summary>
877
- <typeparam name="T">The result type of the given parser.</typeparam>
878
- <param name="parser">The parser to wrap.</param>
879
- <returns>A non-consuming version of the given parser.</returns>
880
- </member>
881
- <member name="M:Sprache.Parse.Positioned``1(Sprache.Parser{``0})">
882
- <summary>
883
- Construct a parser that will set the position to the position-aware
884
- T on succsessful match.
885
- </summary>
886
- <typeparam name="T"></typeparam>
887
- <param name="parser"></param>
888
- <returns></returns>
889
- </member>
890
- <member name="F:Sprache.Parse.LineEnd">
891
- <summary>
892
- \n or \r\n
893
- </summary>
894
- </member>
895
- <member name="F:Sprache.Parse.LineTerminator">
896
- <summary>
897
- line ending or end of input
898
- </summary>
899
- </member>
900
- <member name="M:Sprache.Parse.Identifier(Sprache.Parser{System.Char},Sprache.Parser{System.Char})">
901
- <summary>
902
- Parser for identifier starting with <paramref name="firstLetterParser"/> and continuing with <paramref name="tailLetterParser"/>
903
- </summary>
904
- </member>
905
- <member name="M:Sprache.Parse.Regex(System.String,System.String)">
906
- <summary>
907
- Construct a parser from the given regular expression.
908
- </summary>
909
- <param name="pattern">The regex expression.</param>
910
- <param name="description">Description of characters that don't match.</param>
911
- <returns>a parse of string</returns>
912
- </member>
913
- <member name="M:Sprache.Parse.Regex(System.Text.RegularExpressions.Regex,System.String)">
914
- <summary>
915
- Construct a parser from the given regular expression.
916
- </summary>
917
- <param name="regex">The regex expression.</param>
918
- <param name="description">Description of characters that don't match.</param>
919
- <returns>a parse of string</returns>
920
- </member>
921
- <member name="M:Sprache.Parse.RegexMatch(System.String,System.String)">
922
- <summary>
923
- Construct a parser from the given regular expression, returning a parser of
924
- type <see cref="T:System.Text.RegularExpressions.Match"/>.
925
- </summary>
926
- <param name="pattern">The regex expression.</param>
927
- <param name="description">Description of characters that don't match.</param>
928
- <returns>A parser of regex match objects.</returns>
929
- </member>
930
- <member name="M:Sprache.Parse.RegexMatch(System.Text.RegularExpressions.Regex,System.String)">
931
- <summary>
932
- Construct a parser from the given regular expression, returning a parser of
933
- type <see cref="T:System.Text.RegularExpressions.Match"/>.
934
- </summary>
935
- <param name="regex">The regex expression.</param>
936
- <param name="description">Description of characters that don't match.</param>
937
- <returns>A parser of regex match objects.</returns>
938
- </member>
939
- <member name="M:Sprache.Parse.OptimizeRegex(System.Text.RegularExpressions.Regex)">
940
- <summary>
941
- Optimize the regex by only matching successfully at the start of the input.
942
- Do this by wrapping the whole regex in non-capturing parentheses preceded by
943
- a `^'.
944
- </summary>
945
- <remarks>
946
- This method is invoked via reflection in unit tests. If renamed, the tests
947
- will need to be modified or they will fail.
948
- </remarks>
949
- </member>
950
- <member name="M:Sprache.Parse.DelimitedBy``2(Sprache.Parser{``0},Sprache.Parser{``1})">
951
- <summary>
952
-
953
- </summary>
954
- <param name="parser"></param>
955
- <param name="delimiter"></param>
956
- <typeparam name="T"></typeparam>
957
- <typeparam name="U"></typeparam>
958
- <returns></returns>
959
- <exception cref="T:System.ArgumentNullException"></exception>
960
- </member>
961
- <member name="M:Sprache.Parse.DelimitedBy``2(Sprache.Parser{``0},Sprache.Parser{``1},System.Nullable{System.Int32},System.Nullable{System.Int32})">
962
- <summary>
963
-
964
- </summary>
965
- <param name="parser"></param>
966
- <param name="delimiter"></param>
967
- <param name="minimumCount"></param>
968
- <param name="maximumCount"></param>
969
- <typeparam name="T"></typeparam>
970
- <typeparam name="U"></typeparam>
971
- <returns></returns>
972
- <exception cref="T:System.ArgumentNullException"></exception>
973
- </member>
974
- <member name="M:Sprache.Parse.XDelimitedBy``2(Sprache.Parser{``0},Sprache.Parser{``1})">
975
- <summary>
976
- Fails on the first itemParser failure, if it reads at least one character.
977
- </summary>
978
- <param name="itemParser"></param>
979
- <param name="delimiter"></param>
980
- <typeparam name="T"></typeparam>
981
- <typeparam name="U"></typeparam>
982
- <returns></returns>
983
- <exception cref="T:System.ArgumentNullException"></exception>
984
- </member>
985
- <member name="M:Sprache.Parse.Repeat``1(Sprache.Parser{``0},System.Int32)">
986
- <summary>
987
-
988
- </summary>
989
- <param name="parser"></param>
990
- <param name="count"></param>
991
- <typeparam name="T"></typeparam>
992
- <returns></returns>
993
- <exception cref="T:System.ArgumentNullException"></exception>
994
- </member>
995
- <member name="M:Sprache.Parse.Repeat``1(Sprache.Parser{``0},System.Nullable{System.Int32},System.Nullable{System.Int32})">
996
- <summary>
997
-
998
- </summary>
999
- <param name="parser"></param>
1000
- <param name="minimumCount"></param>
1001
- <param name="maximumCount"></param>
1002
- <typeparam name="T"></typeparam>
1003
- <returns></returns>
1004
- <exception cref="T:System.ArgumentNullException"></exception>
1005
- </member>
1006
- <member name="M:Sprache.Parse.Contained``3(Sprache.Parser{``0},Sprache.Parser{``1},Sprache.Parser{``2})">
1007
- <summary>
1008
-
1009
- </summary>
1010
- <param name="parser"></param>
1011
- <param name="open"></param>
1012
- <param name="close"></param>
1013
- <typeparam name="T"></typeparam>
1014
- <typeparam name="U"></typeparam>
1015
- <typeparam name="V"></typeparam>
1016
- <returns></returns>
1017
- <exception cref="T:System.ArgumentNullException"></exception>
1018
- </member>
1019
- <member name="T:Sprache.ParseException">
1020
- <summary>
1021
- Represents an error that occurs during parsing.
1022
- </summary>
1023
- </member>
1024
- <member name="M:Sprache.ParseException.#ctor">
1025
- <summary>
1026
- Initializes a new instance of the <see cref="T:Sprache.ParseException" /> class.
1027
- </summary>
1028
- </member>
1029
- <member name="M:Sprache.ParseException.#ctor(System.String)">
1030
- <summary>
1031
- Initializes a new instance of the <see cref="T:Sprache.ParseException" /> class with a specified error message.
1032
- </summary>
1033
- <param name="message">The message that describes the error.</param>
1034
- </member>
1035
- <member name="M:Sprache.ParseException.#ctor(System.String,Sprache.Position)">
1036
- <summary>
1037
- Initializes a new instance of the <see cref="T:Sprache.ParseException" /> class with a specified error message
1038
- and the position where the error occured.
1039
- </summary>
1040
- <param name="message">The message that describes the error.</param>
1041
- <param name="position">The position where the error occured.</param>
1042
- </member>
1043
- <member name="M:Sprache.ParseException.#ctor(System.String,System.Exception)">
1044
- <summary>
1045
- Initializes a new instance of the <see cref="T:Sprache.ParseException" /> class with a specified error message
1046
- and a reference to the inner exception that is the cause of this exception.
1047
- </summary>
1048
- <param name="message">The error message that explains the reason for the exception.</param>
1049
- <param name="innerException">The exception that is the cause of the current exception,
1050
- or a null reference (Nothing in Visual Basic) if no inner exception is specified.</param>
1051
- </member>
1052
- <member name="P:Sprache.ParseException.Position">
1053
- <summary>
1054
- Gets the position of the parsing failure if one is available; otherwise, null.
1055
- </summary>
1056
- </member>
1057
- <member name="T:Sprache.Parser`1">
1058
- <summary>
1059
- Represents a parser.
1060
- </summary>
1061
- <typeparam name="T">The type of the result.</typeparam>
1062
- <param name="input">The input to parse.</param>
1063
- <returns>The result of the parser.</returns>
1064
- </member>
1065
- <member name="T:Sprache.ParserExtensions">
1066
- <summary>
1067
- Contains some extension methods for <see cref="T:Sprache.Parser`1" />.
1068
- </summary>
1069
- </member>
1070
- <member name="M:Sprache.ParserExtensions.TryParse``1(Sprache.Parser{``0},System.String)">
1071
- <summary>
1072
- Tries to parse the input without throwing an exception.
1073
- </summary>
1074
- <typeparam name="T">The type of the result.</typeparam>
1075
- <param name="parser">The parser.</param>
1076
- <param name="input">The input.</param>
1077
- <returns>The result of the parser</returns>
1078
- </member>
1079
- <member name="M:Sprache.ParserExtensions.Parse``1(Sprache.Parser{``0},System.String)">
1080
- <summary>
1081
- Parses the specified input string.
1082
- </summary>
1083
- <typeparam name="T">The type of the result.</typeparam>
1084
- <param name="parser">The parser.</param>
1085
- <param name="input">The input.</param>
1086
- <returns>The result of the parser.</returns>
1087
- <exception cref="T:Sprache.ParseException">It contains the details of the parsing error.</exception>
1088
- </member>
1089
- <member name="T:Sprache.Position">
1090
- <summary>
1091
- Represents a position in the input.
1092
- </summary>
1093
- </member>
1094
- <member name="M:Sprache.Position.#ctor(System.Int32,System.Int32,System.Int32)">
1095
- <summary>
1096
- Initializes a new instance of the <see cref="T:Sprache.Position" /> class.
1097
- </summary>
1098
- <param name="pos">The position.</param>
1099
- <param name="line">The line number.</param>
1100
- <param name="column">The column.</param>
1101
- </member>
1102
- <member name="M:Sprache.Position.FromInput(Sprache.IInput)">
1103
- <summary>
1104
- Creates an new <see cref="T:Sprache.Position"/> instance from a given <see cref="T:Sprache.IInput"/> object.
1105
- </summary>
1106
- <param name="input">The current input.</param>
1107
- <returns>A new <see cref="T:Sprache.Position"/> instance.</returns>
1108
- </member>
1109
- <member name="P:Sprache.Position.Pos">
1110
- <summary>
1111
- Gets the current positon.
1112
- </summary>
1113
- </member>
1114
- <member name="P:Sprache.Position.Line">
1115
- <summary>
1116
- Gets the current line number.
1117
- </summary>
1118
- </member>
1119
- <member name="P:Sprache.Position.Column">
1120
- <summary>
1121
- Gets the current column.
1122
- </summary>
1123
- </member>
1124
- <member name="M:Sprache.Position.Equals(System.Object)">
1125
- <summary>
1126
- Determines whether the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:Sprache.Position" />.
1127
- </summary>
1128
- <returns>
1129
- true if the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:Sprache.Position" />; otherwise, false.
1130
- </returns>
1131
- <param name="obj">The object to compare with the current object. </param>
1132
- </member>
1133
- <member name="M:Sprache.Position.Equals(Sprache.Position)">
1134
- <summary>
1135
- Indicates whether the current <see cref="T:Sprache.Position" /> is equal to another object of the same type.
1136
- </summary>
1137
- <returns>
1138
- true if the current object is equal to the <paramref name="other"/> parameter; otherwise, false.
1139
- </returns>
1140
- <param name="other">An object to compare with this object.</param>
1141
- </member>
1142
- <member name="M:Sprache.Position.op_Equality(Sprache.Position,Sprache.Position)">
1143
- <summary>
1144
- Indicates whether the left <see cref="T:Sprache.Position" /> is equal to the right <see cref="T:Sprache.Position" />.
1145
- </summary>
1146
- <param name="left">The left <see cref="T:Sprache.Position" />.</param>
1147
- <param name="right">The right <see cref="T:Sprache.Position" />.</param>
1148
- <returns>true if both objects are equal.</returns>
1149
- </member>
1150
- <member name="M:Sprache.Position.op_Inequality(Sprache.Position,Sprache.Position)">
1151
- <summary>
1152
- Indicates whether the left <see cref="T:Sprache.Position" /> is not equal to the right <see cref="T:Sprache.Position" />.
1153
- </summary>
1154
- <param name="left">The left <see cref="T:Sprache.Position" />.</param>
1155
- <param name="right">The right <see cref="T:Sprache.Position" />.</param>
1156
- <returns>true if the objects are not equal.</returns>
1157
- </member>
1158
- <member name="M:Sprache.Position.GetHashCode">
1159
- <summary>
1160
- Serves as a hash function for a particular type.
1161
- </summary>
1162
- <returns>
1163
- A hash code for the current <see cref="T:Sprache.Position" />.
1164
- </returns>
1165
- </member>
1166
- <member name="M:Sprache.Position.ToString">
1167
- <summary>
1168
- Returns a string that represents the current object.
1169
- </summary>
1170
- <returns>
1171
- A string that represents the current object.
1172
- </returns>
1173
- </member>
1174
- <member name="T:Sprache.Result">
1175
- <summary>
1176
- Contains helper functions to create <see cref="T:Sprache.IResult`1"/> instances.
1177
- </summary>
1178
- </member>
1179
- <member name="M:Sprache.Result.Success``1(``0,Sprache.IInput)">
1180
- <summary>
1181
- Creates a success result.
1182
- </summary>
1183
- <typeparam name="T">The type of the result (value).</typeparam>
1184
- <param name="value">The sucessfully parsed value.</param>
1185
- <param name="remainder">The remainder of the input.</param>
1186
- <returns>The new <see cref="T:Sprache.IResult`1"/>.</returns>
1187
- </member>
1188
- <member name="M:Sprache.Result.Failure``1(Sprache.IInput,System.String,System.Collections.Generic.IEnumerable{System.String})">
1189
- <summary>
1190
- Creates a failure result.
1191
- </summary>
1192
- <typeparam name="T">The type of the result.</typeparam>
1193
- <param name="remainder">The remainder of the input.</param>
1194
- <param name="message">The error message.</param>
1195
- <param name="expectations">The parser expectations.</param>
1196
- <returns>The new <see cref="T:Sprache.IResult`1"/>.</returns>
1197
- </member>
1198
- </members>
1199
- </doc>