a | b/trunk/cforge/packages/IronPython-2.7.7/Platforms/Net45/IronPython.xml | ||
---|---|---|---|
1 | <?xml version="1.0"?> |
||
2 | <doc> |
||
3 | <assembly> |
||
4 | <name>IronPython</name> |
||
5 | </assembly> |
||
6 | <members> |
||
7 | <member name="T:IronPython.Compiler.Ast.SerializedScopeStatement"> |
||
8 | <summary> |
||
9 | Fake ScopeStatement for FunctionCode's to hold on to after we have deserialized pre-compiled code. |
||
10 | </summary> |
||
11 | </member> |
||
12 | <member name="T:IronPython.Compiler.Ast.CollectableCompilationMode"> |
||
13 | <summary> |
||
14 | A global allocator that puts all of the globals into an array access. The array is an |
||
15 | array of PythonGlobal objects. We then just close over the array for any inner functions. |
||
16 | |||
17 | Once compiled a RuntimeScriptCode is produced which is closed over the entire execution |
||
18 | environment. |
||
19 | </summary> |
||
20 | </member> |
||
21 | <member name="T:IronPython.Compiler.Ast.UncollectableCompilationMode"> |
||
22 | <summary> |
||
23 | Implements globals which are backed by a static type, followed by an array if the static types' slots become full. The global |
||
24 | variables are stored in static fields on a type for fast access. The type also includes fields for constants and call sites |
||
25 | so they can be accessed much fasetr. |
||
26 | |||
27 | We don't generate any code into the type though - DynamicMethod's are much faster for code gen then normal ref emit. |
||
28 | </summary> |
||
29 | <summary> |
||
30 | Implements globals which are backed by a static type, followed by an array if the static types' slots become full. The global |
||
31 | variables are stored in static fields on a type for fast access. The type also includes fields for constants and call sites |
||
32 | so they can be accessed much fasetr. |
||
33 | |||
34 | We don't generate any code into the type though - DynamicMethod's are much faster for code gen then normal ref emit. |
||
35 | </summary> |
||
36 | </member> |
||
37 | <member name="M:IronPython.Compiler.Ast.StorageData.ContextStorageType(System.Int32)"> |
||
38 | <summary>Ensures the underlying array is long enough to accomodate the given index</summary> |
||
39 | <returns>The context storage type corresponding to the given index</returns> |
||
40 | </member> |
||
41 | <member name="M:IronPython.Compiler.Ast.StorageData.ConstantStorageType(System.Int32)"> |
||
42 | <summary>Ensures the underlying array is long enough to accomodate the given index</summary> |
||
43 | <returns>The constant storage type corresponding to the given index</returns> |
||
44 | </member> |
||
45 | <member name="M:IronPython.Compiler.Ast.StorageData.GlobalStorageType(System.Int32)"> |
||
46 | <summary>Ensures the underlying array is long enough to accomodate the given index</summary> |
||
47 | <returns>The global storage type corresponding to the given index</returns> |
||
48 | </member> |
||
49 | <member name="M:IronPython.Compiler.Ast.SiteStorage`1.SiteStorageType(System.Int32)"> |
||
50 | <summary>Ensures the underlying array is long enough to accomodate the given index</summary> |
||
51 | <returns>The site storage type corresponding to the given index</returns> |
||
52 | </member> |
||
53 | <member name="M:IronPython.Compiler.Ast.ClassDefinition.GetParentClosureTuple"> |
||
54 | <summary> |
||
55 | Gets the closure tuple from our parent context. |
||
56 | </summary> |
||
57 | </member> |
||
58 | <member name="M:IronPython.Compiler.Ast.FunctionDefinition.GetParentClosureTuple"> |
||
59 | <summary> |
||
60 | Pulls the closure tuple from our function/generator which is flowed into each function call. |
||
61 | </summary> |
||
62 | </member> |
||
63 | <member name="M:IronPython.Compiler.Ast.FunctionDefinition.MakeFunctionExpression"> |
||
64 | <summary> |
||
65 | Returns an expression which creates the function object. |
||
66 | </summary> |
||
67 | </member> |
||
68 | <member name="M:IronPython.Compiler.Ast.FunctionDefinition.EnsureFunctionLambda"> |
||
69 | <summary> |
||
70 | Creates the LambdaExpression which is the actual function body. |
||
71 | </summary> |
||
72 | </member> |
||
73 | <member name="M:IronPython.Compiler.Ast.FunctionDefinition.CreateFunctionLambda"> |
||
74 | <summary> |
||
75 | Creates the LambdaExpression which implements the body of the function. |
||
76 | |||
77 | The functions signature is either "object Function(PythonFunction, ...)" |
||
78 | where there is one object parameter for each user defined parameter or |
||
79 | object Function(PythonFunction, object[]) for functions which take more |
||
80 | than PythonCallTargets.MaxArgs arguments. |
||
81 | </summary> |
||
82 | </member> |
||
83 | <member name="M:IronPython.Compiler.Ast.FunctionDefinition.GetDelegateType(IronPython.Compiler.Ast.Parameter[],System.Boolean,System.Delegate@)"> |
||
84 | <summary> |
||
85 | Determines delegate type for the Python function |
||
86 | </summary> |
||
87 | </member> |
||
88 | <member name="T:IronPython.Compiler.Ast.FunctionDefinition.ArbitraryGlobalsVisitor"> |
||
89 | <summary> |
||
90 | Rewrites the tree for performing lookups against globals instead of being bound |
||
91 | against the optimized scope. This is used if the user creates a function using public |
||
92 | PythonFunction ctor. |
||
93 | </summary> |
||
94 | </member> |
||
95 | <member name="T:IronPython.Compiler.Ast.ComprehensionScope"> |
||
96 | <summary> |
||
97 | Scope for the comprehension. Because scopes are usually statements and comprehensions are expressions |
||
98 | this doesn't actually show up in the AST hierarchy and instead hangs off the comprehension expression. |
||
99 | </summary> |
||
100 | </member> |
||
101 | <member name="T:IronPython.Compiler.Ast.LookupCompilationMode"> |
||
102 | <summary> |
||
103 | Provides globals for when we need to lookup into a dictionary for each global access. |
||
104 | |||
105 | This is the slowest form of globals and is only used when we need to run against an |
||
106 | arbitrary dictionary given to us by a user. |
||
107 | </summary> |
||
108 | </member> |
||
109 | <member name="P:IronPython.Compiler.Ast.Node.CanThrow"> |
||
110 | <summary> |
||
111 | Returns true if the node can throw, false otherwise. Used to determine |
||
112 | whether or not we need to update the current dynamic stack info. |
||
113 | </summary> |
||
114 | </member> |
||
115 | <member name="M:IronPython.Compiler.Ast.Node.AddFrame(System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)"> |
||
116 | <summary> |
||
117 | Creates a method frame for tracking purposes and enforces recursion |
||
118 | </summary> |
||
119 | </member> |
||
120 | <member name="M:IronPython.Compiler.Ast.Node.RemoveFrame(System.Linq.Expressions.Expression)"> |
||
121 | <summary> |
||
122 | Removes the frames from generated code for when we're compiling the tracing delegate |
||
123 | which will track the frames it's self. |
||
124 | </summary> |
||
125 | </member> |
||
126 | <member name="P:IronPython.Compiler.Ast.Node.LineNumberUpdated"> |
||
127 | <summary> |
||
128 | A temporary variable to track if the current line number has been emitted via the fault update block. |
||
129 | |||
130 | For example consider: |
||
131 | |||
132 | try: |
||
133 | raise Exception() |
||
134 | except Exception, e: |
||
135 | # do something here |
||
136 | raise |
||
137 | |||
138 | At "do something here" we need to have already emitted the line number, when we re-raise we shouldn't add it |
||
139 | again. If we handled the exception then we should have set the bool back to false. |
||
140 | |||
141 | We also sometimes directly check _lineNoUpdated to avoid creating this unless we have nested exceptions. |
||
142 | </summary> |
||
143 | </member> |
||
144 | <member name="P:IronPython.Compiler.Ast.Node.LineNumberExpression"> |
||
145 | <summary> |
||
146 | A temporary variable to track the current line number |
||
147 | </summary> |
||
148 | </member> |
||
149 | <member name="T:IronPython.Compiler.Ast.Parameter"> |
||
150 | <summary> |
||
151 | Parameter base class |
||
152 | </summary> |
||
153 | </member> |
||
154 | <member name="F:IronPython.Compiler.Ast.Parameter._name"> |
||
155 | <summary> |
||
156 | Position of the parameter: 0-based index |
||
157 | </summary> |
||
158 | </member> |
||
159 | <member name="P:IronPython.Compiler.Ast.Parameter.Name"> |
||
160 | <summary> |
||
161 | Parameter name |
||
162 | </summary> |
||
163 | </member> |
||
164 | <member name="T:IronPython.Compiler.Ast.PythonAst"> |
||
165 | <summary> |
||
166 | Top-level ast for all Python code. Typically represents a module but could also |
||
167 | be exec or eval code. |
||
168 | </summary> |
||
169 | </member> |
||
170 | <member name="M:IronPython.Compiler.Ast.PythonAst.#ctor(System.Boolean,IronPython.Runtime.ModuleOptions,System.Boolean,Microsoft.Scripting.Runtime.CompilerContext)"> |
||
171 | <summary> |
||
172 | Creates a new PythonAst without a body. ParsingFinished should be called afterwards to set |
||
173 | the body. |
||
174 | </summary> |
||
175 | </member> |
||
176 | <member name="M:IronPython.Compiler.Ast.PythonAst.ParsingFinished(System.Int32[],IronPython.Compiler.Ast.Statement,IronPython.Runtime.ModuleOptions)"> |
||
177 | <summary> |
||
178 | Called when parsing is complete, the body is built, the line mapping and language features are known. |
||
179 | |||
180 | This is used in conjunction with the constructor which does not take a body. It enables creating |
||
181 | the outer most PythonAst first so that nodes can always have a global parent. This lets an un-bound |
||
182 | tree to still provide it's line information immediately after parsing. When we set the location |
||
183 | of each node during construction we also set the global parent. When we name bind the global |
||
184 | parent gets replaced with the real parent ScopeStatement. |
||
185 | </summary> |
||
186 | <param name="lineLocations">a mapping of where each line begins</param> |
||
187 | <param name="body">The body of code</param> |
||
188 | <param name="languageFeatures">The language features which were set during parsing.</param> |
||
189 | </member> |
||
190 | <member name="M:IronPython.Compiler.Ast.PythonAst.Bind"> |
||
191 | <summary> |
||
192 | Binds an AST and makes it capable of being reduced and compiled. Before calling Bind an AST cannot successfully |
||
193 | be reduced. |
||
194 | </summary> |
||
195 | </member> |
||
196 | <member name="M:IronPython.Compiler.Ast.PythonAst.EnsureGlobalVariable(System.String)"> |
||
197 | <summary> |
||
198 | Creates a variable at the global level. Called for known globals (e.g. __name__), |
||
199 | for variables explicitly declared global by the user, and names accessed |
||
200 | but not defined in the lexical scope. |
||
201 | </summary> |
||
202 | </member> |
||
203 | <member name="M:IronPython.Compiler.Ast.PythonAst.Reduce"> |
||
204 | <summary> |
||
205 | Reduces the PythonAst to a LambdaExpression of type Type. |
||
206 | </summary> |
||
207 | </member> |
||
208 | <member name="P:IronPython.Compiler.Ast.PythonAst.TrueDivision"> |
||
209 | <summary> |
||
210 | True division is enabled in this AST. |
||
211 | </summary> |
||
212 | </member> |
||
213 | <member name="P:IronPython.Compiler.Ast.PythonAst.AllowWithStatement"> |
||
214 | <summary> |
||
215 | True if the with statement is enabled in this AST. |
||
216 | </summary> |
||
217 | </member> |
||
218 | <member name="P:IronPython.Compiler.Ast.PythonAst.AbsoluteImports"> |
||
219 | <summary> |
||
220 | True if absolute imports are enabled |
||
221 | </summary> |
||
222 | </member> |
||
223 | <member name="M:IronPython.Compiler.Ast.PythonAst.ToScriptCode"> |
||
224 | <summary> |
||
225 | Returns a ScriptCode object for this PythonAst. The ScriptCode object |
||
226 | can then be used to execute the code against it's closed over scope or |
||
227 | to execute it against a different scope. |
||
228 | </summary> |
||
229 | </member> |
||
230 | <member name="M:IronPython.Compiler.Ast.PythonAst.MakeLookupCode"> |
||
231 | <summary> |
||
232 | Rewrites the tree for performing lookups against globals instead of being bound |
||
233 | against the optimized scope. This is used if the user compiles optimied code and then |
||
234 | runs it against a different scope. |
||
235 | </summary> |
||
236 | </member> |
||
237 | <member name="P:IronPython.Compiler.Ast.PythonAst.OnDiskProxy"> |
||
238 | <summary> |
||
239 | True if this is on-disk code which we don't really have an AST for. |
||
240 | </summary> |
||
241 | </member> |
||
242 | <member name="T:IronPython.Compiler.Ast.PythonReference"> |
||
243 | <summary> |
||
244 | Represents a reference to a name. A PythonReference is created for each name |
||
245 | referred to in a scope (global, class, or function). |
||
246 | </summary> |
||
247 | </member> |
||
248 | <member name="P:IronPython.Compiler.Ast.ScopeStatement.LocalParentTuple"> |
||
249 | <summary> |
||
250 | The variable used to hold out parents closure tuple in our local scope. |
||
251 | </summary> |
||
252 | </member> |
||
253 | <member name="P:IronPython.Compiler.Ast.ScopeStatement.LocalContext"> |
||
254 | <summary> |
||
255 | Gets the expression associated with the local CodeContext. If the function |
||
256 | doesn't have a local CodeContext then this is the global context. |
||
257 | </summary> |
||
258 | </member> |
||
259 | <member name="P:IronPython.Compiler.Ast.ScopeStatement.IsClosure"> |
||
260 | <summary> |
||
261 | True if this scope accesses a variable from an outer scope. |
||
262 | </summary> |
||
263 | </member> |
||
264 | <member name="P:IronPython.Compiler.Ast.ScopeStatement.ContainsNestedFreeVariables"> |
||
265 | <summary> |
||
266 | True if an inner scope is accessing a variable defined in this scope. |
||
267 | </summary> |
||
268 | </member> |
||
269 | <member name="P:IronPython.Compiler.Ast.ScopeStatement.NeedsLocalsDictionary"> |
||
270 | <summary> |
||
271 | True if we are forcing the creation of a dictionary for storing locals. |
||
272 | |||
273 | This occurs for calls to locals(), dir(), vars(), unqualified exec, and |
||
274 | from ... import *. |
||
275 | </summary> |
||
276 | </member> |
||
277 | <member name="P:IronPython.Compiler.Ast.ScopeStatement.HasLateBoundVariableSets"> |
||
278 | <summary> |
||
279 | True if variables can be set in a late bound fashion that we don't |
||
280 | know about at code gen time - for example via from foo import *. |
||
281 | |||
282 | This is tracked independently of the ContainsUnqualifiedExec/NeedsLocalsDictionary |
||
283 | </summary> |
||
284 | </member> |
||
285 | <member name="M:IronPython.Compiler.Ast.ScopeStatement.GetOrMakeFunctionCode"> |
||
286 | <summary> |
||
287 | Gets or creates the FunctionCode object for this FunctionDefinition. |
||
288 | </summary> |
||
289 | </member> |
||
290 | <member name="P:IronPython.Compiler.Ast.ScopeStatement.FreeVariables"> |
||
291 | <summary> |
||
292 | Variables that are bound in an outer scope - but not a global scope |
||
293 | </summary> |
||
294 | </member> |
||
295 | <member name="P:IronPython.Compiler.Ast.ScopeStatement.GlobalVariables"> |
||
296 | <summary> |
||
297 | Variables that are bound to the global scope |
||
298 | </summary> |
||
299 | </member> |
||
300 | <member name="P:IronPython.Compiler.Ast.ScopeStatement.CellVariables"> |
||
301 | <summary> |
||
302 | Variables that are referred to from a nested scope and need to be |
||
303 | promoted to cells. |
||
304 | </summary> |
||
305 | </member> |
||
306 | <member name="M:IronPython.Compiler.Ast.ScopeStatement.GetUpdateTrackbackExpression(System.Linq.Expressions.ParameterExpression)"> |
||
307 | <summary> |
||
308 | Gets the expression for updating the dynamic stack trace at runtime when an |
||
309 | exception is thrown. |
||
310 | </summary> |
||
311 | </member> |
||
312 | <member name="M:IronPython.Compiler.Ast.ScopeStatement.GetSaveLineNumberExpression(System.Linq.Expressions.ParameterExpression,System.Boolean)"> |
||
313 | <summary> |
||
314 | Gets the expression for the actual updating of the line number for stack traces to be available |
||
315 | </summary> |
||
316 | </member> |
||
317 | <member name="M:IronPython.Compiler.Ast.ScopeStatement.WrapScopeStatements(System.Linq.Expressions.Expression,System.Boolean)"> |
||
318 | <summary> |
||
319 | Wraps the body of a statement which should result in a frame being available during |
||
320 | exception handling. This ensures the line number is updated as the stack is unwound. |
||
321 | </summary> |
||
322 | </member> |
||
323 | <member name="T:IronPython.Compiler.Ast.ScopeStatement.DelayedFunctionCode"> |
||
324 | <summary> |
||
325 | Provides a place holder for the expression which represents |
||
326 | a FunctionCode. For functions/classes this gets updated after |
||
327 | the AST has been generated because the FunctionCode needs to |
||
328 | know about the tree which gets generated. For modules we |
||
329 | immediately have the value because it always comes in as a parameter. |
||
330 | </summary> |
||
331 | </member> |
||
332 | <member name="T:IronPython.Compiler.Ast.ScopeStatement.DelayedProfiling"> |
||
333 | <summary> |
||
334 | Reducible node so that re-writing for profiling does not occur until |
||
335 | after the script code has been completed and is ready to be compiled. |
||
336 | |||
337 | Without this extra node profiling would force reduction of the node |
||
338 | and we wouldn't have setup our constant access correctly yet. |
||
339 | </summary> |
||
340 | </member> |
||
341 | <member name="P:IronPython.Compiler.Ast.SliceExpression.StepProvided"> |
||
342 | <summary> |
||
343 | True if the user provided a step parameter (either providing an explicit parameter |
||
344 | or providing an empty step parameter) false if only start and stop were provided. |
||
345 | </summary> |
||
346 | </member> |
||
347 | <member name="F:IronPython.Compiler.Ast.TryStatement._body"> |
||
348 | <summary> |
||
349 | The statements under the try-block. |
||
350 | </summary> |
||
351 | </member> |
||
352 | <member name="F:IronPython.Compiler.Ast.TryStatement._handlers"> |
||
353 | <summary> |
||
354 | Array of except (catch) blocks associated with this try. NULL if there are no except blocks. |
||
355 | </summary> |
||
356 | </member> |
||
357 | <member name="F:IronPython.Compiler.Ast.TryStatement._else"> |
||
358 | <summary> |
||
359 | The body of the optional Else block for this try. NULL if there is no Else block. |
||
360 | </summary> |
||
361 | </member> |
||
362 | <member name="F:IronPython.Compiler.Ast.TryStatement._finally"> |
||
363 | <summary> |
||
364 | The body of the optional finally associated with this try. NULL if there is no finally block. |
||
365 | </summary> |
||
366 | </member> |
||
367 | <member name="M:IronPython.Compiler.Ast.TryStatement.TransformHandlers(System.Linq.Expressions.ParameterExpression)"> |
||
368 | <summary> |
||
369 | Transform multiple python except handlers for a try block into a single catch body. |
||
370 | </summary> |
||
371 | <param name="exception">The variable for the exception in the catch block.</param> |
||
372 | <returns>Null if there are no except handlers. Else the statement to go inside the catch handler</returns> |
||
373 | </member> |
||
374 | <member name="M:IronPython.Compiler.Ast.TryStatement.GetTracebackHeader(IronPython.Compiler.Ast.Statement,System.Linq.Expressions.ParameterExpression,System.Linq.Expressions.Expression)"> |
||
375 | <summary> |
||
376 | Surrounds the body of an except block w/ the appropriate code for maintaining the traceback. |
||
377 | </summary> |
||
378 | </member> |
||
379 | <member name="P:IronPython.Compiler.Ast.PythonVariable.ReadBeforeInitialized"> |
||
380 | <summary> |
||
381 | True iff there is a path in control flow graph on which the variable is used before initialized (assigned or deleted). |
||
382 | </summary> |
||
383 | </member> |
||
384 | <member name="P:IronPython.Compiler.Ast.PythonVariable.AccessedInNestedScope"> |
||
385 | <summary> |
||
386 | True iff the variable is referred to from the inner scope. |
||
387 | </summary> |
||
388 | </member> |
||
389 | <member name="T:IronPython.Compiler.Ast.PythonWalker"> |
||
390 | <summary> |
||
391 | PythonWalker class - The Python AST Walker (default result is true) |
||
392 | </summary> |
||
393 | </member> |
||
394 | <member name="T:IronPython.Compiler.Ast.PythonWalkerNonRecursive"> |
||
395 | <summary> |
||
396 | PythonWalkerNonRecursive class - The Python AST Walker (default result is false) |
||
397 | </summary> |
||
398 | </member> |
||
399 | <member name="F:IronPython.Compiler.Ast.VariableKind.Local"> |
||
400 | <summary> |
||
401 | Local variable. |
||
402 | |||
403 | Local variables can be referenced from nested lambdas |
||
404 | </summary> |
||
405 | </member> |
||
406 | <member name="F:IronPython.Compiler.Ast.VariableKind.Parameter"> |
||
407 | <summary> |
||
408 | Parameter to a LambdaExpression |
||
409 | |||
410 | Like locals, they can be referenced from nested lambdas |
||
411 | </summary> |
||
412 | </member> |
||
413 | <member name="F:IronPython.Compiler.Ast.VariableKind.Global"> |
||
414 | <summary> |
||
415 | Global variable |
||
416 | |||
417 | Should only appear in global (top level) lambda. |
||
418 | </summary> |
||
419 | </member> |
||
420 | <member name="M:IronPython.Compiler.Ast.WithStatement.Reduce"> |
||
421 | <summary> |
||
422 | WithStatement is translated to the DLR AST equivalent to |
||
423 | the following Python code snippet (from with statement spec): |
||
424 | |||
425 | mgr = (EXPR) |
||
426 | exit = mgr.__exit__ # Not calling it yet |
||
427 | value = mgr.__enter__() |
||
428 | exc = True |
||
429 | try: |
||
430 | VAR = value # Only if "as VAR" is present |
||
431 | BLOCK |
||
432 | except: |
||
433 | # The exceptional case is handled here |
||
434 | exc = False |
||
435 | if not exit(*sys.exc_info()): |
||
436 | raise |
||
437 | # The exception is swallowed if exit() returns true |
||
438 | finally: |
||
439 | # The normal and non-local-goto cases are handled here |
||
440 | if exc: |
||
441 | exit(None, None, None) |
||
442 | |||
443 | </summary> |
||
444 | </member> |
||
445 | <member name="T:IronPython.Compiler.ClosureExpression"> |
||
446 | <summary> |
||
447 | Small reducable node which just fetches the value from a ClosureCell |
||
448 | object. Like w/ global variables the compiler recognizes these on |
||
449 | sets and turns them into assignments on the python global object. |
||
450 | </summary> |
||
451 | </member> |
||
452 | <member name="P:IronPython.Compiler.ClosureExpression.ClosureCell"> |
||
453 | <summary> |
||
454 | Gets the expression which points at the closure cell. |
||
455 | </summary> |
||
456 | </member> |
||
457 | <member name="P:IronPython.Compiler.ClosureExpression.OriginalParameter"> |
||
458 | <summary> |
||
459 | The original expression for the incoming parameter if this is a parameter closure. Otherwise |
||
460 | the value is null. |
||
461 | </summary> |
||
462 | </member> |
||
463 | <member name="P:IronPython.Compiler.ClosureExpression.PythonVariable"> |
||
464 | <summary> |
||
465 | Gets the PythonVariable for which this closure expression was created. |
||
466 | </summary> |
||
467 | </member> |
||
468 | <member name="M:IronPython.Compiler.ClosureExpression.Create"> |
||
469 | <summary> |
||
470 | Creates the storage for the closure cell. If this is a closure over a parameter it |
||
471 | captures the initial incoming parameter value. |
||
472 | </summary> |
||
473 | </member> |
||
474 | <member name="M:IronPython.Compiler.ClosureExpression.Reduce"> |
||
475 | <summary> |
||
476 | Reduces the closure cell to a read of the value stored in the cell. |
||
477 | </summary> |
||
478 | </member> |
||
479 | <member name="M:IronPython.Compiler.ClosureExpression.Assign(System.Linq.Expressions.Expression)"> |
||
480 | <summary> |
||
481 | Assigns a value to the closure cell. |
||
482 | </summary> |
||
483 | </member> |
||
484 | <member name="M:IronPython.Compiler.ClosureExpression.Delete"> |
||
485 | <summary> |
||
486 | Removes the current value from the closure cell. |
||
487 | </summary> |
||
488 | </member> |
||
489 | <member name="T:IronPython.Compiler.ReferenceClosureInfo"> |
||
490 | <summary> |
||
491 | Tracking for variables lifted into closure objects. Used to store information in a function |
||
492 | about the outer variables it accesses. |
||
493 | </summary> |
||
494 | </member> |
||
495 | <member name="T:IronPython.Compiler.GeneratorRewriter"> |
||
496 | <summary> |
||
497 | When finding a yield return or yield break, this rewriter flattens out |
||
498 | containing blocks, scopes, and expressions with stack state. All |
||
499 | scopes encountered have their variables promoted to the generator's |
||
500 | closure, so they survive yields. |
||
501 | </summary> |
||
502 | </member> |
||
503 | <member name="M:IronPython.Compiler.GeneratorRewriter.ToTemp(System.Linq.Expressions.Expression@)"> |
||
504 | <summary> |
||
505 | Spills the right side into a temp, and replaces it with its temp. |
||
506 | Returns the expression that initializes the temp. |
||
507 | </summary> |
||
508 | </member> |
||
509 | <member name="M:IronPython.Compiler.GeneratorRewriter.MakeAssign(System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)"> |
||
510 | <summary> |
||
511 | Makes an assignment to this variable. Pushes the assignment as far |
||
512 | into the right side as possible, to allow jumps into it. |
||
513 | </summary> |
||
514 | </member> |
||
515 | <member name="T:IronPython.Compiler.DelayedTupleExpression"> |
||
516 | <summary> |
||
517 | Accesses the property of a tuple. The node can be created first and then the tuple and index |
||
518 | type can be filled in before the tree is actually generated. This enables creation of these |
||
519 | nodes before the tuple type is actually known. |
||
520 | </summary> |
||
521 | </member> |
||
522 | <member name="T:IronPython.Compiler.LazyCode`1"> |
||
523 | <summary> |
||
524 | Represents code which can be lazily compiled. |
||
525 | |||
526 | The code is created in an AST which provides the Expression of T and |
||
527 | whether or not the code should be interpreted. For non-pre compiled |
||
528 | scenarios the code will not be compiled until the 1st time it is run. |
||
529 | |||
530 | For pre-compiled scenarios the code is IExpressionSerializable and will |
||
531 | turn into a normal pre-compiled method. |
||
532 | </summary> |
||
533 | </member> |
||
534 | <member name="T:IronPython.Compiler.CompilationMode"> |
||
535 | <summary> |
||
536 | Specifies the compilation mode which will be used during the AST transformation |
||
537 | </summary> |
||
538 | </member> |
||
539 | <member name="F:IronPython.Compiler.CompilationMode.ToDisk"> |
||
540 | <summary> |
||
541 | Compilation will proceed in a manner in which the resulting AST can be serialized to disk. |
||
542 | </summary> |
||
543 | </member> |
||
544 | <member name="F:IronPython.Compiler.CompilationMode.Uncollectable"> |
||
545 | <summary> |
||
546 | Compilation will use a type and declare static fields for globals. The resulting type |
||
547 | is uncollectible and therefore extended use of this will cause memory leaks. |
||
548 | </summary> |
||
549 | </member> |
||
550 | <member name="F:IronPython.Compiler.CompilationMode.Collectable"> |
||
551 | <summary> |
||
552 | Compilation will use an array for globals. The resulting code will be fully collectible |
||
553 | and once all references are released will be collected. |
||
554 | </summary> |
||
555 | </member> |
||
556 | <member name="F:IronPython.Compiler.CompilationMode.Lookup"> |
||
557 | <summary> |
||
558 | Compilation will force all global accesses to do a full lookup. This will also happen for |
||
559 | any unbound local references. This is the slowest form of code generation and is only |
||
560 | used for exec/eval code where we can run against an arbitrary dictionary. |
||
561 | </summary> |
||
562 | </member> |
||
563 | <member name="T:IronPython.Compiler.ReducableDynamicExpression"> |
||
564 | <summary> |
||
565 | Provides a wrapper around "dynamic" expressions which we've opened coded (for optimized code generation). |
||
566 | |||
567 | This lets us recognize both normal Dynamic and our own Dynamic expressions and apply the combo binder on them. |
||
568 | </summary> |
||
569 | </member> |
||
570 | <member name="T:IronPython.Compiler.PythonSavableScriptCode"> |
||
571 | <summary> |
||
572 | A ScriptCode which can be saved to disk. We only create this when called via |
||
573 | the clr.CompileModules API. This ScriptCode does not support running. |
||
574 | </summary> |
||
575 | </member> |
||
576 | <member name="T:IronPython.Compiler.OnDiskScriptCode"> |
||
577 | <summary> |
||
578 | A ScriptCode which has been loaded from an assembly which is saved on disk. |
||
579 | </summary> |
||
580 | </member> |
||
581 | <member name="M:IronPython.Compiler.OnDiskScriptCode.MakeAstFromSourceUnit(Microsoft.Scripting.SourceUnit)"> |
||
582 | <summary> |
||
583 | Creates a fake PythonAst object which is represenative of the on-disk script code. |
||
584 | </summary> |
||
585 | </member> |
||
586 | <member name="T:IronPython.Compiler.PythonGlobal"> |
||
587 | <summary> |
||
588 | Provides cached global variable for modules to enable optimized access to |
||
589 | module globals. Both the module global value and the cached value can be held |
||
590 | onto and the cached value can be invalidated by the providing LanguageContext. |
||
591 | |||
592 | The cached value is provided by the LanguageContext.GetModuleCache API. |
||
593 | </summary> |
||
594 | </member> |
||
595 | <member name="T:IronPython.Compiler.PythonGlobalVariableExpression"> |
||
596 | <summary> |
||
597 | Small reducable node which just fetches the value from a PythonGlobal |
||
598 | object. The compiler recognizes these on sets and turns them into |
||
599 | assignments on the python global object. |
||
600 | </summary> |
||
601 | </member> |
||
602 | <member name="T:IronPython.Compiler.PythonScriptCode"> |
||
603 | <summary> |
||
604 | Represents a script code which can be dynamically bound to execute against |
||
605 | arbitrary Scope objects. This is used for code when the user runs against |
||
606 | a particular scope as well as for exec and eval code as well. It is also |
||
607 | used when tracing is enabled. |
||
608 | </summary> |
||
609 | </member> |
||
610 | <member name="T:IronPython.Compiler.RuntimeScriptCode"> |
||
611 | <summary> |
||
612 | Represents a script code which can be consumed at runtime as-is. This code has |
||
613 | no external dependencies and is closed over its scope. |
||
614 | </summary> |
||
615 | </member> |
||
616 | <member name="M:IronPython.Compiler.PythonCompilerOptions.#ctor"> |
||
617 | <summary> |
||
618 | Creates a new PythonCompilerOptions with the default language features enabled. |
||
619 | </summary> |
||
620 | </member> |
||
621 | <member name="M:IronPython.Compiler.PythonCompilerOptions.#ctor(IronPython.Runtime.ModuleOptions)"> |
||
622 | <summary> |
||
623 | Creates a new PythonCompilerOptions with the specified language features enabled. |
||
624 | </summary> |
||
625 | </member> |
||
626 | <member name="M:IronPython.Compiler.PythonCompilerOptions.#ctor(System.Boolean)"> |
||
627 | <summary> |
||
628 | Creates a new PythonCompilerOptions and enables or disables true division. |
||
629 | |||
630 | This overload is obsolete, instead you should use the overload which takes a |
||
631 | ModuleOptions. |
||
632 | </summary> |
||
633 | </member> |
||
634 | <member name="P:IronPython.Compiler.PythonCompilerOptions.InitialIndent"> |
||
635 | <summary> |
||
636 | Gets or sets the initial indentation. This can be set to allow parsing |
||
637 | partial blocks of code that are already indented. |
||
638 | |||
639 | For each element of the array there is an additional level of indentation. |
||
640 | Each integer value represents the number of spaces used for the indentation. |
||
641 | |||
642 | If this value is null then no indentation level is specified. |
||
643 | </summary> |
||
644 | </member> |
||
645 | <member name="F:IronPython.Compiler.Parser._languageFeatures"> |
||
646 | <summary> |
||
647 | Language features initialized on parser construction and possibly updated during parsing. |
||
648 | The code can set the language features (e.g. "from __future__ import division"). |
||
649 | </summary> |
||
650 | </member> |
||
651 | <member name="M:IronPython.Compiler.Parser.ParseInteractiveCode(Microsoft.Scripting.ScriptCodeParseResult@)"> |
||
652 | <summary> |
||
653 | Parse one or more lines of interactive input |
||
654 | </summary> |
||
655 | <returns>null if input is not yet valid but could be with more lines</returns> |
||
656 | </member> |
||
657 | <member name="M:IronPython.Compiler.Parser.GetNextAutoIndentSize(System.String,System.Int32)"> |
||
658 | <summary> |
||
659 | Given the interactive text input for a compound statement, calculate what the |
||
660 | indentation level of the next line should be |
||
661 | </summary> |
||
662 | </member> |
||
663 | <member name="M:IronPython.Compiler.Parser.ParseYieldExpression"> |
||
664 | <summary> |
||
665 | Peek if the next token is a 'yield' and parse a yield expression. Else return null. |
||
666 | |||
667 | Called w/ yield already eaten. |
||
668 | </summary> |
||
669 | <returns>A yield expression if present, else null. </returns> |
||
670 | </member> |
||
671 | <member name="M:IronPython.Compiler.Parser.MaybeEatNewLine"> |
||
672 | <summary> |
||
673 | Maybe eats a new line token returning true if the token was |
||
674 | eaten. |
||
675 | |||
676 | Python always tokenizes to have only 1 new line character in a |
||
677 | row. But we also craete NLToken's and ignore them except for |
||
678 | error reporting purposes. This gives us the same errors as |
||
679 | CPython and also matches the behavior of the standard library |
||
680 | tokenize module. This function eats any present NL tokens and throws |
||
681 | them away. |
||
682 | </summary> |
||
683 | </member> |
||
684 | <member name="M:IronPython.Compiler.Parser.EatNewLine"> |
||
685 | <summary> |
||
686 | Eats a new line token throwing if the next token isn't a new line. |
||
687 | |||
688 | Python always tokenizes to have only 1 new line character in a |
||
689 | row. But we also craete NLToken's and ignore them except for |
||
690 | error reporting purposes. This gives us the same errors as |
||
691 | CPython and also matches the behavior of the standard library |
||
692 | tokenize module. This function eats any present NL tokens and throws |
||
693 | them away. |
||
694 | </summary> |
||
695 | </member> |
||
696 | <member name="T:IronPython.Compiler.Token"> |
||
697 | <summary> |
||
698 | Summary description for Token. |
||
699 | </summary> |
||
700 | </member> |
||
701 | <member name="T:IronPython.Compiler.Tokenizer"> |
||
702 | <summary> |
||
703 | IronPython tokenizer |
||
704 | </summary> |
||
705 | </member> |
||
706 | <member name="M:IronPython.Compiler.Tokenizer.#ctor(Microsoft.Scripting.ErrorSink,IronPython.Compiler.PythonCompilerOptions,System.Boolean)"> |
||
707 | <summary> |
||
708 | Used to create tokenizer for hosting API. |
||
709 | </summary> |
||
710 | </member> |
||
711 | <member name="T:IronPython.Compiler.Tokenizer.TokenEqualityComparer"> |
||
712 | <summary> |
||
713 | Equality comparer that can compare strings to our current token w/o creating a new string first. |
||
714 | </summary> |
||
715 | </member> |
||
716 | <member name="P:IronPython.Compiler.Tokenizer.EndContinues"> |
||
717 | <summary> |
||
718 | True if the last characters in the buffer are a backslash followed by a new line indicating |
||
719 | that their is an incompletement statement which needs further input to complete. |
||
720 | </summary> |
||
721 | </member> |
||
722 | <member name="M:IronPython.Compiler.Tokenizer.ReadNewline"> |
||
723 | <summary> |
||
724 | Returns whether the |
||
725 | </summary> |
||
726 | </member> |
||
727 | <member name="M:IronPython.Compiler.Tokenizer.ResizeInternal(System.Char[]@,System.Int32,System.Int32,System.Int32)"> |
||
728 | <summary> |
||
729 | Resizes an array to a speficied new size and copies a portion of the original array into its beginning. |
||
730 | </summary> |
||
731 | </member> |
||
732 | <member name="T:IronPython.Modules._ast.AugLoad"> |
||
733 | <summary> |
||
734 | Not used. |
||
735 | </summary> |
||
736 | </member> |
||
737 | <member name="T:IronPython.Modules._ast.AugStore"> |
||
738 | <summary> |
||
739 | Not used. |
||
740 | </summary> |
||
741 | </member> |
||
742 | <member name="T:IronPython.Modules._ast.Suite"> |
||
743 | <summary> |
||
744 | Not an actual node. We don't create this, but it's here for compatibility. |
||
745 | </summary> |
||
746 | </member> |
||
747 | <member name="M:IronPython.Modules.Builtin.filter(IronPython.Runtime.CodeContext,System.Object,IronPython.Runtime.PythonTuple)"> |
||
748 | <summary> |
||
749 | Specialized version because enumerating tuples by Python's definition |
||
750 | doesn't call __getitem__, but filter does! |
||
751 | </summary> |
||
752 | </member> |
||
753 | <member name="M:IronPython.Modules.Builtin.open(IronPython.Runtime.CodeContext,System.String,System.String,System.Int32)"> |
||
754 | <summary> |
||
755 | Opens a file and returns a new file object. |
||
756 | |||
757 | name -> the name of the file to open. |
||
758 | mode -> the mode to open the file (r for reading, w for writing, a for appending, default is r). |
||
759 | bufsize -> the size of the buffer to be used (<= 0 indicates to use the default size) |
||
760 | </summary> |
||
761 | </member> |
||
762 | <member name="M:IronPython.Modules.Builtin.open(IronPython.Runtime.CodeContext,System.IO.Stream)"> |
||
763 | <summary> |
||
764 | Creates a new Python file object from a .NET stream object. |
||
765 | |||
766 | stream -> the stream to wrap in a file object. |
||
767 | </summary> |
||
768 | </member> |
||
769 | <member name="M:IronPython.Modules.Builtin.range(IronPython.Runtime.CodeContext,System.Object)"> |
||
770 | <summary> |
||
771 | object overload of range - attempts to convert via __int__, and __trunc__ if arg is |
||
772 | an OldInstance |
||
773 | </summary> |
||
774 | </member> |
||
775 | <member name="M:IronPython.Modules.Builtin.range(IronPython.Runtime.CodeContext,System.Object,System.Object,System.Object)"> |
||
776 | <summary> |
||
777 | object overload of range - attempts to convert via __int__, and __trunc__ if arg is |
||
778 | an OldInstance |
||
779 | </summary> |
||
780 | </member> |
||
781 | <member name="M:IronPython.Modules.Builtin.GetRuntimeGeneratedCodeCompilerOptions(IronPython.Runtime.CodeContext,System.Boolean,IronPython.Runtime.CompileFlags)"> |
||
782 | <summary> |
||
783 | Gets the appropriate LanguageContext to be used for code compiled with Python's compile, eval, execfile, etc... |
||
784 | </summary> |
||
785 | </member> |
||
786 | <member name="M:IronPython.Modules.Builtin.GetCompilerInheritance(System.Object)"> |
||
787 | <summary> Returns true if we should inherit our callers context (true division, etc...), false otherwise </summary> |
||
788 | </member> |
||
789 | <member name="M:IronPython.Modules.Builtin.GetCompilerFlags(System.Int32)"> |
||
790 | <summary> Returns the default compiler flags or the flags the user specified. </summary> |
||
791 | </member> |
||
792 | <member name="M:IronPython.Modules.Builtin.GetExecEvalScopeOptional(IronPython.Runtime.CodeContext,IronPython.Runtime.PythonDictionary,System.Object,System.Boolean)"> |
||
793 | <summary> |
||
794 | Gets a scope used for executing new code in optionally replacing the globals and locals dictionaries. |
||
795 | </summary> |
||
796 | </member> |
||
797 | <member name="M:IronPython.Modules.SysModule.callstats"> |
||
798 | <summary> |
||
799 | Returns detailed call statistics. Not implemented in IronPython and always returns None. |
||
800 | </summary> |
||
801 | </member> |
||
802 | <member name="M:IronPython.Modules.SysModule.displayhookImpl(IronPython.Runtime.CodeContext,System.Object)"> |
||
803 | <summary> |
||
804 | Handles output of the expression statement. |
||
805 | Prints the value and sets the __builtin__._ |
||
806 | </summary> |
||
807 | </member> |
||
808 | <member name="T:IronPython.Runtime.Binding.IPythonExpandable"> |
||
809 | <summary> |
||
810 | Interface used to mark objects which contain a dictionary of custom attributes that shadow |
||
811 | their existing attributes in a dynamic fashion. <seealso cref="T:MetaExpandable"/> |
||
812 | </summary> |
||
813 | </member> |
||
814 | <member name="M:IronPython.Runtime.Binding.IPythonExpandable.EnsureCustomAttributes"> |
||
815 | <summary> |
||
816 | Ensures that a non-null IDictionary instance is created for CustomAttributes and |
||
817 | returns it. |
||
818 | </summary> |
||
819 | </member> |
||
820 | <member name="T:IronPython.Runtime.Binding.MetaExpandable`1"> |
||
821 | <summary> |
||
822 | Meta-object which allows IPythonExpandable objects to behave like Python objects in their |
||
823 | ability to dynamically add and remove new or existing custom attributes, generally shadowing |
||
824 | existing built-in members. <seealso cref="T:IPythonExpandable"/> |
||
825 | |||
826 | Getting: Member accesses first consult the object's CustomAttributes dictionary, then fall |
||
827 | through to the underlying object. |
||
828 | |||
829 | Setting: Values can be bound to any member name, shadowing any existing attributes except |
||
830 | public non-PythonHidden fields and properties, which will bypass the dictionary. Thus, |
||
831 | it is possible for SetMember to fail, for example if the property is read-only or of |
||
832 | the wrong type. |
||
833 | |||
834 | Deleting: Any member represented in the dictionary can be deleted, re-exposing the |
||
835 | underlying member if it exists. Any other deletions will fail. |
||
836 | </summary> |
||
837 | </member> |
||
838 | <member name="T:IronPython.Runtime.Binding.IComConvertible"> |
||
839 | <summary> |
||
840 | An interface that is implemented on DynamicMetaObjects. |
||
841 | |||
842 | This allows objects to opt-into custom conversions when calling |
||
843 | COM APIs. The IronPython binders all call this interface before |
||
844 | doing any COM binding. |
||
845 | </summary> |
||
846 | </member> |
||
847 | <member name="T:IronPython.Runtime.Binding.ContextArgBuilder"> |
||
848 | <summary> |
||
849 | ArgBuilder which provides the CodeContext parameter to a method. |
||
850 | </summary> |
||
851 | </member> |
||
852 | <member name="M:IronPython.Runtime.Binding.PythonBinder.MakeReadOnlyMemberError(System.Type,System.String)"> |
||
853 | <summary> |
||
854 | Provides a way for the binder to provide a custom error message when lookup fails. Just |
||
855 | doing this for the time being until we get a more robust error return mechanism. |
||
856 | </summary> |
||
857 | </member> |
||
858 | <member name="M:IronPython.Runtime.Binding.PythonBinder.MakeUndeletableMemberError(System.Type,System.String)"> |
||
859 | <summary> |
||
860 | Provides a way for the binder to provide a custom error message when lookup fails. Just |
||
861 | doing this for the time being until we get a more robust error return mechanism. |
||
862 | </summary> |
||
863 | </member> |
||
864 | <member name="M:IronPython.Runtime.Binding.PythonBinder.GetBinder(IronPython.Runtime.CodeContext)"> |
||
865 | <summary> |
||
866 | Gets the PythonBinder associated with tihs CodeContext |
||
867 | </summary> |
||
868 | </member> |
||
869 | <member name="M:IronPython.Runtime.Binding.PythonBinder.TryLookupSlot(IronPython.Runtime.CodeContext,IronPython.Runtime.Types.PythonType,System.String,IronPython.Runtime.Types.PythonTypeSlot@)"> |
||
870 | <summary> |
||
871 | Performs .NET member resolution. This looks within the given type and also |
||
872 | includes any extension members. Base classes and their extension members are |
||
873 | not searched. |
||
874 | </summary> |
||
875 | </member> |
||
876 | <member name="M:IronPython.Runtime.Binding.PythonBinder.TryLookupProtectedSlot(IronPython.Runtime.CodeContext,IronPython.Runtime.Types.PythonType,System.String,IronPython.Runtime.Types.PythonTypeSlot@)"> |
||
877 | <summary> |
||
878 | Performs .NET member resolution. This looks within the given type and also |
||
879 | includes any extension members. Base classes and their extension members are |
||
880 | not searched. |
||
881 | |||
882 | This version allows PythonType's for protected member resolution. It shouldn't |
||
883 | be called externally for other purposes. |
||
884 | </summary> |
||
885 | </member> |
||
886 | <member name="M:IronPython.Runtime.Binding.PythonBinder.TryResolveSlot(IronPython.Runtime.CodeContext,IronPython.Runtime.Types.PythonType,IronPython.Runtime.Types.PythonType,System.String,IronPython.Runtime.Types.PythonTypeSlot@)"> |
||
887 | <summary> |
||
888 | Performs .NET member resolution. This looks the type and any base types |
||
889 | for members. It also searches for extension members in the type and any base types. |
||
890 | </summary> |
||
891 | </member> |
||
892 | <member name="M:IronPython.Runtime.Binding.PythonBinder.LookupMembers(IronPython.Runtime.CodeContext,IronPython.Runtime.Types.PythonType,IronPython.Runtime.PythonDictionary)"> |
||
893 | <summary> |
||
894 | Gets the member names which are defined in this type and any extension members. |
||
895 | |||
896 | This search does not include members in any subtypes or their extension members. |
||
897 | </summary> |
||
898 | </member> |
||
899 | <member name="M:IronPython.Runtime.Binding.PythonBinder.ResolveMemberNames(IronPython.Runtime.CodeContext,IronPython.Runtime.Types.PythonType,IronPython.Runtime.Types.PythonType,System.Collections.Generic.Dictionary{System.String,System.String})"> |
||
900 | <summary> |
||
901 | Gets the member names which are defined in the type and any subtypes. |
||
902 | |||
903 | This search includes members in the type and any subtypes as well as extension |
||
904 | types of the type and its subtypes. |
||
905 | </summary> |
||
906 | </member> |
||
907 | <member name="M:IronPython.Runtime.Binding.PythonBinder.MakeExtensionTypes"> |
||
908 | <summary> |
||
909 | Creates the initial table of extension types. These are standard extension that we apply |
||
910 | to well known .NET types to make working with them better. Being added to this table does |
||
911 | not make a type a Python type though so that it's members are generally accessible w/o an |
||
912 | import clr and their type is not re-named. |
||
913 | </summary> |
||
914 | </member> |
||
915 | <member name="M:IronPython.Runtime.Binding.PythonBinder.MakeSystemTypes"> |
||
916 | <summary> |
||
917 | Creates a table of standard .NET types which are also standard Python types. These types have a standard |
||
918 | set of extension types which are shared between all runtimes. |
||
919 | </summary> |
||
920 | </member> |
||
921 | <member name="M:IronPython.Runtime.Binding.PythonBinder.DomainManager_AssemblyLoaded(System.Object,Microsoft.Scripting.AssemblyLoadedEventArgs)"> |
||
922 | <summary> |
||
923 | Event handler for when our domain manager has an assembly loaded by the user hosting the script |
||
924 | runtime. Here we can gather any information regarding extension methods. |
||
925 | |||
926 | Currently DLR-style extension methods become immediately available w/o an explicit import step. |
||
927 | </summary> |
||
928 | </member> |
||
929 | <member name="T:IronPython.Runtime.Binding.PythonBinder.SlotCache"> |
||
930 | <summary> |
||
931 | Provides a cache from Type/name -> PythonTypeSlot and also allows access to |
||
932 | all members (and remembering whether all members are cached). |
||
933 | </summary> |
||
934 | </member> |
||
935 | <member name="M:IronPython.Runtime.Binding.PythonBinder.SlotCache.CacheSlot(System.Type,System.Boolean,System.String,IronPython.Runtime.Types.PythonTypeSlot,Microsoft.Scripting.Actions.MemberGroup)"> |
||
936 | <summary> |
||
937 | Writes to a cache the result of a type lookup. Null values are allowed for the slots and they indicate that |
||
938 | the value does not exist. |
||
939 | </summary> |
||
940 | </member> |
||
941 | <member name="M:IronPython.Runtime.Binding.PythonBinder.SlotCache.TryGetCachedSlot(System.Type,System.Boolean,System.String,IronPython.Runtime.Types.PythonTypeSlot@)"> |
||
942 | <summary> |
||
943 | Looks up a cached type slot for the specified member and type. This may return true and return a null slot - that indicates |
||
944 | that a cached result for a member which doesn't exist has been stored. Otherwise it returns true if a slot is found or |
||
945 | false if it is not. |
||
946 | </summary> |
||
947 | </member> |
||
948 | <member name="M:IronPython.Runtime.Binding.PythonBinder.SlotCache.TryGetCachedMember(System.Type,System.String,System.Boolean,Microsoft.Scripting.Actions.MemberGroup@)"> |
||
949 | <summary> |
||
950 | Looks up a cached member group for the specified member and type. This may return true and return a null group - that indicates |
||
951 | that a cached result for a member which doesn't exist has been stored. Otherwise it returns true if a group is found or |
||
952 | false if it is not. |
||
953 | </summary> |
||
954 | </member> |
||
955 | <member name="M:IronPython.Runtime.Binding.PythonBinder.SlotCache.IsFullyCached(System.Type,System.Boolean)"> |
||
956 | <summary> |
||
957 | Checks to see if all members have been populated for the provided type. |
||
958 | </summary> |
||
959 | </member> |
||
960 | <member name="M:IronPython.Runtime.Binding.PythonBinder.SlotCache.CacheAll(System.Type,System.Boolean,System.Collections.Generic.Dictionary{System.String,System.Collections.Generic.KeyValuePair{IronPython.Runtime.Types.PythonTypeSlot,Microsoft.Scripting.Actions.MemberGroup}})"> |
||
961 | <summary> |
||
962 | Populates the type with all the provided members and marks the type |
||
963 | as being fully cached. |
||
964 | |||
965 | The dictionary is used for the internal storage and should not be modified after |
||
966 | providing it to the cache. |
||
967 | </summary> |
||
968 | </member> |
||
969 | <member name="M:IronPython.Runtime.Binding.PythonBinder.SlotCache.GetAllMembers(System.Type,System.Boolean)"> |
||
970 | <summary> |
||
971 | Returns an enumerable object which provides access to all the members of the provided type. |
||
972 | |||
973 | The caller must check that the type is fully cached and populate the cache if it isn't before |
||
974 | calling this method. |
||
975 | </summary> |
||
976 | </member> |
||
977 | <member name="T:IronPython.Runtime.Binding.FastGetBase"> |
||
978 | <summary> |
||
979 | Base class for all of our fast get delegates. This holds onto the |
||
980 | delegate and provides the Update function. |
||
981 | </summary> |
||
982 | </member> |
||
983 | <member name="M:IronPython.Runtime.Binding.FastGetBase.Update(System.Runtime.CompilerServices.CallSite,System.Object,IronPython.Runtime.CodeContext)"> |
||
984 | <summary> |
||
985 | Updates the call site when the current rule is no longer applicable. |
||
986 | </summary> |
||
987 | </member> |
||
988 | <member name="T:IronPython.Runtime.Binding.FastSetBase`1"> |
||
989 | <summary> |
||
990 | Base class for all of our fast set delegates. This holds onto the |
||
991 | delegate and provides the Update and Optimize functions. |
||
992 | </summary> |
||
993 | </member> |
||
994 | <member name="M:IronPython.Runtime.Binding.FastSetBase`1.Update(System.Runtime.CompilerServices.CallSite,System.Object,`0)"> |
||
995 | <summary> |
||
996 | Updates the call site when the current rule is no longer applicable. |
||
997 | </summary> |
||
998 | </member> |
||
999 | <member name="T:IronPython.Runtime.Binding.BindingWarnings"> |
||
1000 | <summary> |
||
1001 | Provides support for emitting warnings when built in methods are invoked at runtime. |
||
1002 | </summary> |
||
1003 | </member> |
||
1004 | <member name="M:IronPython.Runtime.Binding.Binders.Convert(System.Linq.Expressions.Expression,IronPython.Runtime.PythonContext,System.Type,Microsoft.Scripting.Actions.ConversionResultKind,System.Linq.Expressions.Expression)"> |
||
1005 | <summary> |
||
1006 | Backwards compatible Convert for the old sites that need to flow CodeContext |
||
1007 | </summary> |
||
1008 | </member> |
||
1009 | <member name="M:IronPython.Runtime.Binding.Binders.InvokeSplat(IronPython.Runtime.PythonContext)"> |
||
1010 | <summary> |
||
1011 | Creates a new InvokeBinder which will call with positional splatting. |
||
1012 | |||
1013 | The signature of the target site should be object(function), object[], retType |
||
1014 | </summary> |
||
1015 | <param name="state"></param> |
||
1016 | <returns></returns> |
||
1017 | </member> |
||
1018 | <member name="M:IronPython.Runtime.Binding.Binders.InvokeKeywords(IronPython.Runtime.PythonContext)"> |
||
1019 | <summary> |
||
1020 | Creates a new InvokeBinder which will call with positional and keyword splatting. |
||
1021 | |||
1022 | The signature of the target site should be object(function), object[], dictionary, retType |
||
1023 | </summary> |
||
1024 | </member> |
||
1025 | <member name="T:IronPython.Runtime.Binding.CompatibilityInvokeBinder"> |
||
1026 | <summary> |
||
1027 | Fallback action for performing an invoke from Python. We translate the |
||
1028 | CallSignature which supports splatting position and keyword args into |
||
1029 | their expanded form. |
||
1030 | </summary> |
||
1031 | </member> |
||
1032 | <member name="T:IronPython.Runtime.Binding.CreateFallback"> |
||
1033 | <summary> |
||
1034 | Fallback action for performing a new() on a foreign IDynamicMetaObjectProvider. used |
||
1035 | when call falls back. |
||
1036 | </summary> |
||
1037 | </member> |
||
1038 | <member name="M:IronPython.Runtime.Binding.PythonGetMemberBinder.Bind(System.Dynamic.DynamicMetaObject,System.Dynamic.DynamicMetaObject[])"> |
||
1039 | <summary> |
||
1040 | Python's Invoke is a non-standard action. Here we first try to bind through a Python |
||
1041 | internal interface (IPythonInvokable) which supports CallSigantures. If that fails |
||
1042 | and we have an IDO then we translate to the DLR protocol through a nested dynamic site - |
||
1043 | this includes unsplatting any keyword / position arguments. Finally if it's just a plain |
||
1044 | old .NET type we use the default binder which supports CallSignatures. |
||
1045 | </summary> |
||
1046 | </member> |
||
1047 | <member name="T:IronPython.Runtime.Binding.IPythonInvokable"> |
||
1048 | <summary> |
||
1049 | Interface used to mark objects as being invokable from Python. These objects support |
||
1050 | calling with splatted positional and keyword arguments. |
||
1051 | </summary> |
||
1052 | </member> |
||
1053 | <member name="P:IronPython.Runtime.Binding.IPythonSite.Context"> |
||
1054 | <summary> |
||
1055 | Gets the PythonContext which the CallSiteBinder is associated with. |
||
1056 | </summary> |
||
1057 | </member> |
||
1058 | <member name="T:IronPython.Runtime.Binding.PythonProtocol"> |
||
1059 | <summary> |
||
1060 | Provides binding logic which is implemented to follow various Python protocols. This includes |
||
1061 | things such as calling __call__ to perform calls, calling __nonzero__/__len__ to convert to |
||
1062 | bool, calling __add__/__radd__ to do addition, etc... |
||
1063 | |||
1064 | This logic gets shared between both the IDynamicMetaObjectProvider implementation for Python objects as well |
||
1065 | as the Python sites. This ensures the logic we follow for our builtin types and user defined |
||
1066 | types is identical and properly conforming to the various protocols. |
||
1067 | </summary> |
||
1068 | </member> |
||
1069 | <member name="M:IronPython.Runtime.Binding.PythonProtocol.ConvertToBool(System.Dynamic.DynamicMetaObjectBinder,System.Dynamic.DynamicMetaObject)"> |
||
1070 | <summary> |
||
1071 | Gets a MetaObject which converts the provided object to a bool using __nonzero__ or __len__ |
||
1072 | protocol methods. This code is shared between both our fallback for a site and our MetaObject |
||
1073 | for user defined objects. |
||
1074 | </summary> |
||
1075 | </member> |
||
1076 | <member name="M:IronPython.Runtime.Binding.PythonProtocol.GetConvertByLengthBody(IronPython.Runtime.PythonContext,System.Linq.Expressions.Expression)"> |
||
1077 | <summary> |
||
1078 | Used for conversions to bool |
||
1079 | </summary> |
||
1080 | </member> |
||
1081 | <member name="M:IronPython.Runtime.Binding.PythonProtocol.MakeContainsOperation(IronPython.Runtime.Binding.PythonOperationBinder,System.Dynamic.DynamicMetaObject[])"> |
||
1082 | <summary> |
||
1083 | Creates a rule for the contains operator. This is exposed via "x in y" in |
||
1084 | IronPython. It is implemented by calling the __contains__ method on x and |
||
1085 | passing in y. |
||
1086 | |||
1087 | If a type doesn't define __contains__ but does define __getitem__ then __getitem__ is |
||
1088 | called repeatedly in order to see if the object is there. |
||
1089 | |||
1090 | For normal .NET enumerables we'll walk the iterator and see if it's present. |
||
1091 | </summary> |
||
1092 | </member> |
||
1093 | <member name="T:IronPython.Runtime.Binding.PythonProtocol.ComparisonHelper"> |
||
1094 | <summary> |
||
1095 | Delegate for finishing the comparison. This takes in a condition and a return value and needs to update the ConditionalBuilder |
||
1096 | with the appropriate resulting body. The condition may be null. |
||
1097 | </summary> |
||
1098 | </member> |
||
1099 | <member name="M:IronPython.Runtime.Binding.PythonProtocol.MakeOneCompareGeneric(IronPython.Runtime.Binding.SlotOrFunction,System.Boolean,System.Dynamic.DynamicMetaObject[],IronPython.Runtime.Binding.PythonProtocol.ComparisonHelper,IronPython.Runtime.Binding.ConditionalBuilder,System.Type)"> |
||
1100 | <summary> |
||
1101 | Helper to handle a comparison operator call. Checks to see if the call can |
||
1102 | return NotImplemented and allows the caller to modify the expression that |
||
1103 | is ultimately returned (e.g. to turn __cmp__ into a bool after a comparison) |
||
1104 | </summary> |
||
1105 | </member> |
||
1106 | <member name="M:IronPython.Runtime.Binding.PythonProtocol.DoCoerce(IronPython.Runtime.PythonContext,IronPython.Runtime.Binding.ConditionalBuilder,IronPython.Runtime.Binding.PythonOperationKind,System.Dynamic.DynamicMetaObject[],System.Boolean,System.Func{System.Linq.Expressions.Expression,System.Linq.Expressions.Expression})"> |
||
1107 | <summary> |
||
1108 | calls __coerce__ for old-style classes and performs the operation if the coercion is successful. |
||
1109 | </summary> |
||
1110 | </member> |
||
1111 | <member name="M:IronPython.Runtime.Binding.PythonProtocol.MakeSortComparisonRule(System.Dynamic.DynamicMetaObject[],System.Dynamic.DynamicMetaObjectBinder,IronPython.Runtime.Binding.PythonOperationKind)"> |
||
1112 | <summary> |
||
1113 | Makes the comparison rule which returns an int (-1, 0, 1). TODO: Better name? |
||
1114 | </summary> |
||
1115 | </member> |
||
1116 | <member name="M:IronPython.Runtime.Binding.PythonProtocol.MakeIndexerOperation(System.Dynamic.DynamicMetaObjectBinder,IronPython.Runtime.Binding.PythonIndexType,System.Dynamic.DynamicMetaObject[],System.Dynamic.DynamicMetaObject)"> |
||
1117 | <summary> |
||
1118 | Python has three protocols for slicing: |
||
1119 | Simple Slicing x[i:j] |
||
1120 | Extended slicing x[i,j,k,...] |
||
1121 | Long Slice x[start:stop:step] |
||
1122 | |||
1123 | The first maps to __*slice__ (get, set, and del). |
||
1124 | This takes indexes - i, j - which specify the range of elements to be |
||
1125 | returned. In the slice variants both i, j must be numeric data types. |
||
1126 | The 2nd and 3rd are both __*item__. |
||
1127 | This receives a single index which is either a Tuple or a Slice object (which |
||
1128 | encapsulates the start, stop, and step values) |
||
1129 | |||
1130 | This is in addition to a simple indexing x[y]. |
||
1131 | |||
1132 | For simple slicing and long slicing Python generates Operators.*Slice. For |
||
1133 | the extended slicing and simple indexing Python generates a Operators.*Item |
||
1134 | action. |
||
1135 | |||
1136 | Extended slicing maps to the normal .NET multi-parameter input. |
||
1137 | |||
1138 | So our job here is to first determine if we're to call a __*slice__ method or |
||
1139 | a __*item__ method. |
||
1140 | </summary> |
||
1141 | </member> |
||
1142 | <member name="M:IronPython.Runtime.Binding.PythonProtocol.ConvertArgs(System.Dynamic.DynamicMetaObject[])"> |
||
1143 | <summary> |
||
1144 | Helper to convert all of the arguments to their known types. |
||
1145 | </summary> |
||
1146 | </member> |
||
1147 | <member name="M:IronPython.Runtime.Binding.PythonProtocol.GetItemSliceArguments(IronPython.Runtime.PythonContext,IronPython.Runtime.Binding.PythonIndexType,System.Dynamic.DynamicMetaObject[])"> |
||
1148 | <summary> |
||
1149 | Gets the arguments that need to be provided to __*item__ when we need to pass a slice object. |
||
1150 | </summary> |
||
1151 | </member> |
||
1152 | <member name="T:IronPython.Runtime.Binding.PythonProtocol.Callable"> |
||
1153 | <summary> |
||
1154 | Base class for calling indexers. We have two subclasses that target built-in functions and user defined callable objects. |
||
1155 | |||
1156 | The Callable objects get handed off to ItemBuilder's which then call them with the appropriate arguments. |
||
1157 | </summary> |
||
1158 | </member> |
||
1159 | <member name="M:IronPython.Runtime.Binding.PythonProtocol.Callable.MakeCallable(IronPython.Runtime.PythonContext,IronPython.Runtime.Binding.PythonIndexType,IronPython.Runtime.Types.BuiltinFunction,IronPython.Runtime.Types.PythonTypeSlot)"> |
||
1160 | <summary> |
||
1161 | Creates a new CallableObject. If BuiltinFunction is available we'll create a BuiltinCallable otherwise |
||
1162 | we create a SlotCallable. |
||
1163 | </summary> |
||
1164 | </member> |
||
1165 | <member name="M:IronPython.Runtime.Binding.PythonProtocol.Callable.GetTupleArguments(System.Dynamic.DynamicMetaObject[])"> |
||
1166 | <summary> |
||
1167 | Gets the arguments in a form that should be used for extended slicing. |
||
1168 | |||
1169 | Python defines that multiple tuple arguments received (x[1,2,3]) get |
||
1170 | packed into a Tuple. For most .NET methods we just want to expand |
||
1171 | this into the multiple index arguments. For slots and old-instances |
||
1172 | we want to pass in the tuple |
||
1173 | </summary> |
||
1174 | </member> |
||
1175 | <member name="M:IronPython.Runtime.Binding.PythonProtocol.Callable.CompleteRuleTarget(System.Dynamic.DynamicMetaObjectBinder,System.Dynamic.DynamicMetaObject[],System.Func{System.Dynamic.DynamicMetaObject})"> |
||
1176 | <summary> |
||
1177 | Adds the target of the call to the rule. |
||
1178 | </summary> |
||
1179 | </member> |
||
1180 | <member name="T:IronPython.Runtime.Binding.PythonProtocol.BuiltinCallable"> |
||
1181 | <summary> |
||
1182 | Subclass of Callable for a built-in function. This calls a .NET method performing |
||
1183 | the appropriate bindings. |
||
1184 | </summary> |
||
1185 | </member> |
||
1186 | <member name="T:IronPython.Runtime.Binding.PythonProtocol.SlotCallable"> |
||
1187 | <summary> |
||
1188 | Callable to a user-defined callable object. This could be a Python function, |
||
1189 | a class defining __call__, etc... |
||
1190 | </summary> |
||
1191 | </member> |
||
1192 | <member name="T:IronPython.Runtime.Binding.PythonProtocol.IndexBuilder"> |
||
1193 | <summary> |
||
1194 | Base class for building a __*item__ or __*slice__ call. |
||
1195 | </summary> |
||
1196 | </member> |
||
1197 | <member name="T:IronPython.Runtime.Binding.PythonProtocol.SliceBuilder"> |
||
1198 | <summary> |
||
1199 | Derived IndexBuilder for calling __*slice__ methods |
||
1200 | </summary> |
||
1201 | </member> |
||
1202 | <member name="T:IronPython.Runtime.Binding.PythonProtocol.ItemBuilder"> |
||
1203 | <summary> |
||
1204 | Derived IndexBuilder for calling __*item__ methods. |
||
1205 | </summary> |
||
1206 | </member> |
||
1207 | <member name="M:IronPython.Runtime.Binding.PythonProtocol.GetIndexOperators(IronPython.Runtime.Binding.PythonIndexType,System.String@,System.String@,System.Int32@)"> |
||
1208 | <summary> |
||
1209 | Helper to get the symbols for __*item__ and __*slice__ based upon if we're doing |
||
1210 | a get/set/delete and the minimum number of arguments required for each of those. |
||
1211 | </summary> |
||
1212 | </member> |
||
1213 | <member name="M:IronPython.Runtime.Binding.PythonProtocol.ShouldCoerce(IronPython.Runtime.PythonContext,IronPython.Runtime.Binding.PythonOperationKind,System.Dynamic.DynamicMetaObject,System.Dynamic.DynamicMetaObject,System.Boolean)"> |
||
1214 | <summary> |
||
1215 | Checks if a coercion check should be performed. We perform coercion under the following |
||
1216 | situations: |
||
1217 | 1. Old instances performing a binary operator (excluding rich comparisons) |
||
1218 | 2. User-defined new instances calling __cmp__ but only if we wouldn't dispatch to a built-in __coerce__ on the parent type |
||
1219 | |||
1220 | This matches the behavior of CPython. |
||
1221 | </summary> |
||
1222 | <returns></returns> |
||
1223 | </member> |
||
1224 | <member name="M:IronPython.Runtime.Binding.PythonProtocol.TypeError(System.Dynamic.DynamicMetaObjectBinder,System.String,System.Dynamic.DynamicMetaObject[])"> |
||
1225 | <summary> |
||
1226 | Produces an error message for the provided message and type names. The error message should contain |
||
1227 | string formatting characters ({0}, {1}, etc...) for each of the type names. |
||
1228 | </summary> |
||
1229 | </member> |
||
1230 | <member name="T:IronPython.Runtime.Binding.BindingHelpers"> |
||
1231 | <summary> |
||
1232 | Common helpers used by the various binding logic. |
||
1233 | </summary> |
||
1234 | </member> |
||
1235 | <member name="M:IronPython.Runtime.Binding.BindingHelpers.TryGetStaticFunction(IronPython.Runtime.PythonContext,System.String,System.Dynamic.DynamicMetaObject,IronPython.Runtime.Types.BuiltinFunction@)"> |
||
1236 | <summary> |
||
1237 | Tries to get the BuiltinFunction for the given name on the type of the provided MetaObject. |
||
1238 | |||
1239 | Succeeds if the MetaObject is a BuiltinFunction or BuiltinMethodDescriptor. |
||
1240 | </summary> |
||
1241 | </member> |
||
1242 | <member name="M:IronPython.Runtime.Binding.BindingHelpers.GetCallSignature(System.Dynamic.DynamicMetaObjectBinder)"> |
||
1243 | <summary> |
||
1244 | Gets the best CallSignature from a MetaAction. |
||
1245 | |||
1246 | The MetaAction should be either a Python InvokeBinder, or a DLR InvokeAction or |
||
1247 | CreateAction. For Python we can use a full-fidelity |
||
1248 | </summary> |
||
1249 | <param name="action"></param> |
||
1250 | <returns></returns> |
||
1251 | </member> |
||
1252 | <member name="M:IronPython.Runtime.Binding.BindingHelpers.GenericInvokeMember(System.Dynamic.InvokeMemberBinder,IronPython.Runtime.Binding.ValidationInfo,System.Dynamic.DynamicMetaObject,System.Dynamic.DynamicMetaObject[])"> |
||
1253 | <summary> |
||
1254 | Transforms an invoke member into a Python GetMember/Invoke. The caller should |
||
1255 | verify that the given attribute is not resolved against a normal .NET class |
||
1256 | before calling this. If it is a normal .NET member then a fallback InvokeMember |
||
1257 | is preferred. |
||
1258 | </summary> |
||
1259 | </member> |
||
1260 | <member name="M:IronPython.Runtime.Binding.BindingHelpers.IsSubclassOf(System.Dynamic.DynamicMetaObject,System.Dynamic.DynamicMetaObject)"> |
||
1261 | <summary> |
||
1262 | Determines if the type associated with the first MetaObject is a subclass of the |
||
1263 | type associated with the second MetaObject. |
||
1264 | </summary> |
||
1265 | </member> |
||
1266 | <member name="M:IronPython.Runtime.Binding.BindingHelpers.AddRecursionCheck(IronPython.Runtime.PythonContext,System.Linq.Expressions.Expression)"> |
||
1267 | <summary> |
||
1268 | Adds a try/finally which enforces recursion limits around the target method. |
||
1269 | </summary> |
||
1270 | </member> |
||
1271 | <member name="M:IronPython.Runtime.Binding.BindingHelpers.InvokeFallback(System.Dynamic.DynamicMetaObjectBinder,System.Linq.Expressions.Expression,System.Dynamic.DynamicMetaObject,System.Dynamic.DynamicMetaObject[])"> |
||
1272 | <summary> |
||
1273 | Helper to do fallback for Invoke's so we can handle both StandardAction and Python's |
||
1274 | InvokeBinder. |
||
1275 | </summary> |
||
1276 | </member> |
||
1277 | <member name="M:IronPython.Runtime.Binding.BindingHelpers.GetComArguments(System.Dynamic.DynamicMetaObject[])"> |
||
1278 | <summary> |
||
1279 | Converts arguments into a form which can be used for COM interop. |
||
1280 | |||
1281 | The argument is only converted if we have an IronPython specific |
||
1282 | conversion when calling COM methods. |
||
1283 | </summary> |
||
1284 | </member> |
||
1285 | <member name="M:IronPython.Runtime.Binding.BindingHelpers.GetComArgument(System.Dynamic.DynamicMetaObject)"> |
||
1286 | <summary> |
||
1287 | Converts a single argument into a form which can be used for COM |
||
1288 | interop. |
||
1289 | |||
1290 | The argument is only converted if we have an IronPython specific |
||
1291 | conversion when calling COM methods. |
||
1292 | </summary> |
||
1293 | </member> |
||
1294 | <member name="T:IronPython.Runtime.Binding.ConditionalBuilder"> |
||
1295 | <summary> |
||
1296 | Builds up a series of conditionals when the False clause isn't yet known. We can |
||
1297 | keep appending conditions and if true's. Each subsequent true branch becomes the |
||
1298 | false branch of the previous condition and body. Finally a non-conditional terminating |
||
1299 | branch must be added. |
||
1300 | </summary> |
||
1301 | </member> |
||
1302 | <member name="M:IronPython.Runtime.Binding.ConditionalBuilder.AddCondition(System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)"> |
||
1303 | <summary> |
||
1304 | Adds a new conditional and body. The first call this becomes the top-level |
||
1305 | conditional, subsequent calls will have it added as false statement of the |
||
1306 | previous conditional. |
||
1307 | </summary> |
||
1308 | </member> |
||
1309 | <member name="M:IronPython.Runtime.Binding.ConditionalBuilder.ExtendLastCondition(System.Linq.Expressions.Expression)"> |
||
1310 | <summary> |
||
1311 | If present, converts the finish condition body be a normal conditional body. |
||
1312 | The builder instance will become unfinished again. |
||
1313 | |||
1314 | If no finish condition body is available, this extends the last condition check |
||
1315 | with the new condition. |
||
1316 | </summary> |
||
1317 | </member> |
||
1318 | <member name="M:IronPython.Runtime.Binding.ConditionalBuilder.FinishCondition(System.Linq.Expressions.Expression)"> |
||
1319 | <summary> |
||
1320 | Adds the non-conditional terminating node. |
||
1321 | </summary> |
||
1322 | </member> |
||
1323 | <member name="P:IronPython.Runtime.Binding.ConditionalBuilder.NoConditions"> |
||
1324 | <summary> |
||
1325 | Returns true if no conditions have been added |
||
1326 | </summary> |
||
1327 | </member> |
||
1328 | <member name="P:IronPython.Runtime.Binding.ConditionalBuilder.IsFinal"> |
||
1329 | <summary> |
||
1330 | Returns true if a final, non-conditional, body has been added. |
||
1331 | </summary> |
||
1332 | </member> |
||
1333 | <member name="M:IronPython.Runtime.Binding.ConditionalBuilder.GetMetaObject(System.Dynamic.DynamicMetaObject[])"> |
||
1334 | <summary> |
||
1335 | Gets the resulting meta object for the full body. FinishCondition |
||
1336 | must have been called. |
||
1337 | </summary> |
||
1338 | </member> |
||
1339 | <member name="M:IronPython.Runtime.Binding.ConditionalBuilder.AddVariable(System.Linq.Expressions.ParameterExpression)"> |
||
1340 | <summary> |
||
1341 | Adds a variable which will be scoped at the level of the final expression. |
||
1342 | </summary> |
||
1343 | </member> |
||
1344 | <member name="M:IronPython.Runtime.Binding.MetaUserObject.GetConversionFailedReturnValue(IronPython.Runtime.Binding.PythonConversionBinder,System.Dynamic.DynamicMetaObject)"> |
||
1345 | <summary> |
||
1346 | Various helpers related to calling Python __*__ conversion methods |
||
1347 | </summary> |
||
1348 | </member> |
||
1349 | <member name="M:IronPython.Runtime.Binding.MetaUserObject.Fallback(System.Dynamic.DynamicMetaObjectBinder,System.Dynamic.DynamicMetaObject)"> |
||
1350 | <summary> |
||
1351 | Helper for falling back - if we have a base object fallback to it first (which can |
||
1352 | then fallback to the calling site), otherwise fallback to the calling site. |
||
1353 | </summary> |
||
1354 | </member> |
||
1355 | <member name="M:IronPython.Runtime.Binding.MetaUserObject.Fallback(System.Dynamic.SetMemberBinder,System.Dynamic.DynamicMetaObject)"> |
||
1356 | <summary> |
||
1357 | Helper for falling back - if we have a base object fallback to it first (which can |
||
1358 | then fallback to the calling site), otherwise fallback to the calling site. |
||
1359 | </summary> |
||
1360 | </member> |
||
1361 | <member name="T:IronPython.Runtime.Binding.MetaUserObject.GetOrInvokeBinderHelper`1"> |
||
1362 | <summary> |
||
1363 | Provides the lookup logic for resolving a Python object. Subclasses |
||
1364 | provide the actual logic for producing the binding result. Currently |
||
1365 | there are two forms of the binding result: one is the DynamicMetaObject |
||
1366 | form used for non-optimized bindings. The other is the Func of CallSite, |
||
1367 | object, CodeContext, object form which is used for fast binding and |
||
1368 | pre-compiled rules. |
||
1369 | </summary> |
||
1370 | </member> |
||
1371 | <member name="T:IronPython.Runtime.Binding.MetaUserObject.MetaGetBinderHelper"> |
||
1372 | <summary> |
||
1373 | GetBinder which produces a DynamicMetaObject. This binder always |
||
1374 | successfully produces a DynamicMetaObject which can perform the requested get. |
||
1375 | </summary> |
||
1376 | </member> |
||
1377 | <member name="M:IronPython.Runtime.Binding.MetaUserObject.MetaGetBinderHelper.MakeGetAttributeRule(IronPython.Runtime.Binding.MetaUserObject.GetBindingInfo,IronPython.Runtime.Types.IPythonObject,IronPython.Runtime.Types.PythonTypeSlot,System.Dynamic.DynamicMetaObject)"> |
||
1378 | <summary> |
||
1379 | Makes a rule which calls a user-defined __getattribute__ function and falls back to __getattr__ if that |
||
1380 | raises an AttributeError. |
||
1381 | |||
1382 | slot is the __getattribute__ method to be called. |
||
1383 | </summary> |
||
1384 | </member> |
||
1385 | <member name="M:IronPython.Runtime.Binding.MetaUserObject.MetaGetBinderHelper.MakeOldStyleAccess"> |
||
1386 | <summary> |
||
1387 | Checks a range of the MRO to perform old-style class lookups if any old-style classes |
||
1388 | are present. We will call this twice to produce a search before a slot and after |
||
1389 | a slot. |
||
1390 | </summary> |
||
1391 | </member> |
||
1392 | <member name="M:IronPython.Runtime.Binding.MetaUserObject.TryGetGetAttribute(IronPython.Runtime.CodeContext,IronPython.Runtime.Types.PythonType,IronPython.Runtime.Types.PythonTypeSlot@)"> |
||
1393 | <summary> |
||
1394 | Checks to see if this type has __getattribute__ that overrides all other attribute lookup. |
||
1395 | |||
1396 | This is more complex then it needs to be. The problem is that when we have a |
||
1397 | mixed new-style/old-style class we have a weird __getattribute__ defined. When |
||
1398 | we always dispatch through rules instead of PythonTypes it should be easy to remove |
||
1399 | this. |
||
1400 | </summary> |
||
1401 | </member> |
||
1402 | <member name="M:IronPython.Runtime.Binding.MetaUserObject.MetaSetBinderHelper.FallbackSetError(System.Dynamic.SetMemberBinder,System.Dynamic.DynamicMetaObject)"> |
||
1403 | <summary> |
||
1404 | Helper for falling back - if we have a base object fallback to it first (which can |
||
1405 | then fallback to the calling site), otherwise fallback to the calling site. |
||
1406 | </summary> |
||
1407 | </member> |
||
1408 | <member name="M:IronPython.Runtime.Binding.MetaUserObject.FindSlot(IronPython.Runtime.CodeContext,System.String,IronPython.Runtime.Types.IPythonObject,System.Boolean@,System.Boolean@,System.Boolean@)"> |
||
1409 | <summary> |
||
1410 | Looks up the associated PythonTypeSlot from the object. Indicates if the result |
||
1411 | came from a standard .NET type in which case we will fallback to the sites binder. |
||
1412 | </summary> |
||
1413 | </member> |
||
1414 | <member name="M:IronPython.Runtime.Binding.MetaUserObject.FallbackGetError(System.Dynamic.DynamicMetaObjectBinder,System.Dynamic.DynamicMetaObject)"> |
||
1415 | <summary> |
||
1416 | Helper for falling back - if we have a base object fallback to it first (which can |
||
1417 | then fallback to the calling site), otherwise fallback to the calling site. |
||
1418 | </summary> |
||
1419 | </member> |
||
1420 | <member name="M:IronPython.Runtime.Binding.MetaUserObject.FallbackDeleteError(System.Dynamic.DeleteMemberBinder,System.Dynamic.DynamicMetaObject[])"> |
||
1421 | <summary> |
||
1422 | Helper for falling back - if we have a base object fallback to it first (which can |
||
1423 | then fallback to the calling site), otherwise fallback to the calling site. |
||
1424 | </summary> |
||
1425 | </member> |
||
1426 | <member name="T:IronPython.Runtime.Binding.PythonOperationKind"> |
||
1427 | <summary> |
||
1428 | Custom dynamic site kinds for simple sites that just take a fixed set of parameters. |
||
1429 | </summary> |
||
1430 | </member> |
||
1431 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.Documentation"> |
||
1432 | <summary> |
||
1433 | Unary operator. |
||
1434 | |||
1435 | Gets various documentation about the object returned as a string |
||
1436 | </summary> |
||
1437 | </member> |
||
1438 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.CallSignatures"> |
||
1439 | <summary> |
||
1440 | Unary operator. |
||
1441 | |||
1442 | Gets information about the type of parameters, returned as a string. |
||
1443 | </summary> |
||
1444 | </member> |
||
1445 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.IsCallable"> |
||
1446 | <summary> |
||
1447 | Unary operator. |
||
1448 | |||
1449 | Checks whether the object is callable or not, returns true if it is. |
||
1450 | </summary> |
||
1451 | </member> |
||
1452 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.Contains"> |
||
1453 | <summary> |
||
1454 | Binary operator. |
||
1455 | |||
1456 | Checks to see if the instance contains another object. Returns true or false. |
||
1457 | </summary> |
||
1458 | </member> |
||
1459 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.Length"> |
||
1460 | <summary> |
||
1461 | Unary operator. |
||
1462 | |||
1463 | Returns the number of items stored in the object. |
||
1464 | </summary> |
||
1465 | </member> |
||
1466 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.Compare"> |
||
1467 | <summary> |
||
1468 | Binary operator. |
||
1469 | |||
1470 | Compares two instances returning an integer indicating the relationship between them. May |
||
1471 | throw if the object types are uncomparable. |
||
1472 | </summary> |
||
1473 | </member> |
||
1474 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.DivMod"> |
||
1475 | <summary> |
||
1476 | Binary operator. |
||
1477 | |||
1478 | Returns both the dividend and quotioent of x / y. |
||
1479 | </summary> |
||
1480 | </member> |
||
1481 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.AbsoluteValue"> |
||
1482 | <summary> |
||
1483 | Unary operator. |
||
1484 | |||
1485 | Get the absolute value of the instance. |
||
1486 | </summary> |
||
1487 | </member> |
||
1488 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.Positive"> |
||
1489 | <summary> |
||
1490 | Unary operator. |
||
1491 | |||
1492 | Gets the positive value of the instance. |
||
1493 | </summary> |
||
1494 | </member> |
||
1495 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.Negate"> |
||
1496 | <summary> |
||
1497 | Unary operator. |
||
1498 | |||
1499 | Negates the instance and return the new value. |
||
1500 | </summary> |
||
1501 | </member> |
||
1502 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.OnesComplement"> |
||
1503 | <summary> |
||
1504 | Unary operator. |
||
1505 | |||
1506 | Returns the ones complement of the instance. |
||
1507 | </summary> |
||
1508 | </member> |
||
1509 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.IsFalse"> |
||
1510 | <summary> |
||
1511 | Unary operator. |
||
1512 | |||
1513 | Boolean negation |
||
1514 | </summary> |
||
1515 | </member> |
||
1516 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.Not"> |
||
1517 | <summary> |
||
1518 | Unary operator. |
||
1519 | |||
1520 | Negation, returns object |
||
1521 | </summary> |
||
1522 | </member> |
||
1523 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.GetEnumeratorForIteration"> |
||
1524 | <summary> |
||
1525 | Get enumerator for iteration binder. Returns a KeyValuePair<IEnumerator, IDisposable> |
||
1526 | |||
1527 | The IEnumerator is used for iteration. The IDisposable is provided if the object was an |
||
1528 | IEnumerable or IEnumerable<T> and is a disposable object. |
||
1529 | </summary> |
||
1530 | </member> |
||
1531 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.Add"> |
||
1532 | <summary>Operator for performing add</summary> |
||
1533 | </member> |
||
1534 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.Subtract"> |
||
1535 | <summary>Operator for performing sub</summary> |
||
1536 | </member> |
||
1537 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.Power"> |
||
1538 | <summary>Operator for performing pow</summary> |
||
1539 | </member> |
||
1540 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.Multiply"> |
||
1541 | <summary>Operator for performing mul</summary> |
||
1542 | </member> |
||
1543 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.FloorDivide"> |
||
1544 | <summary>Operator for performing floordiv</summary> |
||
1545 | </member> |
||
1546 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.Divide"> |
||
1547 | <summary>Operator for performing div</summary> |
||
1548 | </member> |
||
1549 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.TrueDivide"> |
||
1550 | <summary>Operator for performing truediv</summary> |
||
1551 | </member> |
||
1552 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.Mod"> |
||
1553 | <summary>Operator for performing mod</summary> |
||
1554 | </member> |
||
1555 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.LeftShift"> |
||
1556 | <summary>Operator for performing lshift</summary> |
||
1557 | </member> |
||
1558 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.RightShift"> |
||
1559 | <summary>Operator for performing rshift</summary> |
||
1560 | </member> |
||
1561 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.BitwiseAnd"> |
||
1562 | <summary>Operator for performing and</summary> |
||
1563 | </member> |
||
1564 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.BitwiseOr"> |
||
1565 | <summary>Operator for performing or</summary> |
||
1566 | </member> |
||
1567 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.ExclusiveOr"> |
||
1568 | <summary>Operator for performing xor</summary> |
||
1569 | </member> |
||
1570 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.LessThan"> |
||
1571 | <summary>Operator for performing lt</summary> |
||
1572 | </member> |
||
1573 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.GreaterThan"> |
||
1574 | <summary>Operator for performing gt</summary> |
||
1575 | </member> |
||
1576 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.LessThanOrEqual"> |
||
1577 | <summary>Operator for performing le</summary> |
||
1578 | </member> |
||
1579 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.GreaterThanOrEqual"> |
||
1580 | <summary>Operator for performing ge</summary> |
||
1581 | </member> |
||
1582 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.Equal"> |
||
1583 | <summary>Operator for performing eq</summary> |
||
1584 | </member> |
||
1585 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.NotEqual"> |
||
1586 | <summary>Operator for performing ne</summary> |
||
1587 | </member> |
||
1588 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.LessThanGreaterThan"> |
||
1589 | <summary>Operator for performing lg</summary> |
||
1590 | </member> |
||
1591 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.InPlaceAdd"> |
||
1592 | <summary>Operator for performing in-place add</summary> |
||
1593 | </member> |
||
1594 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.InPlaceSubtract"> |
||
1595 | <summary>Operator for performing in-place sub</summary> |
||
1596 | </member> |
||
1597 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.InPlacePower"> |
||
1598 | <summary>Operator for performing in-place pow</summary> |
||
1599 | </member> |
||
1600 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.InPlaceMultiply"> |
||
1601 | <summary>Operator for performing in-place mul</summary> |
||
1602 | </member> |
||
1603 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.InPlaceFloorDivide"> |
||
1604 | <summary>Operator for performing in-place floordiv</summary> |
||
1605 | </member> |
||
1606 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.InPlaceDivide"> |
||
1607 | <summary>Operator for performing in-place div</summary> |
||
1608 | </member> |
||
1609 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.InPlaceTrueDivide"> |
||
1610 | <summary>Operator for performing in-place truediv</summary> |
||
1611 | </member> |
||
1612 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.InPlaceMod"> |
||
1613 | <summary>Operator for performing in-place mod</summary> |
||
1614 | </member> |
||
1615 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.InPlaceLeftShift"> |
||
1616 | <summary>Operator for performing in-place lshift</summary> |
||
1617 | </member> |
||
1618 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.InPlaceRightShift"> |
||
1619 | <summary>Operator for performing in-place rshift</summary> |
||
1620 | </member> |
||
1621 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.InPlaceBitwiseAnd"> |
||
1622 | <summary>Operator for performing in-place and</summary> |
||
1623 | </member> |
||
1624 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.InPlaceBitwiseOr"> |
||
1625 | <summary>Operator for performing in-place or</summary> |
||
1626 | </member> |
||
1627 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.InPlaceExclusiveOr"> |
||
1628 | <summary>Operator for performing in-place xor</summary> |
||
1629 | </member> |
||
1630 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.ReverseAdd"> |
||
1631 | <summary>Operator for performing reverse add</summary> |
||
1632 | </member> |
||
1633 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.ReverseSubtract"> |
||
1634 | <summary>Operator for performing reverse sub</summary> |
||
1635 | </member> |
||
1636 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.ReversePower"> |
||
1637 | <summary>Operator for performing reverse pow</summary> |
||
1638 | </member> |
||
1639 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.ReverseMultiply"> |
||
1640 | <summary>Operator for performing reverse mul</summary> |
||
1641 | </member> |
||
1642 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.ReverseFloorDivide"> |
||
1643 | <summary>Operator for performing reverse floordiv</summary> |
||
1644 | </member> |
||
1645 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.ReverseDivide"> |
||
1646 | <summary>Operator for performing reverse div</summary> |
||
1647 | </member> |
||
1648 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.ReverseTrueDivide"> |
||
1649 | <summary>Operator for performing reverse truediv</summary> |
||
1650 | </member> |
||
1651 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.ReverseMod"> |
||
1652 | <summary>Operator for performing reverse mod</summary> |
||
1653 | </member> |
||
1654 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.ReverseLeftShift"> |
||
1655 | <summary>Operator for performing reverse lshift</summary> |
||
1656 | </member> |
||
1657 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.ReverseRightShift"> |
||
1658 | <summary>Operator for performing reverse rshift</summary> |
||
1659 | </member> |
||
1660 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.ReverseBitwiseAnd"> |
||
1661 | <summary>Operator for performing reverse and</summary> |
||
1662 | </member> |
||
1663 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.ReverseBitwiseOr"> |
||
1664 | <summary>Operator for performing reverse or</summary> |
||
1665 | </member> |
||
1666 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.ReverseExclusiveOr"> |
||
1667 | <summary>Operator for performing reverse xor</summary> |
||
1668 | </member> |
||
1669 | <member name="F:IronPython.Runtime.Binding.PythonOperationKind.ReverseDivMod"> |
||
1670 | <summary>Operator for performing reverse divmod</summary> |
||
1671 | </member> |
||
1672 | <member name="T:IronPython.Runtime.Binding.SlotOrFunction"> |
||
1673 | <summary> |
||
1674 | Provides an abstraction for calling something which might be a builtin function or |
||
1675 | might be some arbitrary user defined slot. If the object is a builtin function the |
||
1676 | call will go directly to the underlying .NET method. If the object is an arbitrary |
||
1677 | callable object we will setup a nested dynamic site for performing the additional |
||
1678 | dispatch. |
||
1679 | |||
1680 | TODO: We could probably do a specific binding to the object if it's another IDyanmicObject. |
||
1681 | </summary> |
||
1682 | </member> |
||
1683 | <member name="M:IronPython.Runtime.Binding.SlotOrFunction.GetCombinedTargets(IronPython.Runtime.Binding.SlotOrFunction,IronPython.Runtime.Binding.SlotOrFunction,IronPython.Runtime.Binding.SlotOrFunction@,IronPython.Runtime.Binding.SlotOrFunction@)"> |
||
1684 | <summary> |
||
1685 | Combines two methods, which came from two different binary types, selecting the method which has the best |
||
1686 | set of conversions (the conversions which result in the least narrowing). |
||
1687 | </summary> |
||
1688 | </member> |
||
1689 | <member name="M:IronPython.Runtime.Binding.SlotOrFunction.TryGetBinder(IronPython.Runtime.PythonContext,System.Dynamic.DynamicMetaObject[],System.String,System.String,IronPython.Runtime.Binding.SlotOrFunction@,IronPython.Runtime.Types.PythonType@)"> |
||
1690 | <summary> |
||
1691 | Tries to get a MethodBinder associated with the slot for the specified type. |
||
1692 | |||
1693 | If a method is found the binder is set and true is returned. |
||
1694 | If nothing is found binder is null and true is returned. |
||
1695 | If something other than a method is found false is returned. |
||
1696 | |||
1697 | TODO: Remove rop |
||
1698 | </summary> |
||
1699 | </member> |
||
1700 | <member name="T:IronPython.Runtime.Binding.PythonInvokeBinder"> |
||
1701 | <summary> |
||
1702 | The Action used for Python call sites. This supports both splatting of position and keyword arguments. |
||
1703 | |||
1704 | When a foreign object is encountered the arguments are expanded into normal position/keyword arguments. |
||
1705 | </summary> |
||
1706 | </member> |
||
1707 | <member name="M:IronPython.Runtime.Binding.PythonInvokeBinder.Bind(System.Dynamic.DynamicMetaObject,System.Dynamic.DynamicMetaObject[])"> |
||
1708 | <summary> |
||
1709 | Python's Invoke is a non-standard action. Here we first try to bind through a Python |
||
1710 | internal interface (IPythonInvokable) which supports CallSigantures. If that fails |
||
1711 | and we have an IDO then we translate to the DLR protocol through a nested dynamic site - |
||
1712 | this includes unsplatting any keyword / position arguments. Finally if it's just a plain |
||
1713 | old .NET type we use the default binder which supports CallSignatures. |
||
1714 | </summary> |
||
1715 | </member> |
||
1716 | <member name="M:IronPython.Runtime.Binding.PythonInvokeBinder.Fallback(System.Linq.Expressions.Expression,System.Dynamic.DynamicMetaObject,System.Dynamic.DynamicMetaObject[])"> |
||
1717 | <summary> |
||
1718 | Fallback - performs the default binding operation if the object isn't recognized |
||
1719 | as being invokable. |
||
1720 | </summary> |
||
1721 | </member> |
||
1722 | <member name="P:IronPython.Runtime.Binding.PythonInvokeBinder.Signature"> |
||
1723 | <summary> |
||
1724 | Gets the CallSignature for this invocation which describes how the MetaObject array |
||
1725 | is to be mapped. |
||
1726 | </summary> |
||
1727 | </member> |
||
1728 | <member name="M:IronPython.Runtime.Binding.PythonInvokeBinder.InvokeForeignObject(System.Dynamic.DynamicMetaObject,System.Dynamic.DynamicMetaObject[])"> |
||
1729 | <summary> |
||
1730 | Creates a nested dynamic site which uses the unpacked arguments. |
||
1731 | </summary> |
||
1732 | </member> |
||
1733 | <member name="M:IronPython.Runtime.Binding.PythonInvokeBinder.TranslateArguments(System.Dynamic.DynamicMetaObject,System.Dynamic.DynamicMetaObject[],System.Dynamic.CallInfo@,System.Collections.Generic.List{System.Linq.Expressions.Expression}@,System.Linq.Expressions.Expression@,System.Dynamic.BindingRestrictions@)"> |
||
1734 | <summary> |
||
1735 | Translates our CallSignature into a DLR Argument list and gives the simple MetaObject's which are extracted |
||
1736 | from the tuple or dictionary parameters being splatted. |
||
1737 | </summary> |
||
1738 | </member> |
||
1739 | <member name="T:IronPython.Runtime.Binding.MetaOldInstance"> |
||
1740 | <summary> |
||
1741 | Provides a MetaObject for instances of Python's old-style classes. |
||
1742 | |||
1743 | TODO: Lots of CodeConetxt references, need to move CodeContext onto OldClass and pull it from there. |
||
1744 | </summary> |
||
1745 | </member> |
||
1746 | <member name="T:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper"> |
||
1747 | <summary> |
||
1748 | Performs the actual work of binding to the function. |
||
1749 | |||
1750 | Overall this works by going through the arguments and attempting to bind all the outstanding known |
||
1751 | arguments - position arguments and named arguments which map to parameters are easy and handled |
||
1752 | in the 1st pass for GetArgumentsForRule. We also pick up any extra named or position arguments which |
||
1753 | will need to be passed off to a kw argument or a params array. |
||
1754 | |||
1755 | After all the normal args have been assigned to do a 2nd pass in FinishArguments. Here we assign |
||
1756 | a value to either a value from the params list, kw-dict, or defaults. If there is ambiguity between |
||
1757 | this (e.g. we have a splatted params list, kw-dict, and defaults) we call a helper which extracts them |
||
1758 | in the proper order (first try the list, then the dict, then the defaults). |
||
1759 | </summary> |
||
1760 | </member> |
||
1761 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.GetRestrictions"> |
||
1762 | <summary> |
||
1763 | Makes the test for our rule. |
||
1764 | </summary> |
||
1765 | </member> |
||
1766 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.GetSimpleRestriction"> |
||
1767 | <summary> |
||
1768 | Makes the test when we just have simple positional arguments. |
||
1769 | </summary> |
||
1770 | </member> |
||
1771 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.GetComplexRestriction"> |
||
1772 | <summary> |
||
1773 | Makes the test when we have a keyword argument call or splatting. |
||
1774 | </summary> |
||
1775 | <returns></returns> |
||
1776 | </member> |
||
1777 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.GetArgumentsForRule"> |
||
1778 | <summary> |
||
1779 | Gets the array of expressions which correspond to each argument for the function. These |
||
1780 | correspond with the function as it's defined in Python and must be transformed for our |
||
1781 | delegate type before being used. |
||
1782 | </summary> |
||
1783 | </member> |
||
1784 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.FinishArguments(System.Linq.Expressions.Expression[],System.Collections.Generic.List{System.Linq.Expressions.Expression},System.Collections.Generic.Dictionary{System.String,System.Linq.Expressions.Expression})"> |
||
1785 | <summary> |
||
1786 | Binds any missing arguments to values from params array, kw dictionary, or default values. |
||
1787 | </summary> |
||
1788 | </member> |
||
1789 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.TryFinishList(System.Linq.Expressions.Expression[],System.Collections.Generic.List{System.Linq.Expressions.Expression})"> |
||
1790 | <summary> |
||
1791 | Creates the argument for the list expansion parameter. |
||
1792 | </summary> |
||
1793 | </member> |
||
1794 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.MakeParamsAddition(System.Collections.Generic.List{System.Linq.Expressions.Expression})"> |
||
1795 | <summary> |
||
1796 | Adds extra positional arguments to the start of the expanded list. |
||
1797 | </summary> |
||
1798 | </member> |
||
1799 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.TryFinishDictionary(System.Linq.Expressions.Expression[],System.Collections.Generic.Dictionary{System.String,System.Linq.Expressions.Expression})"> |
||
1800 | <summary> |
||
1801 | Creates the argument for the dictionary expansion parameter. |
||
1802 | </summary> |
||
1803 | </member> |
||
1804 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.MakeDictionaryAddition(System.Collections.Generic.KeyValuePair{System.String,System.Linq.Expressions.Expression})"> |
||
1805 | <summary> |
||
1806 | Adds an unbound keyword argument into the dictionary. |
||
1807 | </summary> |
||
1808 | <param name="kvp"></param> |
||
1809 | </member> |
||
1810 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.AddCheckForNoExtraParameters(System.Linq.Expressions.Expression[])"> |
||
1811 | <summary> |
||
1812 | Adds a check to the last parameter (so it's evaluated after we've extracted |
||
1813 | all the parameters) to ensure that we don't have any extra params or kw-params |
||
1814 | when we don't have a params array or params dict to expand them into. |
||
1815 | </summary> |
||
1816 | </member> |
||
1817 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.ValidateNotDuplicate(System.Linq.Expressions.Expression,System.String,System.Int32)"> |
||
1818 | <summary> |
||
1819 | Helper function to validate that a named arg isn't duplicated with by |
||
1820 | a params list or the dictionary (or both). |
||
1821 | </summary> |
||
1822 | </member> |
||
1823 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.ExtractNonDefaultValue(System.String)"> |
||
1824 | <summary> |
||
1825 | Helper function to get a value (which has no default) from either the |
||
1826 | params list or the dictionary (or both). |
||
1827 | </summary> |
||
1828 | </member> |
||
1829 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.ExtractDictionaryArgument(System.String)"> |
||
1830 | <summary> |
||
1831 | Helper function to get the specified variable from the dictionary. |
||
1832 | </summary> |
||
1833 | </member> |
||
1834 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.ExtractDefaultValue(System.Int32,System.Int32)"> |
||
1835 | <summary> |
||
1836 | Helper function to extract the variable from defaults, or to call a helper |
||
1837 | to check params / kw-dict / defaults to see which one contains the actual value. |
||
1838 | </summary> |
||
1839 | </member> |
||
1840 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.ExtractFromListOrDictionary(System.String)"> |
||
1841 | <summary> |
||
1842 | Helper function to extract from the params list or dictionary depending upon |
||
1843 | which one has an available value. |
||
1844 | </summary> |
||
1845 | </member> |
||
1846 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.ExtractNextParamsArg"> |
||
1847 | <summary> |
||
1848 | Helper function to extract the next argument from the params list. |
||
1849 | </summary> |
||
1850 | </member> |
||
1851 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.GetArgumentsForTargetType(System.Linq.Expressions.Expression[])"> |
||
1852 | <summary> |
||
1853 | Fixes up the argument list for the appropriate target delegate type. |
||
1854 | </summary> |
||
1855 | </member> |
||
1856 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.GetFunctionParam"> |
||
1857 | <summary> |
||
1858 | Helper function to get the function argument strongly typed. |
||
1859 | </summary> |
||
1860 | </member> |
||
1861 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.MakeDictionaryCopy(System.Dynamic.DynamicMetaObject)"> |
||
1862 | <summary> |
||
1863 | Called when the user is expanding a dictionary - we copy the user |
||
1864 | dictionary and verify that it contains only valid string names. |
||
1865 | </summary> |
||
1866 | </member> |
||
1867 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.MakeParamsCopy(System.Linq.Expressions.Expression)"> |
||
1868 | <summary> |
||
1869 | Called when the user is expanding a params argument |
||
1870 | </summary> |
||
1871 | </member> |
||
1872 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.MakeDictionary(System.Collections.Generic.Dictionary{System.String,System.Linq.Expressions.Expression})"> |
||
1873 | <summary> |
||
1874 | Called when the user hasn't supplied a dictionary to be expanded but the |
||
1875 | function takes a dictionary to be expanded. |
||
1876 | </summary> |
||
1877 | </member> |
||
1878 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.MakeParamsTuple(System.Collections.Generic.List{System.Linq.Expressions.Expression})"> |
||
1879 | <summary> |
||
1880 | Helper function to create the expression for creating the actual tuple passed through. |
||
1881 | </summary> |
||
1882 | </member> |
||
1883 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.MakeFunctionInvoke(System.Linq.Expressions.Expression[])"> |
||
1884 | <summary> |
||
1885 | Creates the code to invoke the target delegate function w/ the specified arguments. |
||
1886 | </summary> |
||
1887 | </member> |
||
1888 | <member name="M:IronPython.Runtime.Binding.MetaPythonFunction.FunctionBinderHelper.AddInitialization(System.Linq.Expressions.Expression)"> |
||
1889 | <summary> |
||
1890 | Appends the initialization code for the call to the function if any exists. |
||
1891 | </summary> |
||
1892 | </member> |
||
1893 | <member name="M:IronPython.Runtime.Binding.MetaPythonType.MakeStandardDotNetTypeCall(System.Dynamic.DynamicMetaObjectBinder,System.Linq.Expressions.Expression,System.Dynamic.DynamicMetaObject[])"> |
||
1894 | <summary> |
||
1895 | Creating a standard .NET type is easy - we just call it's constructor with the provided |
||
1896 | arguments. |
||
1897 | </summary> |
||
1898 | </member> |
||
1899 | <member name="M:IronPython.Runtime.Binding.MetaPythonType.MakePythonTypeCall(System.Dynamic.DynamicMetaObjectBinder,System.Linq.Expressions.Expression,System.Dynamic.DynamicMetaObject[])"> |
||
1900 | <summary> |
||
1901 | Creating a Python type involves calling __new__ and __init__. We resolve them |
||
1902 | and generate calls to either the builtin funcions directly or embed sites which |
||
1903 | call the slots at runtime. |
||
1904 | </summary> |
||
1905 | </member> |
||
1906 | <member name="M:IronPython.Runtime.Binding.MetaPythonType.TooManyArgsForDefaultNew(System.Dynamic.DynamicMetaObjectBinder,System.Dynamic.DynamicMetaObject[])"> |
||
1907 | <summary> |
||
1908 | Checks if we have a default new and init - in this case if we have any |
||
1909 | arguments we don't allow the call. |
||
1910 | </summary> |
||
1911 | </member> |
||
1912 | <member name="M:IronPython.Runtime.Binding.MetaPythonType.MakeVersionCheck"> |
||
1913 | <summary> |
||
1914 | Creates a test which tests the specific version of the type. |
||
1915 | </summary> |
||
1916 | </member> |
||
1917 | <member name="T:IronPython.Runtime.Binding.MetaPythonType.GetBinderHelper`1"> |
||
1918 | <summary> |
||
1919 | Base class for performing member binding. Derived classes override Add methods |
||
1920 | to produce the actual final result based upon what the GetBinderHelper resolves. |
||
1921 | </summary> |
||
1922 | <typeparam name="TResult"></typeparam> |
||
1923 | </member> |
||
1924 | <member name="T:IronPython.Runtime.Binding.MetaPythonType.MetaGetBinderHelper"> |
||
1925 | <summary> |
||
1926 | Provides the normal meta binder binding. |
||
1927 | </summary> |
||
1928 | </member> |
||
1929 | <member name="T:IronPython.Runtime.Binding.MetaPythonType.FastGetBinderHelper"> |
||
1930 | <summary> |
||
1931 | Provides delegate based fast binding. |
||
1932 | </summary> |
||
1933 | </member> |
||
1934 | <member name="M:IronPython.Runtime.Binding.MetaPythonObject.MakeDelegateTarget(System.Dynamic.DynamicMetaObjectBinder,System.Type,System.Dynamic.DynamicMetaObject)"> |
||
1935 | <summary> |
||
1936 | Creates a target which creates a new dynamic method which contains a single |
||
1937 | dynamic site that invokes the callable object. |
||
1938 | |||
1939 | TODO: This should be specialized for each callable object |
||
1940 | </summary> |
||
1941 | </member> |
||
1942 | <member name="P:IronPython.Runtime.Binding.PythonOperationBinder.ReturnType"> |
||
1943 | <summary> |
||
1944 | The result type of the operation. |
||
1945 | </summary> |
||
1946 | </member> |
||
1947 | <member name="T:IronPython.Runtime.BuiltinPythonModule"> |
||
1948 | <summary> |
||
1949 | Implements a built-in module which is instanced per PythonContext. |
||
1950 | |||
1951 | Implementers can subclass this type and then have a module which has efficient access |
||
1952 | to internal state (this doesn't need to go through PythonContext.GetModuleState). These |
||
1953 | modules can also declare module level globals which they'd like to provide efficient |
||
1954 | access to by overloading GetGlobalVariableNames. When Initialize is called these |
||
1955 | globals are provided and can be cached in the instance for fast global access. |
||
1956 | |||
1957 | Just like normal static modules these modules are registered with the PythonModuleAttribute. |
||
1958 | </summary> |
||
1959 | </member> |
||
1960 | <member name="M:IronPython.Runtime.BuiltinPythonModule.Initialize(IronPython.Runtime.CodeContext,System.Collections.Generic.Dictionary{System.String,IronPython.Compiler.PythonGlobal})"> |
||
1961 | <summary> |
||
1962 | Initializes the module for it's first usage. By default this calls PerformModuleReload with the |
||
1963 | the dictionary. |
||
1964 | </summary> |
||
1965 | <param name="codeContext">The CodeContext for the module.</param> |
||
1966 | <param name="optimizedGlobals">A list of globals which have optimize access. Contains at least all of the global variables reutrned by GetGlobalVariableNames.</param> |
||
1967 | </member> |
||
1968 | <member name="M:IronPython.Runtime.BuiltinPythonModule.GetGlobalVariableNames"> |
||
1969 | <summary> |
||
1970 | Gets a list of variable names which should have optimized storage (instances of PythonGlobal objects). |
||
1971 | The module receives the global objects during the Initialize call and can hold onto them for |
||
1972 | direct access to global members. |
||
1973 | </summary> |
||
1974 | </member> |
||
1975 | <member name="M:IronPython.Runtime.BuiltinPythonModule.PerformModuleReload"> |
||
1976 | <summary> |
||
1977 | Called when the user attempts to reload() on your module and by the base class Initialize method. |
||
1978 | |||
1979 | This provides an opportunity to allocate any per-module data which is not simply function definitions. |
||
1980 | |||
1981 | A common usage here is to create exception objects which are allocated by the module using PythonExceptions.CreateSubType. |
||
1982 | </summary> |
||
1983 | </member> |
||
1984 | <member name="P:IronPython.Runtime.BuiltinPythonModule.Context"> |
||
1985 | <summary> |
||
1986 | Provides access to the PythonContext which this module was created for. |
||
1987 | </summary> |
||
1988 | </member> |
||
1989 | <member name="P:IronPython.Runtime.BuiltinPythonModule.Globals"> |
||
1990 | <summary> |
||
1991 | Provides access to the CodeContext for the module. Returns null before Initialize() is called. |
||
1992 | </summary> |
||
1993 | </member> |
||
1994 | <member name="T:IronPython.Runtime.ConstantDictionaryStorage"> |
||
1995 | <summary> |
||
1996 | Copy on write constant dictionary storage used for dictionaries created with constant items. |
||
1997 | </summary> |
||
1998 | </member> |
||
1999 | <member name="T:IronPython.Runtime.DebuggerDictionaryStorage"> |
||
2000 | <summary> |
||
2001 | Adapts an IDictionary[object, object] for use as a PythonDictionary used for |
||
2002 | our debug frames. Also hides the special locals which start with $. |
||
2003 | </summary> |
||
2004 | </member> |
||
2005 | <member name="T:IronPython.Runtime.CodeContext"> |
||
2006 | <summary> |
||
2007 | Captures and flows the state of executing code from the generated |
||
2008 | Python code into the IronPython runtime. |
||
2009 | </summary> |
||
2010 | </member> |
||
2011 | <member name="M:IronPython.Runtime.CodeContext.#ctor(IronPython.Runtime.PythonDictionary,IronPython.Runtime.ModuleContext)"> |
||
2012 | <summary> |
||
2013 | Creates a new CodeContext which is backed by the specified Python dictionary. |
||
2014 | </summary> |
||
2015 | </member> |
||
2016 | <member name="P:IronPython.Runtime.CodeContext.ModuleContext"> |
||
2017 | <summary> |
||
2018 | Gets the module state for top-level code. |
||
2019 | </summary> |
||
2020 | </member> |
||
2021 | <member name="P:IronPython.Runtime.CodeContext.GlobalScope"> |
||
2022 | <summary> |
||
2023 | Gets the DLR scope object that corresponds to the global variables of this context. |
||
2024 | </summary> |
||
2025 | </member> |
||
2026 | <member name="P:IronPython.Runtime.CodeContext.LanguageContext"> |
||
2027 | <summary> |
||
2028 | Gets the PythonContext which created the CodeContext. |
||
2029 | </summary> |
||
2030 | </member> |
||
2031 | <member name="P:IronPython.Runtime.CodeContext.GlobalDict"> |
||
2032 | <summary> |
||
2033 | Gets the dictionary for the global variables from the ModuleContext. |
||
2034 | </summary> |
||
2035 | </member> |
||
2036 | <member name="P:IronPython.Runtime.CodeContext.ShowCls"> |
||
2037 | <summary> |
||
2038 | True if this global context should display CLR members on shared types (for example .ToString on int/bool/etc...) |
||
2039 | |||
2040 | False if these attributes should be hidden. |
||
2041 | </summary> |
||
2042 | </member> |
||
2043 | <member name="M:IronPython.Runtime.CodeContext.TryLookupName(System.String,System.Object@)"> |
||
2044 | <summary> |
||
2045 | Attempts to lookup the provided name in this scope or any outer scope. |
||
2046 | </summary> |
||
2047 | </member> |
||
2048 | <member name="M:IronPython.Runtime.CodeContext.TryLookupBuiltin(System.String,System.Object@)"> |
||
2049 | <summary> |
||
2050 | Looks up a global variable. If the variable is not defined in the |
||
2051 | global scope then built-ins is consulted. |
||
2052 | </summary> |
||
2053 | </member> |
||
2054 | <member name="P:IronPython.Runtime.CodeContext.Dict"> |
||
2055 | <summary> |
||
2056 | Gets the dictionary used for storage of local variables. |
||
2057 | </summary> |
||
2058 | </member> |
||
2059 | <member name="M:IronPython.Runtime.CodeContext.TryGetVariable(System.String,System.Object@)"> |
||
2060 | <summary> |
||
2061 | Attempts to lookup the variable in the local scope. |
||
2062 | </summary> |
||
2063 | </member> |
||
2064 | <member name="M:IronPython.Runtime.CodeContext.TryRemoveVariable(System.String)"> |
||
2065 | <summary> |
||
2066 | Removes a variable from the local scope. |
||
2067 | </summary> |
||
2068 | </member> |
||
2069 | <member name="M:IronPython.Runtime.CodeContext.SetVariable(System.String,System.Object)"> |
||
2070 | <summary> |
||
2071 | Sets a variable in the local scope. |
||
2072 | </summary> |
||
2073 | </member> |
||
2074 | <member name="M:IronPython.Runtime.CodeContext.TryGetGlobalVariable(System.String,System.Object@)"> |
||
2075 | <summary> |
||
2076 | Gets a variable from the global scope. |
||
2077 | </summary> |
||
2078 | </member> |
||
2079 | <member name="M:IronPython.Runtime.CodeContext.SetGlobalVariable(System.String,System.Object)"> |
||
2080 | <summary> |
||
2081 | Sets a variable in the global scope. |
||
2082 | </summary> |
||
2083 | </member> |
||
2084 | <member name="M:IronPython.Runtime.CodeContext.TryRemoveGlobalVariable(System.String)"> |
||
2085 | <summary> |
||
2086 | Removes a variable from the global scope. |
||
2087 | </summary> |
||
2088 | </member> |
||
2089 | <member name="M:IronPython.Runtime.CodeContext.GetBuiltinsDict"> |
||
2090 | <summary> |
||
2091 | Returns the dictionary associated with __builtins__ if one is |
||
2092 | set or null if it's not available. If __builtins__ is a module |
||
2093 | the module's dictionary is returned. |
||
2094 | </summary> |
||
2095 | </member> |
||
2096 | <member name="T:IronPython.Runtime.DontMapIEnumerableToIterAttribute"> |
||
2097 | <summary> |
||
2098 | Marks a type so that IronPython will not expose the IEnumerable interface out as |
||
2099 | __iter__ |
||
2100 | </summary> |
||
2101 | </member> |
||
2102 | <member name="T:IronPython.Runtime.DontMapGetMemberNamesToDirAttribute"> |
||
2103 | <summary> |
||
2104 | Marks a type so that IronPython will not expose types which have GetMemberNames |
||
2105 | as having a __dir__ method. |
||
2106 | |||
2107 | Also suppresses __dir__ on something which implements IDynamicMetaObjectProvider |
||
2108 | but is not an IPythonObject. |
||
2109 | </summary> |
||
2110 | </member> |
||
2111 | <member name="T:IronPython.Runtime.DontMapICollectionToLenAttribute"> |
||
2112 | <summary> |
||
2113 | Marks a type so that IronPython will not expose the ICollection interface out as |
||
2114 | __len__. |
||
2115 | </summary> |
||
2116 | </member> |
||
2117 | <member name="T:IronPython.Runtime.DontMapIDisposableToContextManagerAttribute"> |
||
2118 | <summary> |
||
2119 | Marks a type so that IronPython will not expose the IDisposable interface out as |
||
2120 | __enter__ and __exit__ methods of a context manager. |
||
2121 | </summary> |
||
2122 | </member> |
||
2123 | <member name="T:IronPython.Runtime.DontMapIEnumerableToContainsAttribute"> |
||
2124 | <summary> |
||
2125 | Marks a type so that IronPython will not expose the IEnumerable interface out as |
||
2126 | __contains__ |
||
2127 | </summary> |
||
2128 | </member> |
||
2129 | <member name="T:IronPython.Runtime.EmptyDictionaryStorage"> |
||
2130 | <summary> |
||
2131 | Singleton used for dictionaries which contain no items. |
||
2132 | </summary> |
||
2133 | </member> |
||
2134 | <member name="T:IronPython.Runtime.Exceptions.GeneratorExitException"> |
||
2135 | <summary> |
||
2136 | GeneratorExitException is a standard exception raised by Generator.Close() to allow a caller |
||
2137 | to close out a generator. |
||
2138 | </summary> |
||
2139 | <remarks>GeneratorExit is introduced in Pep342 for Python2.5. </remarks> |
||
2140 | </member> |
||
2141 | <member name="T:IronPython.Runtime.Exceptions.IndentationException"> |
||
2142 | <summary> |
||
2143 | .NET exception thrown when a Python syntax error is related to incorrect indentation. |
||
2144 | </summary> |
||
2145 | </member> |
||
2146 | <member name="T:IronPython.Runtime.Exceptions.PythonExceptions"> |
||
2147 | <summary> |
||
2148 | Implementation of the Python exceptions module and the IronPython/CLR exception mapping |
||
2149 | mechanism. The exception module is the parent module for all Python exception classes |
||
2150 | and therefore is built-in to IronPython.dll instead of IronPython.Modules.dll. |
||
2151 | |||
2152 | The exception mapping mechanism is exposed as internal surface area available to only |
||
2153 | IronPython / IronPython.Modules.dll. The actual exceptions themselves are all public. |
||
2154 | |||
2155 | Because the oddity of the built-in exception types all sharing the same physical layout |
||
2156 | (see also PythonExceptions.BaseException) some classes are defined as classes w/ their |
||
2157 | proper name and some classes are defined as PythonType fields. When a class is defined |
||
2158 | for convenience their's also an _TypeName version which is the PythonType. |
||
2159 | </summary> |
||
2160 | </member> |
||
2161 | <member name="T:IronPython.Runtime.Exceptions.PythonExceptions.BaseException"> |
||
2162 | <summary> |
||
2163 | Base class for all Python exception objects. |
||
2164 | |||
2165 | When users throw exceptions they typically throw an exception which is |
||
2166 | a subtype of this. A mapping is maintained between Python exceptions |
||
2167 | and .NET exceptions and a corresponding .NET exception is thrown which |
||
2168 | is associated with the Python exception. This class represents the |
||
2169 | base class for the Python exception hierarchy. |
||
2170 | |||
2171 | Users can catch exceptions rooted in either hierarchy. The hierarchy |
||
2172 | determines whether the user catches the .NET exception object or the |
||
2173 | Python exception object. |
||
2174 | |||
2175 | Most built-in Python exception classes are actually instances of the BaseException |
||
2176 | class here. This is important because in CPython the exceptions do not |
||
2177 | add new members and therefore their layouts are compatible for multiple |
||
2178 | inheritance. The exceptions to this rule are the classes which define |
||
2179 | their own fields within their type, therefore altering their layout: |
||
2180 | EnvironmentError |
||
2181 | SyntaxError |
||
2182 | IndentationError (same layout as SyntaxError) |
||
2183 | TabError (same layout as SyntaxError) |
||
2184 | SystemExit |
||
2185 | UnicodeDecodeError |
||
2186 | UnicodeEncodeError |
||
2187 | UnicodeTranslateError |
||
2188 | |||
2189 | These exceptions cannot be combined in multiple inheritance, e.g.: |
||
2190 | class foo(EnvironmentError, IndentationError): pass |
||
2191 | |||
2192 | fails but they can be combined with anything which is just a BaseException: |
||
2193 | class foo(UnicodeDecodeError, SystemError): pass |
||
2194 | |||
2195 | Therefore the majority of the classes are just BaseException instances with a |
||
2196 | custom PythonType object. The specialized ones have their own .NET class |
||
2197 | which inherits from BaseException. User defined exceptions likewise inherit |
||
2198 | from this and have their own .NET class. |
||
2199 | </summary> |
||
2200 | </member> |
||
2201 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.BaseException.__init__(System.Object[])"> |
||
2202 | <summary> |
||
2203 | Initializes the Exception object with an unlimited number of arguments |
||
2204 | </summary> |
||
2205 | </member> |
||
2206 | <member name="P:IronPython.Runtime.Exceptions.PythonExceptions.BaseException.message"> |
||
2207 | <summary> |
||
2208 | Returns the exception 'message' if only a single argument was provided |
||
2209 | during creation or an empty string. |
||
2210 | </summary> |
||
2211 | </member> |
||
2212 | <member name="P:IronPython.Runtime.Exceptions.PythonExceptions.BaseException.args"> |
||
2213 | <summary> |
||
2214 | Gets or sets the arguments used for creating the exception |
||
2215 | </summary> |
||
2216 | </member> |
||
2217 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.BaseException.__reduce__"> |
||
2218 | <summary> |
||
2219 | Returns a tuple of (type, (arg0, ..., argN)) for implementing pickling/copying |
||
2220 | </summary> |
||
2221 | </member> |
||
2222 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.BaseException.__reduce_ex__(System.Int32)"> |
||
2223 | <summary> |
||
2224 | Returns a tuple of (type, (arg0, ..., argN)) for implementing pickling/copying |
||
2225 | </summary> |
||
2226 | </member> |
||
2227 | <member name="P:IronPython.Runtime.Exceptions.PythonExceptions.BaseException.Item(System.Int32)"> |
||
2228 | <summary> |
||
2229 | Gets the nth member of the args property |
||
2230 | </summary> |
||
2231 | </member> |
||
2232 | <member name="P:IronPython.Runtime.Exceptions.PythonExceptions.BaseException.__dict__"> |
||
2233 | <summary> |
||
2234 | Gets or sets the dictionary which is used for storing members not declared to have space reserved |
||
2235 | within the exception object. |
||
2236 | </summary> |
||
2237 | </member> |
||
2238 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.BaseException.__setstate__(IronPython.Runtime.PythonDictionary)"> |
||
2239 | <summary> |
||
2240 | Updates the exception's state (dictionary) with the new values |
||
2241 | </summary> |
||
2242 | </member> |
||
2243 | <member name="P:IronPython.Runtime.Exceptions.PythonExceptions.BaseException.clsException"> |
||
2244 | <summary> |
||
2245 | Gets the CLR exception associated w/ this Python exception. Not visible |
||
2246 | until a .NET namespace is imported. |
||
2247 | </summary> |
||
2248 | </member> |
||
2249 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.BaseException.GetBoundMember(System.String)"> |
||
2250 | <summary> |
||
2251 | Provides custom member lookup access that fallbacks to the dictionary |
||
2252 | </summary> |
||
2253 | </member> |
||
2254 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.BaseException.SetMemberAfter(System.String,System.Object)"> |
||
2255 | <summary> |
||
2256 | Provides custom member assignment which stores values in the dictionary |
||
2257 | </summary> |
||
2258 | </member> |
||
2259 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.BaseException.DeleteCustomMember(System.String)"> |
||
2260 | <summary> |
||
2261 | Provides custom member deletion which deletes values from the dictionary |
||
2262 | or allows clearing 'message'. |
||
2263 | </summary> |
||
2264 | </member> |
||
2265 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.BaseException.__repr__(IronPython.Runtime.CodeContext)"> |
||
2266 | <summary> |
||
2267 | Implements __repr__ which returns the type name + the args |
||
2268 | tuple code formatted. |
||
2269 | </summary> |
||
2270 | </member> |
||
2271 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.BaseException.InitializeFromClr(System.Exception)"> |
||
2272 | <summary> |
||
2273 | Initializes the Python exception from a .NET exception |
||
2274 | </summary> |
||
2275 | <param name="exception"></param> |
||
2276 | </member> |
||
2277 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.BaseException.GetClrException"> |
||
2278 | <summary> |
||
2279 | Helper to get the CLR exception associated w/ this Python exception |
||
2280 | creating it if one has not already been created. |
||
2281 | </summary> |
||
2282 | </member> |
||
2283 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.CreateThrowableForRaise(IronPython.Runtime.CodeContext,IronPython.Runtime.Types.PythonType,System.Object)"> |
||
2284 | <summary> |
||
2285 | Creates a new throwable exception of type type where the type is an new-style exception. |
||
2286 | |||
2287 | Used at runtime when creating the exception from a user provided type via the raise statement. |
||
2288 | </summary> |
||
2289 | </member> |
||
2290 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.CreateThrowableForRaise(IronPython.Runtime.CodeContext,IronPython.Runtime.Types.OldClass,System.Object)"> |
||
2291 | <summary> |
||
2292 | Creates a throwable exception of type type where the type is an OldClass. |
||
2293 | |||
2294 | Used at runtime when creating the exception form a user provided type that's an old class (via the raise statement). |
||
2295 | </summary> |
||
2296 | </member> |
||
2297 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.ToClr(System.Object)"> |
||
2298 | <summary> |
||
2299 | Returns the CLR exception associated with a Python exception |
||
2300 | creating a new exception if necessary |
||
2301 | </summary> |
||
2302 | </member> |
||
2303 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.ToPython(System.Exception)"> |
||
2304 | <summary> |
||
2305 | Given a CLR exception returns the Python exception which most closely maps to the CLR exception. |
||
2306 | </summary> |
||
2307 | </member> |
||
2308 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.ToPythonNewStyle(System.Exception)"> |
||
2309 | <summary> |
||
2310 | Creates a new style Python exception from the .NET exception |
||
2311 | </summary> |
||
2312 | </member> |
||
2313 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.SetPythonException(System.Exception,System.Object)"> |
||
2314 | <summary> |
||
2315 | Internal helper to associate a .NET exception and a Python exception. |
||
2316 | </summary> |
||
2317 | </member> |
||
2318 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.GetPythonException(System.Exception)"> |
||
2319 | <summary> |
||
2320 | Internal helper to get the associated Python exception from a .NET exception. |
||
2321 | </summary> |
||
2322 | </member> |
||
2323 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.SyntaxErrorToPython(Microsoft.Scripting.SyntaxErrorException)"> |
||
2324 | <summary> |
||
2325 | Converts the DLR SyntaxErrorException into a Python new-style SyntaxError instance. |
||
2326 | </summary> |
||
2327 | </member> |
||
2328 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.CreateSubType(IronPython.Runtime.PythonContext,IronPython.Runtime.Types.PythonType,System.String,System.String,System.String,System.Func{System.String,System.Exception})"> |
||
2329 | <summary> |
||
2330 | Creates a PythonType for a built-in module. These types are mutable like |
||
2331 | normal user types. |
||
2332 | </summary> |
||
2333 | </member> |
||
2334 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.CreateSubType(IronPython.Runtime.PythonContext,IronPython.Runtime.Types.PythonType,System.Type,System.String,System.String,System.String,System.Func{System.String,System.Exception})"> |
||
2335 | <summary> |
||
2336 | Creates a PythonType for a built-in module. These types are mutable like |
||
2337 | normal user types. |
||
2338 | </summary> |
||
2339 | </member> |
||
2340 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.CreateSubType(IronPython.Runtime.PythonContext,IronPython.Runtime.Types.PythonType[],System.Type,System.String,System.String,System.String,System.Func{System.String,System.Exception})"> |
||
2341 | <summary> |
||
2342 | Creates a PythonType for a built-in module, where the type may inherit |
||
2343 | from multiple bases. These types are mutable like normal user types. |
||
2344 | </summary> |
||
2345 | </member> |
||
2346 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.CreateSubType(IronPython.Runtime.Types.PythonType,System.String,System.Func{System.String,System.Exception})"> |
||
2347 | <summary> |
||
2348 | Creates a new type for a built-in exception which derives from another Python |
||
2349 | type. . These types are built-in and immutable like any other normal type. For |
||
2350 | example StandardError.x = 3 is illegal. This isn't for module exceptions which |
||
2351 | are like user defined types. thread.error.x = 3 is legal. |
||
2352 | </summary> |
||
2353 | </member> |
||
2354 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.CreateSubType(IronPython.Runtime.Types.PythonType,System.Type,System.Func{System.String,System.Exception})"> |
||
2355 | <summary> |
||
2356 | Creates a new type for a built-in exception which is the root concrete type. |
||
2357 | </summary> |
||
2358 | </member> |
||
2359 | <member name="M:IronPython.Runtime.Exceptions.PythonExceptions.GetDynamicStackFrames(System.Exception)"> |
||
2360 | <summary> |
||
2361 | Gets the list of DynamicStackFrames for the current exception. |
||
2362 | </summary> |
||
2363 | </member> |
||
2364 | <member name="T:IronPython.Runtime.Exceptions.StopIterationException"> |
||
2365 | <summary> |
||
2366 | .NET exception that is thrown to signal the end of iteration in Python |
||
2367 | </summary> |
||
2368 | </member> |
||
2369 | <member name="T:IronPython.Runtime.Exceptions.SystemExitException"> |
||
2370 | <summary> |
||
2371 | .NET exception that is thrown to shutdown the interpretter and exit the system. |
||
2372 | </summary> |
||
2373 | </member> |
||
2374 | <member name="M:IronPython.Runtime.Exceptions.SystemExitException.GetExitCode(System.Object@)"> |
||
2375 | <summary> |
||
2376 | Result of sys.exit(n) |
||
2377 | </summary> |
||
2378 | <param name="otherCode"> |
||
2379 | null if the script exited using "sys.exit(int_value)" |
||
2380 | null if the script exited using "sys.exit(None)" |
||
2381 | x if the script exited using "sys.exit(x)" where isinstance(x, int) == False |
||
2382 | </param> |
||
2383 | <returns> |
||
2384 | int_value if the script exited using "sys.exit(int_value)" |
||
2385 | 1 otherwise |
||
2386 | </returns> |
||
2387 | </member> |
||
2388 | <member name="T:IronPython.Runtime.Exceptions.TabException"> |
||
2389 | <summary> |
||
2390 | .NET Exception thrown when a Python syntax error is related to incorrect tabs. |
||
2391 | </summary> |
||
2392 | </member> |
||
2393 | <member name="M:IronPython.Runtime.Exceptions.TraceBack.Extract"> |
||
2394 | <summary> |
||
2395 | returns string containing human readable representation of traceback |
||
2396 | </summary> |
||
2397 | </member> |
||
2398 | <member name="T:IronPython.Runtime.ExtensionMethodSet"> |
||
2399 | <summary> |
||
2400 | Represents the set of extension methods which are loaded into a module. |
||
2401 | |||
2402 | This set is immutable (as far the external viewer is considered). When a |
||
2403 | new extension method set is loaded into a module we create a new ExtensionMethodsSet object. |
||
2404 | |||
2405 | Multiple modules which have the same set of extension methods use the same set. |
||
2406 | </summary> |
||
2407 | </member> |
||
2408 | <member name="T:IronPython.Runtime.ExtensionMethodSet.AssemblyLoadInfo"> |
||
2409 | <summary> |
||
2410 | Tracks the extension types that are loaded for a given assembly. |
||
2411 | |||
2412 | We can have either types, namespaces, or a full assembly added as a reference. |
||
2413 | |||
2414 | When the user just adds types we just add them to the type hash set. |
||
2415 | |||
2416 | When the user adds namespaces we add them to the namespaces hashset. On the |
||
2417 | next lookup we'll lazily load the types from that namespace and put them in Types. |
||
2418 | |||
2419 | When the user adds assemblies we set the value to the NotYetLoadedButFullAssembly |
||
2420 | value. The next load request will load the types from that namespace and put them |
||
2421 | in Types. When we do that we'll mark the assembly as FullyLoaded so we don't |
||
2422 | have to go through that again if the user adds a namespace. |
||
2423 | </summary> |
||
2424 | </member> |
||
2425 | <member name="M:IronPython.Runtime.ExtensionMethodSet.GetExtensionMethods(System.String)"> |
||
2426 | <summary> |
||
2427 | Returns all of the extension methods with the given name. |
||
2428 | </summary> |
||
2429 | </member> |
||
2430 | <member name="M:IronPython.Runtime.ExtensionMethodSet.GetExtensionMethods(IronPython.Runtime.Types.PythonType)"> |
||
2431 | <summary> |
||
2432 | Returns all of the extension methods which are applicable for the given type. |
||
2433 | </summary> |
||
2434 | </member> |
||
2435 | <member name="P:IronPython.Runtime.FormattingHelper.InvariantCommaNumberInfo"> |
||
2436 | <summary> |
||
2437 | Helper NumberFormatInfo for use by int/BigInteger __format__ routines |
||
2438 | for width specified leading zero support that contains ','s every 3 digits. |
||
2439 | i.e. For use by d/g/G format specifiers. NOT for use by n format specifiers. |
||
2440 | </summary> |
||
2441 | </member> |
||
2442 | <member name="T:IronPython.Runtime.InstancedModuleDictionaryStorage"> |
||
2443 | <summary> |
||
2444 | ModuleDictionaryStorage for a built-in module which is bound to a specific instance. |
||
2445 | |||
2446 | These modules don't need to use PythonContext.GetModuleState() for storage and therefore |
||
2447 | can provide efficient access to internal variables. They can also cache PythonGlobal |
||
2448 | objects and provide efficient access to module globals. |
||
2449 | |||
2450 | To the end user these modules appear just like any other module. These modules are |
||
2451 | implemented by subclassing the BuiltinPythonModule class. |
||
2452 | </summary> |
||
2453 | </member> |
||
2454 | <member name="M:IronPython.Runtime.MemoryView.FixSlice(IronPython.Runtime.Slice,System.Int32,System.Int32@,System.Int32@)"> |
||
2455 | <summary> |
||
2456 | MemoryView slicing is somewhat different and more restricted than |
||
2457 | standard slicing. |
||
2458 | </summary> |
||
2459 | </member> |
||
2460 | <member name="M:IronPython.Runtime.Method.CheckSelf(IronPython.Runtime.CodeContext,System.Object)"> |
||
2461 | <summary> |
||
2462 | Validates that the current self object is usable for this method. |
||
2463 | </summary> |
||
2464 | </member> |
||
2465 | <member name="M:IronPython.Runtime.Operations.PythonTypeOps.GetInitMethod(IronPython.Runtime.CodeContext,IronPython.Runtime.Types.PythonType,System.Object)"> |
||
2466 | <summary> |
||
2467 | Looks up __init__ avoiding calls to __getattribute__ and handling both |
||
2468 | new-style and old-style classes in the MRO. |
||
2469 | </summary> |
||
2470 | </member> |
||
2471 | <member name="M:IronPython.Runtime.Operations.PythonTypeOps.GetBuiltinFunction(System.Type,System.String,System.String,System.Nullable{IronPython.Runtime.Types.FunctionType},System.Reflection.MemberInfo[])"> |
||
2472 | <summary> |
||
2473 | Gets a builtin function for the given declaring type and member infos. |
||
2474 | |||
2475 | Given the same inputs this always returns the same object ensuring there's only 1 builtinfunction |
||
2476 | for each .NET method. |
||
2477 | |||
2478 | This method takes both a cacheName and a pythonName. The cache name is the real method name. The pythonName |
||
2479 | is the name of the method as exposed to Python. |
||
2480 | </summary> |
||
2481 | </member> |
||
2482 | <member name="M:IronPython.Runtime.Operations.PythonTypeOps.IsMethodAlwaysVisible(System.Type,System.Reflection.MemberInfo[])"> |
||
2483 | <summary> |
||
2484 | Checks to see if the provided members are always visible for the given type. |
||
2485 | |||
2486 | This filters out methods such as GetHashCode and Equals on standard .NET |
||
2487 | types that we expose directly as Python types (e.g. object, string, etc...). |
||
2488 | |||
2489 | It also filters out the base helper overrides that are added for supporting |
||
2490 | super calls on user defined types. |
||
2491 | </summary> |
||
2492 | </member> |
||
2493 | <member name="M:IronPython.Runtime.Operations.PythonTypeOps.IsStaticFunction(System.Type,System.Reflection.MethodInfo)"> |
||
2494 | <summary> |
||
2495 | a function is static if it's a static .NET method and it's defined on the type or is an extension method |
||
2496 | with StaticExtensionMethod decoration. |
||
2497 | </summary> |
||
2498 | </member> |
||
2499 | <member name="M:IronPython.Runtime.Operations.PythonTypeOps.EnsureBaseType(IronPython.Runtime.PythonTuple)"> |
||
2500 | <summary> |
||
2501 | If we have only interfaces, we'll need to insert object's base |
||
2502 | </summary> |
||
2503 | </member> |
||
2504 | <member name="M:IronPython.Runtime.Operations.ArrayOps.Multiply(System.Array,System.Int32)"> |
||
2505 | <summary> |
||
2506 | Multiply two object[] arrays - slow version, we need to get the type, etc... |
||
2507 | </summary> |
||
2508 | </member> |
||
2509 | <member name="M:IronPython.Runtime.Operations.ArrayOps.Multiply(System.Object[],System.Int32,System.Int32)"> |
||
2510 | <summary> |
||
2511 | Multiply two object[] arrays - internal version used for objects backed by arrays |
||
2512 | </summary> |
||
2513 | </member> |
||
2514 | <member name="M:IronPython.Runtime.Operations.ArrayOps.Add(System.Object[],System.Int32,System.Object[],System.Int32)"> |
||
2515 | <summary> |
||
2516 | Add two arrays - internal versions for objects backed by arrays |
||
2517 | </summary> |
||
2518 | <param name="data1"></param> |
||
2519 | <param name="size1"></param> |
||
2520 | <param name="data2"></param> |
||
2521 | <param name="size2"></param> |
||
2522 | <returns></returns> |
||
2523 | </member> |
||
2524 | <member name="T:IronPython.Runtime.Operations.CharOps"> |
||
2525 | <summary> |
||
2526 | We override the behavior of equals, compare and hashcode to make |
||
2527 | chars seem as much like strings as possible. In Python there is no |
||
2528 | difference between these types. |
||
2529 | </summary> |
||
2530 | </member> |
||
2531 | <member name="T:IronPython.Runtime.Operations.CustomTypeDescHelpers"> |
||
2532 | <summary> |
||
2533 | Helper class that all custom type descriptor implementations call for |
||
2534 | the bulk of their implementation. |
||
2535 | </summary> |
||
2536 | </member> |
||
2537 | <member name="M:IronPython.Runtime.Operations.DoubleOps.DoubleToFormatString(IronPython.Runtime.CodeContext,System.Double,IronPython.Runtime.StringFormatSpec)"> |
||
2538 | <summary> |
||
2539 | Returns the digits for the format spec, no sign is included. |
||
2540 | </summary> |
||
2541 | </member> |
||
2542 | <member name="T:IronPython.Runtime.Operations.InstanceOps"> |
||
2543 | <summary> |
||
2544 | InstanceOps contains methods that get added to CLS types depending on what |
||
2545 | methods and constructors they define. These have not been added directly to |
||
2546 | PythonType since they need to be added conditionally. |
||
2547 | |||
2548 | Possibilities include: |
||
2549 | |||
2550 | __new__, one of 3 __new__ sets can be added: |
||
2551 | DefaultNew - This is the __new__ used for a PythonType (list, dict, object, etc...) that |
||
2552 | has only 1 default public constructor that takes no parameters. These types are |
||
2553 | mutable types, and __new__ returns a new instance of the type, and __init__ can be used |
||
2554 | to re-initialize the types. This __new__ allows an unlimited number of arguments to |
||
2555 | be passed if a non-default __init__ is also defined. |
||
2556 | |||
2557 | NonDefaultNew - This is used when a type has more than one constructor, or only has one |
||
2558 | that takes more than zero parameters. This __new__ does not allow an arbitrary # of |
||
2559 | extra arguments. |
||
2560 | |||
2561 | DefaultNewCls - This is the default new used for CLS types that have only a single ctor |
||
2562 | w/ an arbitray number of arguments. This constructor allows setting of properties |
||
2563 | based upon an extra set of kw-args, e.g.: System.Windows.Forms.Button(Text='abc'). It |
||
2564 | is only used on non-Python types. |
||
2565 | |||
2566 | __init__: |
||
2567 | For types that do not define __init__ we have an __init__ function that takes an |
||
2568 | unlimited number of arguments and does nothing. All types share the same reference |
||
2569 | to 1 instance of this. |
||
2570 | |||
2571 | next: Defined when a type is an enumerator to expose the Python iter protocol. |
||
2572 | |||
2573 | |||
2574 | repr: Added for types that override ToString |
||
2575 | |||
2576 | get: added for types that implement IDescriptor |
||
2577 | </summary> |
||
2578 | </member> |
||
2579 | <member name="M:IronPython.Runtime.Operations.InstanceOps.DynamicDir(IronPython.Runtime.CodeContext,System.Dynamic.IDynamicMetaObjectProvider)"> |
||
2580 | <summary> |
||
2581 | __dir__(self) -> Returns the list of members defined on a foreign IDynamicMetaObjectProvider. |
||
2582 | </summary> |
||
2583 | </member> |
||
2584 | <member name="M:IronPython.Runtime.Operations.InstanceOps.EnterMethod(System.IDisposable)"> |
||
2585 | <summary> |
||
2586 | Provides the implementation of __enter__ for objects which implement IDisposable. |
||
2587 | </summary> |
||
2588 | </member> |
||
2589 | <member name="M:IronPython.Runtime.Operations.InstanceOps.ExitMethod(System.IDisposable,System.Object,System.Object,System.Object)"> |
||
2590 | <summary> |
||
2591 | Provides the implementation of __exit__ for objects which implement IDisposable. |
||
2592 | </summary> |
||
2593 | </member> |
||
2594 | <member name="M:IronPython.Runtime.Operations.InstanceOps.IsStaticTypeMemberInAll(IronPython.Runtime.CodeContext,IronPython.Runtime.Types.PythonType,System.String,System.Object@)"> |
||
2595 | <summary> |
||
2596 | Determines if a type member can be imported. This is used to treat static types like modules. |
||
2597 | </summary> |
||
2598 | </member> |
||
2599 | <member name="M:IronPython.Runtime.Operations.InstanceOps.ContainsGenericMethod``1(IronPython.Runtime.CodeContext,System.Collections.Generic.IEnumerable{``0},``0)"> |
||
2600 | <summary> |
||
2601 | Implements __contains__ for types implementing IEnumerable of T. |
||
2602 | </summary> |
||
2603 | </member> |
||
2604 | <member name="M:IronPython.Runtime.Operations.InstanceOps.ContainsMethod(IronPython.Runtime.CodeContext,System.Collections.IEnumerable,System.Object)"> |
||
2605 | <summary> |
||
2606 | Implements __contains__ for types implementing IEnumerable |
||
2607 | </summary> |
||
2608 | </member> |
||
2609 | <member name="M:IronPython.Runtime.Operations.InstanceOps.ContainsGenericMethodIEnumerator``1(IronPython.Runtime.CodeContext,System.Collections.Generic.IEnumerator{``0},``0)"> |
||
2610 | <summary> |
||
2611 | Implements __contains__ for types implementing IEnumerable of T. |
||
2612 | </summary> |
||
2613 | </member> |
||
2614 | <member name="M:IronPython.Runtime.Operations.InstanceOps.ContainsMethodIEnumerator(IronPython.Runtime.CodeContext,System.Collections.IEnumerator,System.Object)"> |
||
2615 | <summary> |
||
2616 | Implements __contains__ for types implementing IEnumerable |
||
2617 | </summary> |
||
2618 | </member> |
||
2619 | <member name="M:IronPython.Runtime.Operations.InstanceOps.SerializeReduce(IronPython.Runtime.CodeContext,System.Object,System.Int32)"> |
||
2620 | <summary> |
||
2621 | Implements __reduce_ex__ for .NET types which are serializable. This uses the .NET |
||
2622 | serializer to get a string of raw data which can be serialized. |
||
2623 | </summary> |
||
2624 | </member> |
||
2625 | <member name="T:IronPython.Runtime.Operations.ObjectOps"> |
||
2626 | <summary> |
||
2627 | Contains Python extension methods that are added to object |
||
2628 | </summary> |
||
2629 | </member> |
||
2630 | <member name="F:IronPython.Runtime.Operations.ObjectOps._nativelyPickleableTypes"> |
||
2631 | <summary> Types for which the pickle module has built-in support (from PEP 307 case 2) </summary> |
||
2632 | </member> |
||
2633 | <member name="F:IronPython.Runtime.Operations.ObjectOps.__class__"> |
||
2634 | <summary> |
||
2635 | __class__, a custom slot so that it works for both objects and types. |
||
2636 | </summary> |
||
2637 | </member> |
||
2638 | <member name="M:IronPython.Runtime.Operations.ObjectOps.__delattr__(IronPython.Runtime.CodeContext,System.Object,System.String)"> |
||
2639 | <summary> |
||
2640 | Removes an attribute from the provided member |
||
2641 | </summary> |
||
2642 | </member> |
||
2643 | <member name="M:IronPython.Runtime.Operations.ObjectOps.__hash__(System.Object)"> |
||
2644 | <summary> |
||
2645 | Returns the hash code of the given object |
||
2646 | </summary> |
||
2647 | </member> |
||
2648 | <member name="M:IronPython.Runtime.Operations.ObjectOps.__getattribute__(IronPython.Runtime.CodeContext,System.Object,System.String)"> |
||
2649 | <summary> |
||
2650 | Gets the specified attribute from the object without running any custom lookup behavior |
||
2651 | (__getattr__ and __getattribute__) |
||
2652 | </summary> |
||
2653 | </member> |
||
2654 | <member name="M:IronPython.Runtime.Operations.ObjectOps.__init__(IronPython.Runtime.CodeContext,System.Object)"> |
||
2655 | <summary> |
||
2656 | Initializes the object. The base class does nothing. |
||
2657 | </summary> |
||
2658 | </member> |
||
2659 | <member name="M:IronPython.Runtime.Operations.ObjectOps.__init__(IronPython.Runtime.CodeContext,System.Object,System.Object[])"> |
||
2660 | <summary> |
||
2661 | Initializes the object. The base class does nothing. |
||
2662 | </summary> |
||
2663 | </member> |
||
2664 | <member name="M:IronPython.Runtime.Operations.ObjectOps.__init__(IronPython.Runtime.CodeContext,System.Object,System.Collections.Generic.IDictionary{System.Object,System.Object},System.Object[])"> |
||
2665 | <summary> |
||
2666 | Initializes the object. The base class does nothing. |
||
2667 | </summary> |
||
2668 | </member> |
||
2669 | <member name="M:IronPython.Runtime.Operations.ObjectOps.__new__(IronPython.Runtime.CodeContext,IronPython.Runtime.Types.PythonType)"> |
||
2670 | <summary> |
||
2671 | Creates a new instance of the type |
||
2672 | </summary> |
||
2673 | </member> |
||
2674 | <member name="M:IronPython.Runtime.Operations.ObjectOps.__new__(IronPython.Runtime.CodeContext,IronPython.Runtime.Types.PythonType,System.Object[])"> |
||
2675 | <summary> |
||
2676 | Creates a new instance of the type |
||
2677 | </summary> |
||
2678 | </member> |
||
2679 | <member name="M:IronPython.Runtime.Operations.ObjectOps.__new__(IronPython.Runtime.CodeContext,IronPython.Runtime.Types.PythonType,System.Collections.Generic.IDictionary{System.Object,System.Object},System.Object[])"> |
||
2680 | <summary> |
||
2681 | Creates a new instance of the type |
||
2682 | </summary> |
||
2683 | </member> |
||
2684 | <member name="M:IronPython.Runtime.Operations.ObjectOps.__reduce__(IronPython.Runtime.CodeContext,System.Object)"> |
||
2685 | <summary> |
||
2686 | Runs the pickle protocol |
||
2687 | </summary> |
||
2688 | </member> |
||
2689 | <member name="M:IronPython.Runtime.Operations.ObjectOps.__reduce_ex__(IronPython.Runtime.CodeContext,System.Object)"> |
||
2690 | <summary> |
||
2691 | Runs the pickle protocol |
||
2692 | </summary> |
||
2693 | </member> |
||
2694 | <member name="M:IronPython.Runtime.Operations.ObjectOps.__reduce_ex__(IronPython.Runtime.CodeContext,System.Object,System.Object)"> |
||
2695 | <summary> |
||
2696 | Runs the pickle protocol |
||
2697 | </summary> |
||
2698 | </member> |
||
2699 | <member name="M:IronPython.Runtime.Operations.ObjectOps.__repr__(System.Object)"> |
||
2700 | <summary> |
||
2701 | Returns the code representation of the object. The default implementation returns |
||
2702 | a string which consists of the type and a unique numerical identifier. |
||
2703 | </summary> |
||
2704 | </member> |
||
2705 | <member name="M:IronPython.Runtime.Operations.ObjectOps.__setattr__(IronPython.Runtime.CodeContext,System.Object,System.String,System.Object)"> |
||
2706 | <summary> |
||
2707 | Sets an attribute on the object without running any custom object defined behavior. |
||
2708 | </summary> |
||
2709 | </member> |
||
2710 | <member name="M:IronPython.Runtime.Operations.ObjectOps.__sizeof__(System.Object)"> |
||
2711 | <summary> |
||
2712 | Returns the number of bytes of memory required to allocate the object. |
||
2713 | </summary> |
||
2714 | </member> |
||
2715 | <member name="M:IronPython.Runtime.Operations.ObjectOps.__str__(IronPython.Runtime.CodeContext,System.Object)"> |
||
2716 | <summary> |
||
2717 | Returns a friendly string representation of the object. |
||
2718 | </summary> |
||
2719 | </member> |
||
2720 | <member name="M:IronPython.Runtime.Operations.ObjectOps.GetInitializedSlotValues(System.Object)"> |
||
2721 | <summary> |
||
2722 | Return a dict that maps slot names to slot values, but only include slots that have been assigned to. |
||
2723 | Looks up slots in base types as well as the current type. |
||
2724 | |||
2725 | Sort-of Python equivalent (doesn't look up base slots, while the real code does): |
||
2726 | return dict([(slot, getattr(self, slot)) for slot in type(self).__slots__ if hasattr(self, slot)]) |
||
2727 | |||
2728 | Return null if the object has no __slots__, or empty dict if it has __slots__ but none are initialized. |
||
2729 | </summary> |
||
2730 | </member> |
||
2731 | <member name="M:IronPython.Runtime.Operations.ObjectOps.ReduceProtocol0(IronPython.Runtime.CodeContext,System.Object)"> |
||
2732 | <summary> |
||
2733 | Implements the default __reduce_ex__ method as specified by PEP 307 case 2 (new-style instance, protocol 0 or 1) |
||
2734 | </summary> |
||
2735 | </member> |
||
2736 | <member name="M:IronPython.Runtime.Operations.ObjectOps.FindClosestNonPythonBase(IronPython.Runtime.Types.PythonType)"> |
||
2737 | <summary> |
||
2738 | Returns the closest base class (in terms of MRO) that isn't defined in Python code |
||
2739 | </summary> |
||
2740 | </member> |
||
2741 | <member name="M:IronPython.Runtime.Operations.ObjectOps.ReduceProtocol2(IronPython.Runtime.CodeContext,System.Object)"> |
||
2742 | <summary> |
||
2743 | Implements the default __reduce_ex__ method as specified by PEP 307 case 3 (new-style instance, protocol 2) |
||
2744 | </summary> |
||
2745 | </member> |
||
2746 | <member name="T:IronPython.Runtime.Operations.PythonOps"> |
||
2747 | <summary> |
||
2748 | Contains functions that are called directly from |
||
2749 | generated code to perform low-level runtime functionality. |
||
2750 | </summary> |
||
2751 | </member> |
||
2752 | <member name="M:IronPython.Runtime.Operations.PythonOps.MakeDictFromItems(System.Object[])"> |
||
2753 | <summary> |
||
2754 | Creates a new dictionary extracting the keys and values from the |
||
2755 | provided data array. Keys/values are adjacent in the array with |
||
2756 | the value coming first. |
||
2757 | </summary> |
||
2758 | </member> |
||
2759 | <member name="M:IronPython.Runtime.Operations.PythonOps.MakeHomogeneousDictFromItems(System.Object[])"> |
||
2760 | <summary> |
||
2761 | Creates a new dictionary extracting the keys and values from the |
||
2762 | provided data array. Keys/values are adjacent in the array with |
||
2763 | the value coming first. |
||
2764 | </summary> |
||
2765 | </member> |
||
2766 | <member name="M:IronPython.Runtime.Operations.PythonOps.MultiplySequence``1(IronPython.Runtime.Operations.PythonOps.MultiplySequenceWorker{``0},``0,IronPython.Runtime.Index,System.Boolean)"> |
||
2767 | <summary> |
||
2768 | Wraps up all the semantics of multiplying sequences so that all of our sequences |
||
2769 | don't duplicate the same logic. When multiplying sequences we need to deal with |
||
2770 | only multiplying by valid sequence types (ints, not floats), support coercion |
||
2771 | to integers if the type supports it, not multiplying by None, and getting the |
||
2772 | right semantics for multiplying by negative numbers and 1 (w/ and w/o subclasses). |
||
2773 | |||
2774 | This function assumes that it is only called for case where count is not implicitly |
||
2775 | coercible to int so that check is skipped. |
||
2776 | </summary> |
||
2777 | </member> |
||
2778 | <member name="M:IronPython.Runtime.Operations.PythonOps.CallWithContextAndThis(IronPython.Runtime.CodeContext,System.Object,System.Object,System.Object[])"> |
||
2779 | <summary> |
||
2780 | Supports calling of functions that require an explicit 'this' |
||
2781 | Currently, we check if the function object implements the interface |
||
2782 | that supports calling with 'this'. If not, the 'this' object is dropped |
||
2783 | and a normal call is made. |
||
2784 | </summary> |
||
2785 | </member> |
||
2786 | <member name="M:IronPython.Runtime.Operations.PythonOps.CheckInitializedAttribute(System.Object,System.Object,System.String)"> |
||
2787 | <summary> |
||
2788 | Called from generated code emitted by NewTypeMaker. |
||
2789 | </summary> |
||
2790 | </member> |
||
2791 | <member name="M:IronPython.Runtime.Operations.PythonOps.GetUserDescriptor(System.Object,System.Object,System.Object)"> |
||
2792 | <summary> |
||
2793 | Handles the descriptor protocol for user-defined objects that may implement __get__ |
||
2794 | </summary> |
||
2795 | </member> |
||
2796 | <member name="M:IronPython.Runtime.Operations.PythonOps.TrySetUserDescriptor(System.Object,System.Object,System.Object)"> |
||
2797 | <summary> |
||
2798 | Handles the descriptor protocol for user-defined objects that may implement __set__ |
||
2799 | </summary> |
||
2800 | </member> |
||
2801 | <member name="M:IronPython.Runtime.Operations.PythonOps.TryDeleteUserDescriptor(System.Object,System.Object)"> |
||
2802 | <summary> |
||
2803 | Handles the descriptor protocol for user-defined objects that may implement __delete__ |
||
2804 | </summary> |
||
2805 | </member> |
||
2806 | <member name="M:IronPython.Runtime.Operations.PythonOps.RaiseAssertionError(System.Object)"> |
||
2807 | <summary> |
||
2808 | Python runtime helper for raising assertions. Used by AssertStatement. |
||
2809 | </summary> |
||
2810 | <param name="msg">Object representing the assertion message</param> |
||
2811 | </member> |
||
2812 | <member name="M:IronPython.Runtime.Operations.PythonOps.MakeList"> |
||
2813 | <summary> |
||
2814 | Python runtime helper to create instance of Python List object. |
||
2815 | </summary> |
||
2816 | <returns>New instance of List</returns> |
||
2817 | </member> |
||
2818 | <member name="M:IronPython.Runtime.Operations.PythonOps.MakeList(System.Object[])"> |
||
2819 | <summary> |
||
2820 | Python runtime helper to create a populated instance of Python List object. |
||
2821 | </summary> |
||
2822 | </member> |
||
2823 | <member name="M:IronPython.Runtime.Operations.PythonOps.MakeListNoCopy(System.Object[])"> |
||
2824 | <summary> |
||
2825 | Python runtime helper to create a populated instance of Python List object w/o |
||
2826 | copying the array contents. |
||
2827 | </summary> |
||
2828 | </member> |
||
2829 | <member name="M:IronPython.Runtime.Operations.PythonOps.MakeListFromSequence(System.Object)"> |
||
2830 | <summary> |
||
2831 | Python runtime helper to create a populated instance of Python List object. |
||
2832 | |||
2833 | List is populated by arbitrary user defined object. |
||
2834 | </summary> |
||
2835 | </member> |
||
2836 | <member name="M:IronPython.Runtime.Operations.PythonOps.MakeEmptyList(System.Int32)"> |
||
2837 | <summary> |
||
2838 | Python runtime helper to create an instance of Python List object. |
||
2839 | |||
2840 | List has the initial provided capacity. |
||
2841 | </summary> |
||
2842 | </member> |
||
2843 | <member name="M:IronPython.Runtime.Operations.PythonOps.MakeTuple(System.Object[])"> |
||
2844 | <summary> |
||
2845 | Python runtime helper to create an instance of Tuple |
||
2846 | </summary> |
||
2847 | <param name="items"></param> |
||
2848 | <returns></returns> |
||
2849 | </member> |
||
2850 | <member name="M:IronPython.Runtime.Operations.PythonOps.MakeTupleFromSequence(System.Object)"> |
||
2851 | <summary> |
||
2852 | Python runtime helper to create an instance of Tuple |
||
2853 | </summary> |
||
2854 | <param name="items"></param> |
||
2855 | </member> |
||
2856 | <member name="M:IronPython.Runtime.Operations.PythonOps.GetEnumeratorValues(IronPython.Runtime.CodeContext,System.Object,System.Int32)"> |
||
2857 | <summary> |
||
2858 | Python Runtime Helper for enumerator unpacking (tuple assignments, ...) |
||
2859 | Creates enumerator from the input parameter e, and then extracts |
||
2860 | expected number of values, returning them as array |
||
2861 | |||
2862 | If the input is a Python tuple returns the tuples underlying data array. Callers |
||
2863 | should not mutate the resulting tuple. |
||
2864 | </summary> |
||
2865 | <param name="context">The code context of the AST getting enumerator values.</param> |
||
2866 | <param name="e">object to enumerate</param> |
||
2867 | <param name="expected">expected number of objects to extract from the enumerator</param> |
||
2868 | <returns> |
||
2869 | array of objects (.Lengh == expected) if exactly expected objects are in the enumerator. |
||
2870 | Otherwise throws exception |
||
2871 | </returns> |
||
2872 | </member> |
||
2873 | <member name="M:IronPython.Runtime.Operations.PythonOps.MakeSlice(System.Object,System.Object,System.Object)"> |
||
2874 | <summary> |
||
2875 | Python runtime helper to create instance of Slice object |
||
2876 | </summary> |
||
2877 | <param name="start">Start of the slice.</param> |
||
2878 | <param name="stop">End of the slice.</param> |
||
2879 | <param name="step">Step of the slice.</param> |
||
2880 | <returns>Slice</returns> |
||
2881 | </member> |
||
2882 | <member name="M:IronPython.Runtime.Operations.PythonOps.PrintNewline(IronPython.Runtime.CodeContext)"> |
||
2883 | <summary> |
||
2884 | Prints newline into default standard output |
||
2885 | </summary> |
||
2886 | </member> |
||
2887 | <member name="M:IronPython.Runtime.Operations.PythonOps.PrintNewlineWithDest(IronPython.Runtime.CodeContext,System.Object)"> |
||
2888 | <summary> |
||
2889 | Prints newline into specified destination. Sets softspace property to false. |
||
2890 | </summary> |
||
2891 | </member> |
||
2892 | <member name="M:IronPython.Runtime.Operations.PythonOps.PrintComma(IronPython.Runtime.CodeContext,System.Object)"> |
||
2893 | <summary> |
||
2894 | Prints value into default standard output with Python comma semantics. |
||
2895 | </summary> |
||
2896 | </member> |
||
2897 | <member name="M:IronPython.Runtime.Operations.PythonOps.PrintCommaWithDest(IronPython.Runtime.CodeContext,System.Object,System.Object)"> |
||
2898 | <summary> |
||
2899 | Prints value into specified destination with Python comma semantics. |
||
2900 | </summary> |
||
2901 | </member> |
||
2902 | <member name="M:IronPython.Runtime.Operations.PythonOps.PrintExpressionValue(IronPython.Runtime.CodeContext,System.Object)"> |
||
2903 | <summary> |
||
2904 | Called from generated code when we are supposed to print an expression value |
||
2905 | </summary> |
||
2906 | </member> |
||
2907 | <member name="M:IronPython.Runtime.Operations.PythonOps.ImportTop(IronPython.Runtime.CodeContext,System.String,System.Int32)"> |
||
2908 | <summary> |
||
2909 | Called from generated code for: |
||
2910 | |||
2911 | import spam.eggs |
||
2912 | </summary> |
||
2913 | </member> |
||
2914 | <member name="M:IronPython.Runtime.Operations.PythonOps.ImportBottom(IronPython.Runtime.CodeContext,System.String,System.Int32)"> |
||
2915 | <summary> |
||
2916 | Python helper method called from generated code for: |
||
2917 | |||
2918 | import spam.eggs as ham |
||
2919 | </summary> |
||
2920 | </member> |
||
2921 | <member name="M:IronPython.Runtime.Operations.PythonOps.ImportWithNames(IronPython.Runtime.CodeContext,System.String,System.String[],System.Int32)"> |
||
2922 | <summary> |
||
2923 | Called from generated code for: |
||
2924 | |||
2925 | from spam import eggs1, eggs2 |
||
2926 | </summary> |
||
2927 | </member> |
||
2928 | <member name="M:IronPython.Runtime.Operations.PythonOps.ImportFrom(IronPython.Runtime.CodeContext,System.Object,System.String)"> |
||
2929 | <summary> |
||
2930 | Imports one element from the module in the context of: |
||
2931 | |||
2932 | from module import a, b, c, d |
||
2933 | |||
2934 | Called repeatedly for all elements being imported (a, b, c, d above) |
||
2935 | </summary> |
||
2936 | </member> |
||
2937 | <member name="M:IronPython.Runtime.Operations.PythonOps.ImportStar(IronPython.Runtime.CodeContext,System.String,System.Int32)"> |
||
2938 | <summary> |
||
2939 | Called from generated code for: |
||
2940 | |||
2941 | from spam import * |
||
2942 | </summary> |
||
2943 | </member> |
||
2944 | <member name="M:IronPython.Runtime.Operations.PythonOps.UnqualifiedExec(IronPython.Runtime.CodeContext,System.Object)"> |
||
2945 | <summary> |
||
2946 | Unqualified exec statement support. |
||
2947 | A Python helper which will be called for the statement: |
||
2948 | |||
2949 | exec code |
||
2950 | </summary> |
||
2951 | </member> |
||
2952 | <member name="M:IronPython.Runtime.Operations.PythonOps.QualifiedExec(IronPython.Runtime.CodeContext,System.Object,IronPython.Runtime.PythonDictionary,System.Object)"> |
||
2953 | <summary> |
||
2954 | Qualified exec statement support, |
||
2955 | Python helper which will be called for the statement: |
||
2956 | |||
2957 | exec code in globals [, locals ] |
||
2958 | </summary> |
||
2959 | </member> |
||
2960 | <member name="M:IronPython.Runtime.Operations.PythonOps.BuildExceptionInfo(IronPython.Runtime.CodeContext,System.Exception)"> |
||
2961 | <summary> |
||
2962 | Called from generated code at the start of a catch block. |
||
2963 | </summary> |
||
2964 | </member> |
||
2965 | <member name="M:IronPython.Runtime.Operations.PythonOps.GetExceptionInfo(IronPython.Runtime.CodeContext)"> |
||
2966 | <summary> |
||
2967 | Get an exception tuple for the "current" exception. This is used for sys.exc_info() |
||
2968 | </summary> |
||
2969 | </member> |
||
2970 | <member name="M:IronPython.Runtime.Operations.PythonOps.GetExceptionInfoLocal(IronPython.Runtime.CodeContext,System.Exception)"> |
||
2971 | <summary> |
||
2972 | Get an exception tuple for a given exception. This is like the inverse of MakeException. |
||
2973 | </summary> |
||
2974 | <param name="context">the code context</param> |
||
2975 | <param name="ex">the exception to create a tuple for.</param> |
||
2976 | <returns>a tuple of (type, value, traceback)</returns> |
||
2977 | <remarks>This is called directly by the With statement so that it can get an exception tuple |
||
2978 | in its own private except handler without disturbing the thread-wide sys.exc_info(). </remarks> |
||
2979 | </member> |
||
2980 | <member name="M:IronPython.Runtime.Operations.PythonOps.MakeRethrownException(IronPython.Runtime.CodeContext)"> |
||
2981 | <summary> |
||
2982 | helper function for re-raised exceptions. |
||
2983 | </summary> |
||
2984 | </member> |
||
2985 | <member name="M:IronPython.Runtime.Operations.PythonOps.MakeRethrowExceptionWorker(System.Exception)"> |
||
2986 | <summary> |
||
2987 | helper function for re-raised exception. |
||
2988 | This entry point is used by 'raise' inside 'with' statement |
||
2989 | </summary> |
||
2990 | <param name="e"></param> |
||
2991 | <returns></returns> |
||
2992 | </member> |
||
2993 | <member name="M:IronPython.Runtime.Operations.PythonOps.MakeException(IronPython.Runtime.CodeContext,System.Object,System.Object,System.Object)"> |
||
2994 | <summary> |
||
2995 | helper function for non-re-raise exceptions. |
||
2996 | |||
2997 | type is the type of exception to throw or an instance. If it |
||
2998 | is an instance then value should be null. |
||
2999 | |||
3000 | If type is a type then value can either be an instance of type, |
||
3001 | a Tuple, or a single value. This case is handled by EC.CreateThrowable. |
||
3002 | </summary> |
||
3003 | </member> |
||
3004 | <member name="M:IronPython.Runtime.Operations.PythonOps.ExtractAnyArgument(IronPython.Runtime.PythonFunction,System.String,System.Int32,IronPython.Runtime.List,System.Collections.IDictionary)"> |
||
3005 | <summary> |
||
3006 | Extracts an argument from either the dictionary or params |
||
3007 | </summary> |
||
3008 | </member> |
||
3009 | <member name="M:IronPython.Runtime.Operations.PythonOps.InitializeUserTypeSlots(IronPython.Runtime.Types.PythonType)"> |
||
3010 | <summary> |
||
3011 | Creates a new array the values set to Uninitialized.Instance. The array |
||
3012 | is large enough to hold for all of the slots allocated for the type and |
||
3013 | its sub types. |
||
3014 | </summary> |
||
3015 | </member> |
||
3016 | <member name="M:IronPython.Runtime.Operations.PythonOps.IsNumericObject(System.Object)"> |
||
3017 | <summary> |
||
3018 | Helper to determine if the value is a simple numeric type (int or big int or bool) - used for OldInstance |
||
3019 | deprecated form of slicing. |
||
3020 | </summary> |
||
3021 | </member> |
||
3022 | <member name="M:IronPython.Runtime.Operations.PythonOps.IsNumericType(System.Type)"> |
||
3023 | <summary> |
||
3024 | Helper to determine if the type is a simple numeric type (int or big int or bool) - used for OldInstance |
||
3025 | deprecated form of slicing. |
||
3026 | </summary> |
||
3027 | </member> |
||
3028 | <member name="M:IronPython.Runtime.Operations.PythonOps.IsNonExtensibleNumericType(System.Type)"> |
||
3029 | <summary> |
||
3030 | Helper to determine if the type is a simple numeric type (int or big int or bool) but not a subclass |
||
3031 | </summary> |
||
3032 | </member> |
||
3033 | <member name="M:IronPython.Runtime.Operations.PythonOps.NormalizeBigInteger(System.Object,System.Numerics.BigInteger,System.Nullable{System.Int32}@)"> |
||
3034 | <summary> |
||
3035 | For slicing. Fixes up a BigInteger and returns an integer w/ the length of the |
||
3036 | object added if the value is negative. |
||
3037 | </summary> |
||
3038 | </member> |
||
3039 | <member name="M:IronPython.Runtime.Operations.PythonOps.GetLengthOnce(System.Object,System.Nullable{System.Int32}@)"> |
||
3040 | <summary> |
||
3041 | For slicing. Gets the length of the object, used to only get the length once. |
||
3042 | </summary> |
||
3043 | </member> |
||
3044 | <member name="M:IronPython.Runtime.Operations.PythonOps.CheckTypeVersion(System.Object,System.Int32)"> |
||
3045 | <summary> |
||
3046 | Helper method for DynamicSite rules that check the version of their dynamic object |
||
3047 | TODO - Remove this method for more direct field accesses |
||
3048 | </summary> |
||
3049 | <param name="o"></param> |
||
3050 | <param name="version"></param> |
||
3051 | <returns></returns> |
||
3052 | </member> |
||
3053 | <member name="M:IronPython.Runtime.Operations.PythonOps.TestBoundBuiltinFunction(IronPython.Runtime.Types.BuiltinFunction,System.Object)"> |
||
3054 | <summary> |
||
3055 | Called from generated code. Gets a builtin function and the BuiltinFunctionData associated |
||
3056 | with the object. Tests to see if the function is bound and has the same data for the generated |
||
3057 | rule. |
||
3058 | </summary> |
||
3059 | </member> |
||
3060 | <member name="M:IronPython.Runtime.Operations.PythonOps.ConvertFromObject``1(System.Object)"> |
||
3061 | <summary> |
||
3062 | Convert object to a given type. This code is equivalent to NewTypeMaker.EmitConvertFromObject |
||
3063 | except that it happens at runtime instead of compile time. |
||
3064 | </summary> |
||
3065 | </member> |
||
3066 | <member name="M:IronPython.Runtime.Operations.PythonOps.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess)"> |
||
3067 | <summary> |
||
3068 | Provides access to AppDomain.DefineDynamicAssembly which cannot be called from a DynamicMethod |
||
3069 | </summary> |
||
3070 | </member> |
||
3071 | <member name="M:IronPython.Runtime.Operations.PythonOps.MakeNewCustomDelegate(System.Type[])"> |
||
3072 | <summary> |
||
3073 | Generates a new delegate type. The last type in the array is the return type. |
||
3074 | </summary> |
||
3075 | </member> |
||
3076 | <member name="M:IronPython.Runtime.Operations.PythonOps.MakeNewCustomDelegate(System.Type[],System.Nullable{System.Runtime.InteropServices.CallingConvention})"> |
||
3077 | <summary> |
||
3078 | Generates a new delegate type. The last type in the array is the return type. |
||
3079 | </summary> |
||
3080 | </member> |
||
3081 | <member name="M:IronPython.Runtime.Operations.PythonOps.InitializeModule(System.Reflection.Assembly,System.String,System.String[])"> |
||
3082 | <summary> |
||
3083 | Provides the entry point for a compiled module. The stub exe calls into InitializeModule which |
||
3084 | does the actual work of adding references and importing the main module. Upon completion it returns |
||
3085 | the exit code that the program reported via SystemExit or 0. |
||
3086 | </summary> |
||
3087 | </member> |
||
3088 | <member name="M:IronPython.Runtime.Operations.PythonOps.InitializeModuleEx(System.Reflection.Assembly,System.String,System.String[],System.Boolean)"> |
||
3089 | <summary> |
||
3090 | Provides the entry point for a compiled module. The stub exe calls into InitializeModule which |
||
3091 | does the actual work of adding references and importing the main module. Upon completion it returns |
||
3092 | the exit code that the program reported via SystemExit or 0. |
||
3093 | </summary> |
||
3094 | </member> |
||
3095 | <member name="M:IronPython.Runtime.Operations.PythonOps.RemoveName(IronPython.Runtime.CodeContext,System.String)"> |
||
3096 | <summary> |
||
3097 | Called from generated code, helper to remove a name |
||
3098 | </summary> |
||
3099 | </member> |
||
3100 | <member name="M:IronPython.Runtime.Operations.PythonOps.LookupName(IronPython.Runtime.CodeContext,System.String)"> |
||
3101 | <summary> |
||
3102 | Called from generated code, helper to do name lookup |
||
3103 | </summary> |
||
3104 | </member> |
||
3105 | <member name="M:IronPython.Runtime.Operations.PythonOps.SetName(IronPython.Runtime.CodeContext,System.String,System.Object)"> |
||
3106 | <summary> |
||
3107 | Called from generated code, helper to do name assignment |
||
3108 | </summary> |
||
3109 | </member> |
||
3110 | <member name="M:IronPython.Runtime.Operations.PythonOps.ToPython(System.IntPtr)"> |
||
3111 | <summary> |
||
3112 | Returns an IntPtr in the proper way to CPython - an int or a Python long |
||
3113 | </summary> |
||
3114 | </member> |
||
3115 | <member name="M:IronPython.Runtime.Operations.PythonOps.MakeExceptionTypeError(System.Object)"> |
||
3116 | <summary> |
||
3117 | Create at TypeError exception for when Raise() can't create the exception requested. |
||
3118 | </summary> |
||
3119 | <param name="type">original type of exception requested</param> |
||
3120 | <returns>a TypeEror exception</returns> |
||
3121 | </member> |
||
3122 | <member name="M:IronPython.Runtime.Operations.PythonOps.GetDynamicStackFrames(System.Exception)"> |
||
3123 | <summary> |
||
3124 | Gets a list of DynamicStackFrames for the given exception. These stack frames |
||
3125 | can be programmatically inspected to understand the frames the exception crossed |
||
3126 | through including Python frames. |
||
3127 | |||
3128 | Dynamic stack frames are not preserved when an exception crosses an app domain |
||
3129 | boundary. |
||
3130 | </summary> |
||
3131 | </member> |
||
3132 | <member name="T:IronPython.Runtime.Operations.UnicodeHelper"> |
||
3133 | <summary> |
||
3134 | Helper clas for calls to unicode(...). We generate code which checks if unicode |
||
3135 | is str and if it is we redirect those calls to the unicode function defined on this |
||
3136 | class. |
||
3137 | </summary> |
||
3138 | </member> |
||
3139 | <member name="T:IronPython.Runtime.Operations.ExtensibleString"> |
||
3140 | <summary> |
||
3141 | ExtensibleString is the base class that is used for types the user defines |
||
3142 | that derive from string. It carries along with it the string's value and |
||
3143 | our converter recognizes it as a string. |
||
3144 | </summary> |
||
3145 | </member> |
||
3146 | <member name="T:IronPython.Runtime.Operations.StringOps"> |
||
3147 | <summary> |
||
3148 | StringOps is the static class that contains the methods defined on strings, i.e. 'abc' |
||
3149 | |||
3150 | Here we define all of the methods that a Python user would see when doing dir('abc'). |
||
3151 | If the user is running in a CLS aware context they will also see all of the methods |
||
3152 | defined in the CLS System.String type. |
||
3153 | </summary> |
||
3154 | </member> |
||
3155 | <member name="M:IronPython.Runtime.Operations.StringOps.capitalize(System.String)"> |
||
3156 | <summary> |
||
3157 | Returns a copy of this string converted to uppercase |
||
3158 | </summary> |
||
3159 | </member> |
||
3160 | <member name="M:IronPython.Runtime.Operations.StringOps.istitle(System.String)"> |
||
3161 | <summary> |
||
3162 | return true if self is a titlecased string and there is at least one |
||
3163 | character in self; also, uppercase characters may only follow uncased |
||
3164 | characters (e.g. whitespace) and lowercase characters only cased ones. |
||
3165 | return false otherwise. |
||
3166 | </summary> |
||
3167 | </member> |
||
3168 | <member name="M:IronPython.Runtime.Operations.StringOps.join(System.String,System.Object)"> |
||
3169 | <summary> |
||
3170 | Return a string which is the concatenation of the strings |
||
3171 | in the sequence seq. The separator between elements is the |
||
3172 | string providing this method |
||
3173 | </summary> |
||
3174 | </member> |
||
3175 | <member name="M:IronPython.Runtime.Operations.StringOps.format(IronPython.Runtime.CodeContext,System.String,System.Object[])"> |
||
3176 | <summary> |
||
3177 | Replaces each replacement field in the string with the provided arguments. |
||
3178 | |||
3179 | replacement_field = "{" field_name ["!" conversion] [":" format_spec] "}" |
||
3180 | field_name = (identifier | integer) ("." identifier | "[" element_index "]")* |
||
3181 | |||
3182 | format_spec: [[fill]align][sign][#][0][width][,][.precision][type] |
||
3183 | |||
3184 | Conversion can be 'r' for repr or 's' for string. |
||
3185 | </summary> |
||
3186 | </member> |
||
3187 | <member name="M:IronPython.Runtime.Operations.StringOps.format(IronPython.Runtime.CodeContext,System.String,System.Collections.Generic.IDictionary{System.Object,System.Object},System.Object[])"> |
||
3188 | <summary> |
||
3189 | Replaces each replacement field in the string with the provided arguments. |
||
3190 | |||
3191 | replacement_field = "{" field_name ["!" conversion] [":" format_spec] "}" |
||
3192 | field_name = (identifier | integer) ("." identifier | "[" element_index "]")* |
||
3193 | |||
3194 | format_spec: [[fill]align][sign][#][0][width][.precision][type] |
||
3195 | |||
3196 | Conversion can be 'r' for repr or 's' for string. |
||
3197 | </summary> |
||
3198 | </member> |
||
3199 | <member name="M:IronPython.Runtime.Operations.StringOps.GetStartingOffset(System.Text.Encoding,System.Byte[])"> |
||
3200 | <summary> |
||
3201 | Gets the starting offset checking to see if the incoming bytes already include a preamble. |
||
3202 | </summary> |
||
3203 | </member> |
||
3204 | <member name="T:IronPython.Runtime.Operations.StringOps.PythonEncoderFallbackBuffer"> |
||
3205 | When encoding or decoding strings if an error occurs CPython supports several different |
||
3206 | behaviors, in addition it supports user-extensible behaviors as well. For the default |
||
3207 | behavior we're ok - both of us support throwing and replacing. For custom behaviors |
||
3208 | we define a single fallback for decoding and encoding that calls the python function to do |
||
3209 | the replacement. |
||
3210 | |||
3211 | When we do the replacement we call the provided handler w/ a UnicodeEncodeError or UnicodeDecodeError |
||
3212 | object which contains: |
||
3213 | encoding (string, the encoding the user requested) |
||
3214 | end (the end of the invalid characters) |
||
3215 | object (the original string being decoded) |
||
3216 | reason (the error, e.g. 'unexpected byte code', not sure of others) |
||
3217 | start (the start of the invalid sequence) |
||
3218 | |||
3219 | The decoder returns a tuple of (unicode, int) where unicode is the replacement string |
||
3220 | and int is an index where encoding should continue. |
||
3221 | </member> |
||
3222 | <member name="M:IronPython.Runtime.Operations.TypeGroupOps.GetItem(Microsoft.Scripting.Actions.TypeGroup,IronPython.Runtime.Types.PythonType[])"> |
||
3223 | <summary> |
||
3224 | Indexer for generic parameter resolution. We bind to one of the generic versions |
||
3225 | available in this type collision. A user can also do someType[()] to force to |
||
3226 | bind to the non-generic version, but we will always present the non-generic version |
||
3227 | when no bindings are available. |
||
3228 | </summary> |
||
3229 | </member> |
||
3230 | <member name="M:IronPython.Runtime.Operations.UserTypeOps.ToStringHelper(IronPython.Runtime.Types.IPythonObject)"> |
||
3231 | <summary> |
||
3232 | Object.ToString() displays the CLI type name. But we want to display the class name (e.g. |
||
3233 | '<foo object at 0x000000000000002C>' unless we've overridden __repr__ but not __str__ in |
||
3234 | which case we'll display the result of __repr__. |
||
3235 | </summary> |
||
3236 | </member> |
||
3237 | <member name="T:IronPython.Runtime.Operations.UserTypeDebugView"> |
||
3238 | <summary> |
||
3239 | Provides a debug view for user defined types. This class is declared as public |
||
3240 | because it is referred to from generated code. You should not use this class. |
||
3241 | </summary> |
||
3242 | </member> |
||
3243 | <member name="T:IronPython.Runtime.Operations.IDelegateConvertible"> |
||
3244 | <summary> |
||
3245 | Interface used for things which can convert to delegates w/o code gen. Currently |
||
3246 | this is just non-overloaded builtin functions and bound builtin functions. Avoiding |
||
3247 | the code gen is not only nice for compilation but it also enables delegates to be added |
||
3248 | in C# and removed in Python. |
||
3249 | </summary> |
||
3250 | </member> |
||
3251 | <member name="T:IronPython.Runtime.PythonHiddenBaseClassAttribute"> |
||
3252 | <summary> |
||
3253 | Marks a class as being hidden from the Python hierarchy. This is applied to the base class |
||
3254 | and then all derived types will not see the base class in their hierarchy and will not be |
||
3255 | able to access members declaredo on the base class. |
||
3256 | </summary> |
||
3257 | </member> |
||
3258 | <member name="T:IronPython.Runtime.SequenceTypeInfoAttribute"> |
||
3259 | <summary> |
||
3260 | Provides more specific type information for Python lists which are not strongly typed. |
||
3261 | |||
3262 | This attribute can be applied to fields, parameters, proeprties, and return values. It can be |
||
3263 | inspected to get type information about the types of the values of the expected |
||
3264 | list or the returned list. |
||
3265 | </summary> |
||
3266 | </member> |
||
3267 | <member name="T:IronPython.Runtime.ModuleContext"> |
||
3268 | <summary> |
||
3269 | Captures the globals and other state of module code. |
||
3270 | </summary> |
||
3271 | </member> |
||
3272 | <member name="M:IronPython.Runtime.ModuleContext.#ctor(IronPython.Runtime.PythonDictionary,IronPython.Runtime.PythonContext)"> |
||
3273 | <summary> |
||
3274 | Creates a new ModuleContext which is backed by the specified dictionary. |
||
3275 | </summary> |
||
3276 | </member> |
||
3277 | <member name="M:IronPython.Runtime.ModuleContext.#ctor(IronPython.Runtime.PythonModule,IronPython.Runtime.PythonContext)"> |
||
3278 | <summary> |
||
3279 | Creates a new ModuleContext for the specified module. |
||
3280 | </summary> |
||
3281 | </member> |
||
3282 | <member name="P:IronPython.Runtime.ModuleContext.Globals"> |
||
3283 | <summary> |
||
3284 | Gets the dictionary used for the global variables in the module |
||
3285 | </summary> |
||
3286 | </member> |
||
3287 | <member name="P:IronPython.Runtime.ModuleContext.Context"> |
||
3288 | <summary> |
||
3289 | Gets the language context which created this module. |
||
3290 | </summary> |
||
3291 | </member> |
||
3292 | <member name="P:IronPython.Runtime.ModuleContext.GlobalScope"> |
||
3293 | <summary> |
||
3294 | Gets the DLR Scope object which is associated with the modules dictionary. |
||
3295 | </summary> |
||
3296 | </member> |
||
3297 | <member name="P:IronPython.Runtime.ModuleContext.GlobalContext"> |
||
3298 | <summary> |
||
3299 | Gets the global CodeContext object which is used for execution of top-level code. |
||
3300 | </summary> |
||
3301 | </member> |
||
3302 | <member name="P:IronPython.Runtime.ModuleContext.Module"> |
||
3303 | <summary> |
||
3304 | Gets the module object which this code is executing in. |
||
3305 | |||
3306 | This module may or may not be published in sys.modules. For user defined |
||
3307 | code typically the module gets published at the start of execution. But if |
||
3308 | this ModuleContext is attached to a Scope, or if we've just created a new |
||
3309 | module context for executing code it will not be in sys.modules. |
||
3310 | </summary> |
||
3311 | </member> |
||
3312 | <member name="P:IronPython.Runtime.ModuleContext.Features"> |
||
3313 | <summary> |
||
3314 | Gets the features that code has been compiled with in the module. |
||
3315 | </summary> |
||
3316 | </member> |
||
3317 | <member name="P:IronPython.Runtime.ModuleContext.ShowCls"> |
||
3318 | <summary> |
||
3319 | Gets or sets whether code running in this context should display |
||
3320 | CLR members (for example .ToString on objects). |
||
3321 | </summary> |
||
3322 | </member> |
||
3323 | <member name="M:IronPython.Runtime.ModuleContext.InitializeBuiltins(System.Boolean)"> |
||
3324 | <summary> |
||
3325 | Initializes __builtins__ for the module scope. |
||
3326 | </summary> |
||
3327 | </member> |
||
3328 | <member name="T:IronPython.Runtime.ModuleGlobalCache"> |
||
3329 | <summary> |
||
3330 | Cached global value. Created and maintained on a per-language basis. Default |
||
3331 | implementation returns a singleton which indicates caching is not occuring. |
||
3332 | </summary> |
||
3333 | </member> |
||
3334 | <member name="M:IronPython.Runtime.ModuleGlobalCache.#ctor(System.Object)"> |
||
3335 | <summary> |
||
3336 | Creates a new ModuleGlobalCache with the specified value. |
||
3337 | </summary> |
||
3338 | </member> |
||
3339 | <member name="P:IronPython.Runtime.ModuleGlobalCache.IsCaching"> |
||
3340 | <summary> |
||
3341 | True if the ModuleGlobalCache is participating in a caching strategy. |
||
3342 | </summary> |
||
3343 | </member> |
||
3344 | <member name="P:IronPython.Runtime.ModuleGlobalCache.HasValue"> |
||
3345 | <summary> |
||
3346 | True if there is currently a value associated with this global variable. False if |
||
3347 | it is currently unassigned. |
||
3348 | </summary> |
||
3349 | </member> |
||
3350 | <member name="P:IronPython.Runtime.ModuleGlobalCache.Value"> |
||
3351 | <summary> |
||
3352 | Gets or sets the current cached value |
||
3353 | </summary> |
||
3354 | </member> |
||
3355 | <member name="M:IronPython.Runtime.ModuleGlobalCache.Changed(System.Object,Microsoft.Scripting.Runtime.ModuleChangeEventArgs)"> |
||
3356 | <summary> |
||
3357 | Event handler for when the value has changed. Language implementors should call this when |
||
3358 | the cached value is invalidated. |
||
3359 | </summary> |
||
3360 | </member> |
||
3361 | <member name="F:IronPython.Runtime.ModuleOptions.TrueDivision"> |
||
3362 | <summary> |
||
3363 | Enable true division (1/2 == .5) |
||
3364 | </summary> |
||
3365 | </member> |
||
3366 | <member name="F:IronPython.Runtime.ModuleOptions.ShowClsMethods"> |
||
3367 | <summary> |
||
3368 | Indicates that .NET methods such as .ToString should be available on Python objects. |
||
3369 | </summary> |
||
3370 | </member> |
||
3371 | <member name="F:IronPython.Runtime.ModuleOptions.Optimized"> |
||
3372 | <summary> |
||
3373 | Indicates that the module should be generated in an optimal form which will result |
||
3374 | in it being uncollectable. |
||
3375 | </summary> |
||
3376 | </member> |
||
3377 | <member name="F:IronPython.Runtime.ModuleOptions.Initialize"> |
||
3378 | <summary> |
||
3379 | Indicates when the module should be executed immedatiately upon creation. |
||
3380 | </summary> |
||
3381 | </member> |
||
3382 | <member name="F:IronPython.Runtime.ModuleOptions.WithStatement"> |
||
3383 | <summary> |
||
3384 | Enable usage of the with statement |
||
3385 | </summary> |
||
3386 | </member> |
||
3387 | <member name="F:IronPython.Runtime.ModuleOptions.AbsoluteImports"> |
||
3388 | <summary> |
||
3389 | Enable absolute imports |
||
3390 | </summary> |
||
3391 | </member> |
||
3392 | <member name="F:IronPython.Runtime.ModuleOptions.NoBuiltins"> |
||
3393 | <summary> |
||
3394 | Indiciates that __builtins__ should not be set in the module |
||
3395 | </summary> |
||
3396 | </member> |
||
3397 | <member name="F:IronPython.Runtime.ModuleOptions.ModuleBuiltins"> |
||
3398 | <summary> |
||
3399 | Indiciates that when the module is initialized it should set __builtins__ to the __builtin__ module |
||
3400 | instead of the __builtin__ dictionary. |
||
3401 | </summary> |
||
3402 | </member> |
||
3403 | <member name="F:IronPython.Runtime.ModuleOptions.ExecOrEvalCode"> |
||
3404 | <summary> |
||
3405 | Marks code as being created for exec, eval. Code generated this way will |
||
3406 | be capable of running against different scopes and will do lookups at runtime |
||
3407 | for free global variables. |
||
3408 | </summary> |
||
3409 | </member> |
||
3410 | <member name="F:IronPython.Runtime.ModuleOptions.SkipFirstLine"> |
||
3411 | <summary> |
||
3412 | Indiciates that the first line of code should be skipped. |
||
3413 | </summary> |
||
3414 | </member> |
||
3415 | <member name="F:IronPython.Runtime.ModuleOptions.PrintFunction"> |
||
3416 | <summary> |
||
3417 | Enable usage of print as a function for better compatibility with Python 3.0. |
||
3418 | </summary> |
||
3419 | </member> |
||
3420 | <member name="F:IronPython.Runtime.ModuleOptions.Interpret"> |
||
3421 | <summary> |
||
3422 | Forces the code to be interpreted rather than compiled |
||
3423 | </summary> |
||
3424 | </member> |
||
3425 | <member name="F:IronPython.Runtime.ModuleOptions.UnicodeLiterals"> |
||
3426 | <summary> |
||
3427 | String Literals should be parsed as Unicode strings |
||
3428 | </summary> |
||
3429 | </member> |
||
3430 | <member name="F:IronPython.Runtime.ModuleOptions.Verbatim"> |
||
3431 | <summary> |
||
3432 | Include comments in the parse tree |
||
3433 | </summary> |
||
3434 | </member> |
||
3435 | <member name="F:IronPython.Runtime.ModuleOptions.LightThrow"> |
||
3436 | <summary> |
||
3437 | Generated code should support light exceptions |
||
3438 | </summary> |
||
3439 | </member> |
||
3440 | <member name="T:IronPython.Runtime.Profiler"> |
||
3441 | <summary> |
||
3442 | Manages the acquisition of profiling data for a single ScriptRuntime |
||
3443 | </summary> |
||
3444 | </member> |
||
3445 | <member name="M:IronPython.Runtime.Profiler.GetProfiler(IronPython.Runtime.PythonContext)"> |
||
3446 | <summary> |
||
3447 | Get the unique Profiler instance for this ScriptRuntime |
||
3448 | </summary> |
||
3449 | </member> |
||
3450 | <member name="M:IronPython.Runtime.Profiler.GetProfilerIndex(System.Reflection.MethodBase)"> |
||
3451 | <summary> |
||
3452 | Given a MethodBase, return an index into the array of perf data. Treat each |
||
3453 | CLR method as unique. |
||
3454 | </summary> |
||
3455 | </member> |
||
3456 | <member name="M:IronPython.Runtime.Profiler.GetProfilerIndex(System.String)"> |
||
3457 | <summary> |
||
3458 | Given the unique name of something we're profiling, return an index into the array of perf data. |
||
3459 | </summary> |
||
3460 | </member> |
||
3461 | <member name="M:IronPython.Runtime.Profiler.GetNewProfilerIndex(System.String)"> |
||
3462 | <summary> |
||
3463 | Add a new profiler entry. Not all names are unique. |
||
3464 | </summary> |
||
3465 | </member> |
||
3466 | <member name="M:IronPython.Runtime.Profiler.GetProfile(System.Boolean)"> |
||
3467 | <summary> |
||
3468 | Gets the current summary of profile data |
||
3469 | </summary> |
||
3470 | </member> |
||
3471 | <member name="M:IronPython.Runtime.Profiler.Reset"> |
||
3472 | <summary> |
||
3473 | Resets the current summary of profile data back to zero |
||
3474 | </summary> |
||
3475 | </member> |
||
3476 | <member name="M:IronPython.Runtime.Profiler.AddProfiling(System.Linq.Expressions.Expression,System.Linq.Expressions.ParameterExpression,System.String,System.Boolean)"> |
||
3477 | <summary> |
||
3478 | Adds profiling calls to a Python method. |
||
3479 | Calculates both the time spent only in this method |
||
3480 | </summary> |
||
3481 | </member> |
||
3482 | <member name="M:IronPython.Runtime.Profiler.AddProfiling(System.Linq.Expressions.Expression,System.Reflection.MethodBase)"> |
||
3483 | <summary> |
||
3484 | Wraps a call to a MethodInfo with profiling capture for that MethodInfo |
||
3485 | </summary> |
||
3486 | </member> |
||
3487 | <member name="T:IronPython.Runtime.Profiler.Data"> |
||
3488 | <summary> |
||
3489 | Encapsulates profiler data to return to clients |
||
3490 | </summary> |
||
3491 | </member> |
||
3492 | <member name="T:IronPython.Runtime.ProfilerTreatsAsExternalAttribute"> |
||
3493 | <summary> |
||
3494 | Marks that this built-in method should be treated as external by the profiler. |
||
3495 | When placed on a call emitted into a Python method, all the time spent in this |
||
3496 | call will still show up in its parent's inclusive time, but will not be |
||
3497 | part of its exclusive time. |
||
3498 | </summary> |
||
3499 | </member> |
||
3500 | <member name="M:IronPython.Runtime.CustomDictionaryStorage.GetExtraItems"> |
||
3501 | <summary> |
||
3502 | Gets all of the extra names and values stored in the dictionary. |
||
3503 | </summary> |
||
3504 | </member> |
||
3505 | <member name="M:IronPython.Runtime.CustomDictionaryStorage.TrySetExtraValue(System.String,System.Object)"> |
||
3506 | <summary> |
||
3507 | Attemps to sets a value in the extra keys. Returns true if the value is set, false if |
||
3508 | the value is not an extra key. |
||
3509 | </summary> |
||
3510 | </member> |
||
3511 | <member name="M:IronPython.Runtime.CustomDictionaryStorage.TryGetExtraValue(System.String,System.Object@)"> |
||
3512 | <summary> |
||
3513 | Attempts to get a value from the extra keys. Returns true if the value is an extra |
||
3514 | key and has a value. False if it is not an extra key or doesn't have a value. |
||
3515 | </summary> |
||
3516 | </member> |
||
3517 | <member name="M:IronPython.Runtime.CustomDictionaryStorage.TryRemoveExtraValue(System.String)"> |
||
3518 | <summary> |
||
3519 | Attempts to remove the key. Returns true if the key is removed, false |
||
3520 | if the key was not removed, or null if the key is not an extra key. |
||
3521 | </summary> |
||
3522 | </member> |
||
3523 | <member name="T:IronPython.Runtime.ByteArray"> |
||
3524 | <summary> |
||
3525 | bytearray(string, encoding[, errors]) -> bytearray |
||
3526 | bytearray(iterable) -> bytearray |
||
3527 | |||
3528 | Construct a mutable bytearray object from: |
||
3529 | - an iterable yielding values in range(256), including: |
||
3530 | + a list of integer values |
||
3531 | + a bytes, bytearray, buffer, or array object |
||
3532 | - a text string encoded using the specified encoding |
||
3533 | |||
3534 | bytearray([int]) -> bytearray |
||
3535 | |||
3536 | Construct a zero-ititialized bytearray of the specified length. |
||
3537 | (default=0) |
||
3538 | </summary> |
||
3539 | </member> |
||
3540 | <member name="M:IronPython.Runtime.ByteArray.istitle"> |
||
3541 | <summary> |
||
3542 | return true if self is a titlecased string and there is at least one |
||
3543 | character in self; also, uppercase characters may only follow uncased |
||
3544 | characters (e.g. whitespace) and lowercase characters only cased ones. |
||
3545 | return false otherwise. |
||
3546 | </summary> |
||
3547 | </member> |
||
3548 | <member name="M:IronPython.Runtime.ByteArray.join(System.Object)"> |
||
3549 | <summary> |
||
3550 | Return a string which is the concatenation of the strings |
||
3551 | in the sequence seq. The separator between elements is the |
||
3552 | string providing this method |
||
3553 | </summary> |
||
3554 | </member> |
||
3555 | <member name="M:IronPython.Runtime.Bytes.istitle"> |
||
3556 | <summary> |
||
3557 | return true if self is a titlecased string and there is at least one |
||
3558 | character in self; also, uppercase characters may only follow uncased |
||
3559 | characters (e.g. whitespace) and lowercase characters only cased ones. |
||
3560 | return false otherwise. |
||
3561 | </summary> |
||
3562 | </member> |
||
3563 | <member name="M:IronPython.Runtime.Bytes.join(System.Object)"> |
||
3564 | <summary> |
||
3565 | Return a string which is the concatenation of the strings |
||
3566 | in the sequence seq. The separator between elements is the |
||
3567 | string providing this method |
||
3568 | </summary> |
||
3569 | </member> |
||
3570 | <member name="M:IronPython.Runtime.Bytes.ToByteArray"> |
||
3571 | <summary> |
||
3572 | Returns a copy of the internal byte array. |
||
3573 | </summary> |
||
3574 | <returns> |
||
3575 | System.Byte[] |
||
3576 | </returns> |
||
3577 | </member> |
||
3578 | <member name="M:IronPython.Runtime.Bytes.GetUnsafeByteArray"> |
||
3579 | <summary> |
||
3580 | This method returns the underlying byte array directly. |
||
3581 | It should be used sparingly! |
||
3582 | </summary> |
||
3583 | <returns> |
||
3584 | System.Byte[] |
||
3585 | </returns> |
||
3586 | </member> |
||
3587 | <member name="T:IronPython.Runtime.ClassMethodAttribute"> |
||
3588 | <summary> |
||
3589 | Marks a method as being a class method. The PythonType which was used to access |
||
3590 | the method will then be passed as the first argument. |
||
3591 | </summary> |
||
3592 | </member> |
||
3593 | <member name="T:IronPython.Runtime.ClrModule"> |
||
3594 | <summary> |
||
3595 | this class contains objecs and static methods used for |
||
3596 | .NET/CLS interop with Python. |
||
3597 | </summary> |
||
3598 | </member> |
||
3599 | <member name="M:IronPython.Runtime.ClrModule.GetCurrentRuntime(IronPython.Runtime.CodeContext)"> |
||
3600 | <summary> |
||
3601 | Gets the current ScriptDomainManager that IronPython is loaded into. The |
||
3602 | ScriptDomainManager can then be used to work with the language portion of the |
||
3603 | DLR hosting APIs. |
||
3604 | </summary> |
||
3605 | </member> |
||
3606 | <member name="M:IronPython.Runtime.ClrModule.Use(IronPython.Runtime.CodeContext,System.String)"> |
||
3607 | <summary> |
||
3608 | Use(name) -> module |
||
3609 | |||
3610 | Attempts to load the specified module searching all languages in the loaded ScriptRuntime. |
||
3611 | </summary> |
||
3612 | </member> |
||
3613 | <member name="M:IronPython.Runtime.ClrModule.Use(IronPython.Runtime.CodeContext,System.String,System.String)"> |
||
3614 | <summary> |
||
3615 | Use(path, language) -> module |
||
3616 | |||
3617 | Attempts to load the specified module belonging to a specific language loaded into the |
||
3618 | current ScriptRuntime. |
||
3619 | </summary> |
||
3620 | </member> |
||
3621 | <member name="M:IronPython.Runtime.ClrModule.SetCommandDispatcher(IronPython.Runtime.CodeContext,System.Action{System.Action})"> |
||
3622 | <summary> |
||
3623 | SetCommandDispatcher(commandDispatcher) |
||
3624 | |||
3625 | Sets the current command dispatcher for the Python command line. |
||
3626 | |||
3627 | The command dispatcher will be called with a delegate to be executed. The command dispatcher |
||
3628 | should invoke the target delegate in the desired context. |
||
3629 | |||
3630 | A common use for this is to enable running all REPL commands on the UI thread while the REPL |
||
3631 | continues to run on a non-UI thread. |
||
3632 | </summary> |
||
3633 | </member> |
||
3634 | <member name="M:IronPython.Runtime.ClrModule.LoadTypeLibrary(IronPython.Runtime.CodeContext,System.Object)"> |
||
3635 | <summary> |
||
3636 | LoadTypeLibrary(rcw) -> type lib desc |
||
3637 | |||
3638 | Gets an ITypeLib object from OLE Automation compatible RCW , |
||
3639 | reads definitions of CoClass'es and Enum's from this library |
||
3640 | and creates an object that allows to instantiate coclasses |
||
3641 | and get actual values for the enums. |
||
3642 | </summary> |
||
3643 | </member> |
||
3644 | <member name="M:IronPython.Runtime.ClrModule.LoadTypeLibrary(IronPython.Runtime.CodeContext,System.Guid)"> |
||
3645 | <summary> |
||
3646 | LoadTypeLibrary(guid) -> type lib desc |
||
3647 | |||
3648 | Reads the latest registered type library for the corresponding GUID, |
||
3649 | reads definitions of CoClass'es and Enum's from this library |
||
3650 | and creates a IDynamicMetaObjectProvider that allows to instantiate coclasses |
||
3651 | and get actual values for the enums. |
||
3652 | </summary> |
||
3653 | </member> |
||
3654 | <member name="M:IronPython.Runtime.ClrModule.AddReferenceToTypeLibrary(IronPython.Runtime.CodeContext,System.Object)"> |
||
3655 | <summary> |
||
3656 | AddReferenceToTypeLibrary(rcw) -> None |
||
3657 | |||
3658 | Makes the type lib desc available for importing. See also LoadTypeLibrary. |
||
3659 | </summary> |
||
3660 | </member> |
||
3661 | <member name="M:IronPython.Runtime.ClrModule.AddReferenceToTypeLibrary(IronPython.Runtime.CodeContext,System.Guid)"> |
||
3662 | <summary> |
||
3663 | AddReferenceToTypeLibrary(guid) -> None |
||
3664 | |||
3665 | Makes the type lib desc available for importing. See also LoadTypeLibrary. |
||
3666 | </summary> |
||
3667 | </member> |
||
3668 | <member name="M:IronPython.Runtime.ClrModule.GetClrType(System.Type)"> |
||
3669 | <summary> |
||
3670 | Gets the CLR Type object from a given Python type object. |
||
3671 | </summary> |
||
3672 | </member> |
||
3673 | <member name="M:IronPython.Runtime.ClrModule.GetPythonType(System.Type)"> |
||
3674 | <summary> |
||
3675 | Gets the Python type object from a given CLR Type object. |
||
3676 | </summary> |
||
3677 | </member> |
||
3678 | <member name="M:IronPython.Runtime.ClrModule.GetDynamicType(System.Type)"> |
||
3679 | <summary> |
||
3680 | OBSOLETE: Gets the Python type object from a given CLR Type object. |
||
3681 | |||
3682 | Use clr.GetPythonType instead. |
||
3683 | </summary> |
||
3684 | </member> |
||
3685 | <member name="M:IronPython.Runtime.ClrModule.accepts(System.Object[])"> |
||
3686 | <summary> |
||
3687 | accepts(*types) -> ArgChecker |
||
3688 | |||
3689 | Decorator that returns a new callable object which will validate the arguments are of the specified types. |
||
3690 | </summary> |
||
3691 | <param name="types"></param> |
||
3692 | <returns></returns> |
||
3693 | </member> |
||
3694 | <member name="M:IronPython.Runtime.ClrModule.returns(System.Object)"> |
||
3695 | <summary> |
||
3696 | returns(type) -> ReturnChecker |
||
3697 | |||
3698 | Returns a new callable object which will validate the return type is of the specified type. |
||
3699 | </summary> |
||
3700 | </member> |
||
3701 | <member name="T:IronPython.Runtime.ClrModule.ArgChecker"> |
||
3702 | <summary> |
||
3703 | Decorator for verifying the arguments to a function are of a specified type. |
||
3704 | </summary> |
||
3705 | </member> |
||
3706 | <member name="T:IronPython.Runtime.ClrModule.RuntimeArgChecker"> |
||
3707 | <summary> |
||
3708 | Returned value when using clr.accepts/ArgChecker. Validates the argument types and |
||
3709 | then calls the original function. |
||
3710 | </summary> |
||
3711 | </member> |
||
3712 | <member name="T:IronPython.Runtime.ClrModule.ReturnChecker"> |
||
3713 | <summary> |
||
3714 | Decorator for verifying the return type of functions. |
||
3715 | </summary> |
||
3716 | </member> |
||
3717 | <member name="T:IronPython.Runtime.ClrModule.RuntimeReturnChecker"> |
||
3718 | <summary> |
||
3719 | Returned value when using clr.returns/ReturnChecker. Calls the original function and |
||
3720 | validates the return type is of a specified type. |
||
3721 | </summary> |
||
3722 | </member> |
||
3723 | <member name="M:IronPython.Runtime.ClrModule.Dir(System.Object)"> |
||
3724 | <summary> |
||
3725 | returns the result of dir(o) as-if "import clr" has not been performed. |
||
3726 | </summary> |
||
3727 | </member> |
||
3728 | <member name="M:IronPython.Runtime.ClrModule.DirClr(System.Object)"> |
||
3729 | <summary> |
||
3730 | Returns the result of dir(o) as-if "import clr" has been performed. |
||
3731 | </summary> |
||
3732 | </member> |
||
3733 | <member name="M:IronPython.Runtime.ClrModule.Convert(IronPython.Runtime.CodeContext,System.Object,System.Type)"> |
||
3734 | <summary> |
||
3735 | Attempts to convert the provided object to the specified type. Conversions that |
||
3736 | will be attempted include standard Python conversions as well as .NET implicit |
||
3737 | and explicit conversions. |
||
3738 | |||
3739 | If the conversion cannot be performed a TypeError will be raised. |
||
3740 | </summary> |
||
3741 | </member> |
||
3742 | <member name="M:IronPython.Runtime.ClrModule.CompileModules(IronPython.Runtime.CodeContext,System.String,System.Collections.Generic.IDictionary{System.String,System.Object},System.String[])"> |
||
3743 | <summary> |
||
3744 | Provides a helper for compiling a group of modules into a single assembly. The assembly can later be |
||
3745 | reloaded using the clr.AddReference API. |
||
3746 | </summary> |
||
3747 | </member> |
||
3748 | <member name="M:IronPython.Runtime.ClrModule.CompileSubclassTypes(System.String,System.Object[])"> |
||
3749 | <summary> |
||
3750 | clr.CompileSubclassTypes(assemblyName, *typeDescription) |
||
3751 | |||
3752 | Provides a helper for creating an assembly which contains pre-generated .NET |
||
3753 | base types for new-style types. |
||
3754 | |||
3755 | This assembly can then be AddReferenced or put sys.prefix\DLLs and the cached |
||
3756 | types will be used instead of generating the types at runtime. |
||
3757 | |||
3758 | This function takes the name of the assembly to save to and then an arbitrary |
||
3759 | number of parameters describing the types to be created. Each of those |
||
3760 | parameter can either be a plain type or a sequence of base types. |
||
3761 | |||
3762 | clr.CompileSubclassTypes(object) -> create a base type for object |
||
3763 | clr.CompileSubclassTypes(object, str, System.Collections.ArrayList) -> create |
||
3764 | base types for both object and ArrayList. |
||
3765 | |||
3766 | clr.CompileSubclassTypes(object, (object, IComparable)) -> create base types for |
||
3767 | object and an object which implements IComparable. |
||
3768 | |||
3769 | </summary> |
||
3770 | </member> |
||
3771 | <member name="M:IronPython.Runtime.ClrModule.GetSubclassedTypes"> |
||
3772 | <summary> |
||
3773 | clr.GetSubclassedTypes() -> tuple |
||
3774 | |||
3775 | Returns a tuple of information about the types which have been subclassed. |
||
3776 | |||
3777 | This tuple can be passed to clr.CompileSubclassTypes to cache these |
||
3778 | types on disk such as: |
||
3779 | |||
3780 | clr.CompileSubclassTypes('assembly', *clr.GetSubclassedTypes()) |
||
3781 | </summary> |
||
3782 | </member> |
||
3783 | <member name="T:IronPython.Runtime.ClrModule.FileStreamContentProvider"> |
||
3784 | <summary> |
||
3785 | Provides a StreamContentProvider for a stream of content backed by a file on disk. |
||
3786 | </summary> |
||
3787 | </member> |
||
3788 | <member name="M:IronPython.Runtime.ClrModule.BuildPackageMap(System.String[])"> |
||
3789 | <summary> |
||
3790 | Goes through the list of files identifying the relationship between packages |
||
3791 | and subpackages. Returns a dictionary with all of the package filenames (minus __init__.py) |
||
3792 | mapping to their full name. For example given a structure: |
||
3793 | |||
3794 | C:\ |
||
3795 | someDir\ |
||
3796 | package\ |
||
3797 | __init__.py |
||
3798 | a.py |
||
3799 | b\ |
||
3800 | __init.py |
||
3801 | c.py |
||
3802 | |||
3803 | Returns: |
||
3804 | {r'C:\somedir\package' : 'package', r'C:\somedir\package\b', 'package.b'} |
||
3805 | |||
3806 | This can then be used for calculating the full module name of individual files |
||
3807 | and packages. For example a's full name is "package.a" and c's full name is |
||
3808 | "package.b.c". |
||
3809 | </summary> |
||
3810 | </member> |
||
3811 | <member name="M:IronPython.Runtime.ClrModule.GetProfilerData(IronPython.Runtime.CodeContext,System.Boolean)"> |
||
3812 | <summary> |
||
3813 | Returns a list of profile data. The values are tuples of Profiler.Data objects |
||
3814 | |||
3815 | All times are expressed in the same unit of measure as DateTime.Ticks |
||
3816 | </summary> |
||
3817 | </member> |
||
3818 | <member name="M:IronPython.Runtime.ClrModule.ClearProfilerData(IronPython.Runtime.CodeContext)"> |
||
3819 | <summary> |
||
3820 | Resets all profiler counters back to zero |
||
3821 | </summary> |
||
3822 | </member> |
||
3823 | <member name="M:IronPython.Runtime.ClrModule.EnableProfiler(IronPython.Runtime.CodeContext,System.Boolean)"> |
||
3824 | <summary> |
||
3825 | Enable or disable profiling for the current ScriptEngine. This will only affect code |
||
3826 | that is compiled after the setting is changed; previously-compiled code will retain |
||
3827 | whatever setting was active when the code was originally compiled. |
||
3828 | |||
3829 | The easiest way to recompile a module is to reload() it. |
||
3830 | </summary> |
||
3831 | </member> |
||
3832 | <member name="M:IronPython.Runtime.ClrModule.Serialize(System.Object)"> |
||
3833 | <summary> |
||
3834 | Serializes data using the .NET serialization formatter for complex |
||
3835 | types. Returns a tuple identifying the serialization format and the serialized |
||
3836 | data which can be fed back into clr.Deserialize. |
||
3837 | |||
3838 | Current serialization formats include custom formats for primitive .NET |
||
3839 | types which aren't already recognized as tuples. None is used to indicate |
||
3840 | that the Binary .NET formatter is used. |
||
3841 | </summary> |
||
3842 | </member> |
||
3843 | <member name="M:IronPython.Runtime.ClrModule.Deserialize(System.String,System.String)"> |
||
3844 | <summary> |
||
3845 | Deserializes the result of a Serialize call. This can be used to perform serialization |
||
3846 | for .NET types which are serializable. This method is the callable object provided |
||
3847 | from __reduce_ex__ for .serializable .NET types. |
||
3848 | |||
3849 | The first parameter indicates the serialization format and is the first tuple element |
||
3850 | returned from the Serialize call. |
||
3851 | |||
3852 | The second parameter is the serialized data. |
||
3853 | </summary> |
||
3854 | </member> |
||
3855 | <member name="T:IronPython.Runtime.Index"> |
||
3856 | <summary> |
||
3857 | Wrapper class used when a user defined type (new-style or old-style) |
||
3858 | defines __index__. We provide a conversion from all user defined |
||
3859 | types to the Index type so they can be used for determing and method bind |
||
3860 | time the most appropriate method to dispatch to. |
||
3861 | </summary> |
||
3862 | </member> |
||
3863 | <member name="T:IronPython.Runtime.NewStringFormatter"> |
||
3864 | <summary> |
||
3865 | New string formatter for 'str'.format(...) calls and support for the Formatter |
||
3866 | library via the _formatter_parser / _formatter_field_name_split |
||
3867 | methods. |
||
3868 | |||
3869 | We parse this format: |
||
3870 | |||
3871 | replacement_field = "{" field_name ["!" conversion] [":" format_spec] "}" |
||
3872 | field_name = (identifier | integer) ("." attribute_name | "[" element_index "]")* |
||
3873 | attribute_name = identifier |
||
3874 | element_index = identifier |
||
3875 | conversion = "r" | "s" |
||
3876 | format_spec = any char, { must be balanced (for computed values), passed to __format__ method on object |
||
3877 | </summary> |
||
3878 | </member> |
||
3879 | <member name="M:IronPython.Runtime.NewStringFormatter.FormatString(IronPython.Runtime.PythonContext,System.String,IronPython.Runtime.PythonTuple,System.Collections.Generic.IDictionary{System.Object,System.Object})"> |
||
3880 | <summary> |
||
3881 | Runs the formatting operation on the given format and keyword arguments |
||
3882 | </summary> |
||
3883 | </member> |
||
3884 | <member name="M:IronPython.Runtime.NewStringFormatter.GetFormatInfo(System.String)"> |
||
3885 | <summary> |
||
3886 | Gets the formatting information for the given format. This is a list of tuples. The tuples |
||
3887 | include: |
||
3888 | |||
3889 | text, field name, format spec, conversion |
||
3890 | </summary> |
||
3891 | </member> |
||
3892 | <member name="M:IronPython.Runtime.NewStringFormatter.GetFieldNameInfo(System.String)"> |
||
3893 | <summary> |
||
3894 | Parses a field name returning the argument name and an iterable |
||
3895 | object which can be used to access the individual attribute |
||
3896 | or element accesses. The iterator yields tuples of: |
||
3897 | |||
3898 | bool (true if attribute, false if element index), attribute/index value |
||
3899 | </summary> |
||
3900 | </member> |
||
3901 | <member name="T:IronPython.Runtime.NewStringFormatter.StringFormatParser"> |
||
3902 | <summary> |
||
3903 | Base class used for parsing the format. Subclasss override Text/ReplacementField methods. Those |
||
3904 | methods get called when they call Parse and then they can do the appropriate actions for the |
||
3905 | format. |
||
3906 | </summary> |
||
3907 | </member> |
||
3908 | <member name="M:IronPython.Runtime.NewStringFormatter.StringFormatParser.Parse(System.String)"> |
||
3909 | <summary> |
||
3910 | Gets an enumerable object for walking the parsed format. |
||
3911 | |||
3912 | TODO: object array? struct? |
||
3913 | </summary> |
||
3914 | </member> |
||
3915 | <member name="M:IronPython.Runtime.NewStringFormatter.StringFormatParser.Parse"> |
||
3916 | <summary> |
||
3917 | Provides an enumerable of the parsed format. The elements of the tuple are: |
||
3918 | the text preceding the format information |
||
3919 | the field name |
||
3920 | the format spec |
||
3921 | the conversion |
||
3922 | </summary> |
||
3923 | </member> |
||
3924 | <member name="M:IronPython.Runtime.NewStringFormatter.StringFormatParser.ParseDoubleBracket(System.Int32,System.String@)"> |
||
3925 | <summary> |
||
3926 | Handles {{ and }} within the string. Returns true if a double bracket |
||
3927 | is found and yields the text |
||
3928 | </summary> |
||
3929 | </member> |
||
3930 | <member name="M:IronPython.Runtime.NewStringFormatter.StringFormatParser.ParseConversion"> |
||
3931 | <summary> |
||
3932 | Parses the conversion character and returns it |
||
3933 | </summary> |
||
3934 | </member> |
||
3935 | <member name="M:IronPython.Runtime.NewStringFormatter.StringFormatParser.CheckEnd"> |
||
3936 | <summary> |
||
3937 | Checks to see if we're at the end of the format. If there's no more characters left we report |
||
3938 | the error, otherwise if we hit a } we return true to indicate parsing should stop. |
||
3939 | </summary> |
||
3940 | </member> |
||
3941 | <member name="M:IronPython.Runtime.NewStringFormatter.StringFormatParser.ParseFormatSpec(System.Int32@)"> |
||
3942 | <summary> |
||
3943 | Parses the format spec string and returns it. |
||
3944 | </summary> |
||
3945 | </member> |
||
3946 | <member name="M:IronPython.Runtime.NewStringFormatter.StringFormatParser.ParseFieldName(System.Int32@)"> |
||
3947 | <summary> |
||
3948 | Parses the field name and returns it. |
||
3949 | </summary> |
||
3950 | </member> |
||
3951 | <member name="M:IronPython.Runtime.NewStringFormatter.StringFormatParser.ParseFieldOrSpecWorker(System.Char[],System.Int32@)"> |
||
3952 | <summary> |
||
3953 | Handles parsing the field name and the format spec and returns it. At the parse |
||
3954 | level these are basically the same - field names just have more terminating characters. |
||
3955 | |||
3956 | The most complex part of parsing them is they both allow nested braces and require |
||
3957 | the braces are matched. Strangely though the braces need to be matched across the |
||
3958 | combined field and format spec - not within each format. |
||
3959 | </summary> |
||
3960 | </member> |
||
3961 | <member name="T:IronPython.Runtime.NewStringFormatter.Formatter"> |
||
3962 | <summary> |
||
3963 | Provides the built-in string formatter which is exposed to Python via the str.format API. |
||
3964 | </summary> |
||
3965 | </member> |
||
3966 | <member name="M:IronPython.Runtime.NewStringFormatter.Formatter.ReplaceComputedFormats(System.String)"> |
||
3967 | <summary> |
||
3968 | Inspects a format spec to see if it contains nested format specs which |
||
3969 | we need to compute. If so runs another string formatter on the format |
||
3970 | spec to compute those values. |
||
3971 | </summary> |
||
3972 | </member> |
||
3973 | <member name="M:IronPython.Runtime.NewStringFormatter.Formatter.GetArgumentValue(IronPython.Runtime.NewStringFormatter.FieldName)"> |
||
3974 | <summary> |
||
3975 | Given the field name gets the object from our arguments running |
||
3976 | any of the member/index accessors. |
||
3977 | </summary> |
||
3978 | </member> |
||
3979 | <member name="M:IronPython.Runtime.NewStringFormatter.Formatter.ApplyConversion(System.Nullable{System.Char},System.Object)"> |
||
3980 | <summary> |
||
3981 | Applies the known built-in conversions to the object if a conversion is |
||
3982 | specified. |
||
3983 | </summary> |
||
3984 | </member> |
||
3985 | <member name="M:IronPython.Runtime.NewStringFormatter.Formatter.GetUnaccessedObject(IronPython.Runtime.NewStringFormatter.FieldName)"> |
||
3986 | <summary> |
||
3987 | Gets the initial object represented by the field name - e.g. the 0 or |
||
3988 | keyword name. |
||
3989 | </summary> |
||
3990 | </member> |
||
3991 | <member name="M:IronPython.Runtime.NewStringFormatter.Formatter.DoAccessors(IronPython.Runtime.NewStringFormatter.FieldName,System.Object)"> |
||
3992 | <summary> |
||
3993 | Given the object value runs the accessors in the field name (if any) against the object. |
||
3994 | </summary> |
||
3995 | </member> |
||
3996 | <member name="M:IronPython.Runtime.NewStringFormatter.ParseFieldName(System.String,System.Boolean)"> |
||
3997 | <summary> |
||
3998 | Parses the field name including attribute access or element indexing. |
||
3999 | </summary> |
||
4000 | </member> |
||
4001 | <member name="M:IronPython.Runtime.NewStringFormatter.ParseFieldAccessors(System.String,System.Int32,System.Boolean)"> |
||
4002 | <summary> |
||
4003 | Parses the field name including attribute access or element indexing. |
||
4004 | </summary> |
||
4005 | </member> |
||
4006 | <member name="M:IronPython.Runtime.NewStringFormatter.AccessorsToPython(System.Collections.Generic.IEnumerable{IronPython.Runtime.NewStringFormatter.FieldAccessor})"> |
||
4007 | <summary> |
||
4008 | Converts accessors from our internal structure into a PythonTuple matching how CPython |
||
4009 | exposes these |
||
4010 | </summary> |
||
4011 | </member> |
||
4012 | <member name="M:IronPython.Runtime.NewStringFormatter.ParseIdentifier(System.String,System.Boolean,System.Int32@)"> |
||
4013 | <summary> |
||
4014 | Parses an identifier and returns it |
||
4015 | </summary> |
||
4016 | </member> |
||
4017 | <member name="T:IronPython.Runtime.NewStringFormatter.FieldName"> |
||
4018 | <summary> |
||
4019 | Encodes all the information about the field name. |
||
4020 | </summary> |
||
4021 | </member> |
||
4022 | <member name="T:IronPython.Runtime.NewStringFormatter.FieldAccessor"> |
||
4023 | <summary> |
||
4024 | Encodes a single field accessor (.b or [number] or [str]) |
||
4025 | </summary> |
||
4026 | </member> |
||
4027 | <member name="F:IronPython.Runtime.PythonContext.NewObject"> |
||
4028 | <summary> stored for copy_reg module, used for reduce protocol </summary> |
||
4029 | </member> |
||
4030 | <member name="F:IronPython.Runtime.PythonContext.PythonReconstructor"> |
||
4031 | <summary> stored for copy_reg module, used for reduce protocol </summary> |
||
4032 | </member> |
||
4033 | <member name="M:IronPython.Runtime.PythonContext.#ctor(Microsoft.Scripting.Runtime.ScriptDomainManager,System.Collections.Generic.IDictionary{System.String,System.Object})"> |
||
4034 | <summary> |
||
4035 | Creates a new PythonContext not bound to Engine. |
||
4036 | </summary> |
||
4037 | </member> |
||
4038 | <member name="P:IronPython.Runtime.PythonContext.RecursionLimit"> |
||
4039 | <summary> |
||
4040 | Gets or sets the maximum depth of function calls. Equivalent to sys.getrecursionlimit |
||
4041 | and sys.setrecursionlimit. |
||
4042 | </summary> |
||
4043 | </member> |
||
4044 | <member name="P:IronPython.Runtime.PythonContext.MainThread"> |
||
4045 | <summary> |
||
4046 | Gets or sets the main thread which should be interupted by thread.interrupt_main |
||
4047 | </summary> |
||
4048 | </member> |
||
4049 | <member name="M:IronPython.Runtime.PythonContext.HasModuleState(System.Object)"> |
||
4050 | <summary> |
||
4051 | Checks to see if module state has the current value stored already. |
||
4052 | </summary> |
||
4053 | </member> |
||
4054 | <member name="M:IronPython.Runtime.PythonContext.GetModuleState(System.Object)"> |
||
4055 | <summary> |
||
4056 | Gets per-runtime state used by a module. The module should have a unique key for |
||
4057 | each piece of state it needs to store. |
||
4058 | </summary> |
||
4059 | </member> |
||
4060 | <member name="M:IronPython.Runtime.PythonContext.SetModuleState(System.Object,System.Object)"> |
||
4061 | <summary> |
||
4062 | Sets per-runtime state used by a module. The module should have a unique key for |
||
4063 | each piece of state it needs to store. |
||
4064 | </summary> |
||
4065 | </member> |
||
4066 | <member name="M:IronPython.Runtime.PythonContext.GetSetModuleState(System.Object,System.Object)"> |
||
4067 | <summary> |
||
4068 | Sets per-runtime state used by a module and returns the previous value. The module |
||
4069 | should have a unique key for each piece of state it needs to store. |
||
4070 | </summary> |
||
4071 | </member> |
||
4072 | <member name="M:IronPython.Runtime.PythonContext.GetOrCreateModuleState``1(System.Object,System.Func{``0})"> |
||
4073 | <summary> |
||
4074 | Sets per-runtime state used by a module and returns the previous value. The module |
||
4075 | should have a unique key for each piece of state it needs to store. |
||
4076 | </summary> |
||
4077 | </member> |
||
4078 | <member name="M:IronPython.Runtime.PythonContext.InitializeSystemState"> |
||
4079 | <summary> |
||
4080 | Initializes the sys module on startup. Called both to load and reload sys |
||
4081 | </summary> |
||
4082 | </member> |
||
4083 | <member name="M:IronPython.Runtime.PythonContext.ReadOneLine(System.IO.StreamReader,System.Int32@)"> |
||
4084 | <summary> |
||
4085 | Reads one line keeping track of the # of bytes read |
||
4086 | </summary> |
||
4087 | </member> |
||
4088 | <member name="M:IronPython.Runtime.PythonContext.HookAssemblyResolve"> |
||
4089 | <summary> |
||
4090 | We use Assembly.LoadFile to load assemblies from a path specified by the script (in LoadAssemblyFromFileWithPath). |
||
4091 | However, when the CLR loader tries to resolve any of assembly references, it will not be able to |
||
4092 | find the dependencies, unless we can hook into the CLR loader. |
||
4093 | </summary> |
||
4094 | </member> |
||
4095 | <member name="M:IronPython.Runtime.PythonContext.GetPythonService(Microsoft.Scripting.Hosting.ScriptEngine)"> |
||
4096 | <summary> |
||
4097 | Returns (and creates if necessary) the PythonService that is associated with this PythonContext. |
||
4098 | |||
4099 | The PythonService is used for providing remoted convenience helpers for the DLR hosting APIs. |
||
4100 | </summary> |
||
4101 | </member> |
||
4102 | <member name="P:IronPython.Runtime.PythonContext.DefaultEncoding"> |
||
4103 | <summary> |
||
4104 | Gets or sets the default encoding for this system state / engine. |
||
4105 | </summary> |
||
4106 | </member> |
||
4107 | <member name="P:IronPython.Runtime.PythonContext.BuiltinModules"> |
||
4108 | <summary> |
||
4109 | Dictionary from name to type of all known built-in module names. |
||
4110 | </summary> |
||
4111 | </member> |
||
4112 | <member name="P:IronPython.Runtime.PythonContext.BuiltinModuleNames"> |
||
4113 | <summary> |
||
4114 | Dictionary from type to name of all built-in modules. |
||
4115 | </summary> |
||
4116 | </member> |
||
4117 | <member name="P:IronPython.Runtime.PythonContext.BuiltinModuleInstance"> |
||
4118 | <summary> |
||
4119 | TODO: Remove me, or stop caching built-ins. This is broken if the user changes __builtin__ |
||
4120 | </summary> |
||
4121 | </member> |
||
4122 | <member name="M:IronPython.Runtime.PythonContext.GetMemberNames(System.Object)"> |
||
4123 | <summary> |
||
4124 | Gets the member names associated with the object |
||
4125 | TODO: Move "GetMemberNames" functionality into MetaObject implementations |
||
4126 | </summary> |
||
4127 | </member> |
||
4128 | <member name="P:IronPython.Runtime.PythonContext.ErrorHandlers"> |
||
4129 | <summary> Dictionary of error handlers for string codecs. </summary> |
||
4130 | </member> |
||
4131 | <member name="P:IronPython.Runtime.PythonContext.SearchFunctions"> |
||
4132 | <summary> Table of functions used for looking for additional codecs. </summary> |
||
4133 | </member> |
||
4134 | <member name="M:IronPython.Runtime.PythonContext.GetGenericSiteStorage``1"> |
||
4135 | <summary> |
||
4136 | Gets a SiteLocalStorage when no call site is available. |
||
4137 | </summary> |
||
4138 | </member> |
||
4139 | <member name="M:IronPython.Runtime.PythonContext.Operation(IronPython.Runtime.Binding.PythonOperationKind,System.Object,System.Object)"> |
||
4140 | <summary> |
||
4141 | Invokes the specified operation on the provided arguments and returns the new resulting value. |
||
4142 | |||
4143 | operation is usually a value from StandardOperators (standard CLR/DLR operator) or |
||
4144 | OperatorStrings (a Python specific operator) |
||
4145 | </summary> |
||
4146 | </member> |
||
4147 | <member name="P:IronPython.Runtime.PythonContext.SharedContext"> |
||
4148 | <summary> |
||
4149 | Returns a shared code context for the current PythonContext. This shared |
||
4150 | context can be used for performing general operations which usually |
||
4151 | require a CodeContext. |
||
4152 | </summary> |
||
4153 | </member> |
||
4154 | <member name="P:IronPython.Runtime.PythonContext.SharedOverloadResolverFactory"> |
||
4155 | <summary> |
||
4156 | Returns an overload resolver for the current PythonContext. The overload |
||
4157 | resolver will flow the shared context through as it's CodeContext. |
||
4158 | </summary> |
||
4159 | </member> |
||
4160 | <member name="P:IronPython.Runtime.PythonContext.SharedClsContext"> |
||
4161 | <summary> |
||
4162 | Returns a shared code context for the current PythonContext. This shared |
||
4163 | context can be used for doing lookups which need to occur as if they |
||
4164 | happened in a module which has done "import clr". |
||
4165 | </summary> |
||
4166 | </member> |
||
4167 | <member name="M:IronPython.Runtime.PythonContext.GetSetCommandDispatcher(System.Action{System.Action})"> |
||
4168 | <summary> |
||
4169 | Sets the current command dispatcher for the Python command line. The previous dispatcher |
||
4170 | is returned. Null can be passed to remove the current command dispatcher. |
||
4171 | |||
4172 | The command dispatcher will be called with a delegate to be executed. The command dispatcher |
||
4173 | should invoke the target delegate in the desired context. |
||
4174 | |||
4175 | A common use for this is to enable running all REPL commands on the UI thread while the REPL |
||
4176 | continues to run on a non-UI thread. |
||
4177 | |||
4178 | The ipy.exe REPL will call into PythonContext.DispatchCommand to dispatch each execution to |
||
4179 | the correct thread. Other REPLs can do the same to support this functionality as well. |
||
4180 | </summary> |
||
4181 | </member> |
||
4182 | <member name="M:IronPython.Runtime.PythonContext.DispatchCommand(System.Action)"> |
||
4183 | <summary> |
||
4184 | Dispatches the command to the current command dispatcher. If there is no current command |
||
4185 | dispatcher the command is executed immediately on the current thread. |
||
4186 | </summary> |
||
4187 | </member> |
||
4188 | <member name="M:IronPython.Runtime.PythonContext.GetComparer(System.Object,System.Type)"> |
||
4189 | <summary> |
||
4190 | Gets a function which can be used for comparing two values. If cmp is not null |
||
4191 | then the comparison will use the provided comparison function. Otherwise |
||
4192 | it will use the normal Python semantics. |
||
4193 | |||
4194 | If type is null then a generic comparison function is returned. If type is |
||
4195 | not null a comparison function is returned that's used for just that type. |
||
4196 | </summary> |
||
4197 | </member> |
||
4198 | <member name="M:IronPython.Runtime.PythonContext.Collect(System.Int32)"> |
||
4199 | <summary> |
||
4200 | Performs a GC collection including the possibility of freeing weak data structures held onto by the Python runtime. |
||
4201 | </summary> |
||
4202 | <param name="generation"></param> |
||
4203 | </member> |
||
4204 | <member name="M:IronPython.Runtime.PythonContext.GetPythonContext(System.Dynamic.DynamicMetaObjectBinder)"> |
||
4205 | <summary> |
||
4206 | Gets a PythonContext given a DynamicMetaObjectBinder. |
||
4207 | </summary> |
||
4208 | </member> |
||
4209 | <member name="T:IronPython.Runtime.PythonDynamicStackFrame"> |
||
4210 | <summary> |
||
4211 | A DynamicStackFrame which has Python specific data. Currently this |
||
4212 | includes the code context which may provide access to locals and the |
||
4213 | function code object which is needed to build frame objects from. |
||
4214 | </summary> |
||
4215 | </member> |
||
4216 | <member name="P:IronPython.Runtime.PythonDynamicStackFrame.CodeContext"> |
||
4217 | <summary> |
||
4218 | Gets the code context of the function. |
||
4219 | |||
4220 | If the function included a call to locals() or the FullFrames |
||
4221 | option is enabled then the code context includes all local variables. |
||
4222 | |||
4223 | Null if deserialized. |
||
4224 | </summary> |
||
4225 | </member> |
||
4226 | <member name="P:IronPython.Runtime.PythonDynamicStackFrame.Code"> |
||
4227 | <summary> |
||
4228 | Gets the code object for this frame. This is used in creating |
||
4229 | the trace back. Null if deserialized. |
||
4230 | </summary> |
||
4231 | </member> |
||
4232 | <member name="T:IronPython.Runtime.PythonFunction"> |
||
4233 | <summary> |
||
4234 | Created for a user-defined function. |
||
4235 | </summary> |
||
4236 | </member> |
||
4237 | <member name="M:IronPython.Runtime.PythonFunction.#ctor(IronPython.Runtime.CodeContext,IronPython.Runtime.FunctionCode,IronPython.Runtime.PythonDictionary,System.String,IronPython.Runtime.PythonTuple,IronPython.Runtime.PythonTuple)"> |
||
4238 | <summary> |
||
4239 | Python ctor - maps to function.__new__ |
||
4240 | |||
4241 | y = func(x.__code__, globals(), 'foo', None, (a, )) |
||
4242 | </summary> |
||
4243 | </member> |
||
4244 | <member name="P:IronPython.Runtime.PythonFunction.Context"> |
||
4245 | <summary> |
||
4246 | The parent CodeContext in which this function was declared. |
||
4247 | </summary> |
||
4248 | </member> |
||
4249 | <member name="P:IronPython.Runtime.PythonFunction.FunctionCompatibility"> |
||
4250 | <summary> |
||
4251 | Captures the # of args and whether we have kw / arg lists. This |
||
4252 | enables us to share sites for simple calls (calls that don't directly |
||
4253 | provide named arguments or the list/dict params). |
||
4254 | </summary> |
||
4255 | </member> |
||
4256 | <member name="M:IronPython.Runtime.PythonFunction.CalculatedCachedCompat"> |
||
4257 | <summary> |
||
4258 | Calculates the _compat value which is used for call-compatibility checks |
||
4259 | for simple calls. Whenver any of the dependent values are updated this |
||
4260 | must be called again. |
||
4261 | |||
4262 | The dependent values include: |
||
4263 | _nparams - this is readonly, and never requies an update |
||
4264 | _defaults - the user can mutate this (func_defaults) and that forces |
||
4265 | an update |
||
4266 | expand dict/list - based on nparams and flags, both read-only |
||
4267 | |||
4268 | Bits are allocated as: |
||
4269 | 00003fff - Normal argument count |
||
4270 | 0fffb000 - Default count |
||
4271 | 10000000 - unused |
||
4272 | 20000000 - expand list |
||
4273 | 40000000 - expand dict |
||
4274 | 80000000 - unused |
||
4275 | |||
4276 | Enforce recursion is added at runtime. |
||
4277 | </summary> |
||
4278 | </member> |
||
4279 | <member name="P:IronPython.Runtime.PythonFunction.IsGeneratorWithExceptionHandling"> |
||
4280 | <summary> |
||
4281 | Generators w/ exception handling need to have some data stored |
||
4282 | on them so that we appropriately set/restore the exception state. |
||
4283 | </summary> |
||
4284 | </member> |
||
4285 | <member name="P:IronPython.Runtime.PythonFunction.FunctionID"> |
||
4286 | <summary> |
||
4287 | Returns an ID for the function if one has been assigned, or zero if the |
||
4288 | function has not yet required the use of an ID. |
||
4289 | </summary> |
||
4290 | </member> |
||
4291 | <member name="P:IronPython.Runtime.PythonFunction.ExpandListPosition"> |
||
4292 | <summary> |
||
4293 | Gets the position for the expand list argument or -1 if the function doesn't have an expand list parameter. |
||
4294 | </summary> |
||
4295 | </member> |
||
4296 | <member name="P:IronPython.Runtime.PythonFunction.ExpandDictPosition"> |
||
4297 | <summary> |
||
4298 | Gets the position for the expand dictionary argument or -1 if the function doesn't have an expand dictionary parameter. |
||
4299 | </summary> |
||
4300 | </member> |
||
4301 | <member name="P:IronPython.Runtime.PythonFunction.NormalArgumentCount"> |
||
4302 | <summary> |
||
4303 | Gets the number of normal (not params or kw-params) parameters. |
||
4304 | </summary> |
||
4305 | </member> |
||
4306 | <member name="P:IronPython.Runtime.PythonFunction.ExtraArguments"> |
||
4307 | <summary> |
||
4308 | Gets the number of extra arguments (params or kw-params) |
||
4309 | </summary> |
||
4310 | </member> |
||
4311 | <member name="T:IronPython.Runtime.PythonHiddenAttribute"> |
||
4312 | <summary> |
||
4313 | Marks a member as being hidden from Python code. |
||
4314 | </summary> |
||
4315 | </member> |
||
4316 | <member name="T:IronPython.Runtime.PythonModuleAttribute"> |
||
4317 | <summary> |
||
4318 | This assembly-level attribute specifies which types in the engine represent built-in Python modules. |
||
4319 | |||
4320 | Members of a built-in module type should all be static as an instance is never created. |
||
4321 | </summary> |
||
4322 | </member> |
||
4323 | <member name="M:IronPython.Runtime.PythonModuleAttribute.#ctor(System.String,System.Type,System.PlatformID[])"> |
||
4324 | <summary> |
||
4325 | Creates a new PythonModuleAttribute that can be used to specify a built-in module that exists |
||
4326 | within an assembly. |
||
4327 | </summary> |
||
4328 | <param name="name">The built-in module name</param> |
||
4329 | <param name="type">The type that implements the built-in module.</param> |
||
4330 | <param name="invalidPlatforms">The invalid platform identifiers for this module.</param> |
||
4331 | </member> |
||
4332 | <member name="P:IronPython.Runtime.PythonModuleAttribute.Name"> |
||
4333 | <summary> |
||
4334 | The built-in module name |
||
4335 | </summary> |
||
4336 | </member> |
||
4337 | <member name="P:IronPython.Runtime.PythonModuleAttribute.Type"> |
||
4338 | <summary> |
||
4339 | The type that implements the built-in module |
||
4340 | </summary> |
||
4341 | </member> |
||
4342 | <member name="T:IronPython.Runtime.PythonTypeAttribute"> |
||
4343 | <summary> |
||
4344 | Marks a type as being a PythonType for purposes of member lookup, creating instances, etc... |
||
4345 | |||
4346 | If defined a PythonType will use __new__ / __init__ when creating instances. This allows the |
||
4347 | object to match the native Python behavior such as returning cached values from __new__ or |
||
4348 | supporting initialization to run multiple times via __init__. |
||
4349 | |||
4350 | The attribute also allows you to specify an alternate type name. This allows the .NET name to |
||
4351 | be different from the Python name so they can follow .NET naming conventions. |
||
4352 | |||
4353 | Types defining this attribute also don't show CLR methods such as Equals, GetHashCode, etc... until |
||
4354 | the user has done an import clr. |
||
4355 | </summary> |
||
4356 | </member> |
||
4357 | <member name="T:IronPython.Runtime.SetStorage"> |
||
4358 | <summary> |
||
4359 | General-purpose storage used for Python sets and frozensets. |
||
4360 | |||
4361 | The set storage is thread-safe for multiple readers or writers. |
||
4362 | |||
4363 | Mutations to the set involve a simple locking strategy of locking on the SetStorage object |
||
4364 | itself to ensure mutual exclusion. |
||
4365 | |||
4366 | Reads against the set happen lock-free. When the set is mutated, it adds or removes buckets |
||
4367 | in an atomic manner so that the readers will see a consistent picture as if the read |
||
4368 | occurred either before or after the mutation. |
||
4369 | </summary> |
||
4370 | </member> |
||
4371 | <member name="M:IronPython.Runtime.SetStorage.#ctor"> |
||
4372 | <summary> |
||
4373 | Creates a new set storage with no buckets |
||
4374 | </summary> |
||
4375 | </member> |
||
4376 | <member name="M:IronPython.Runtime.SetStorage.#ctor(System.Int32)"> |
||
4377 | <summary> |
||
4378 | Creates a new set storage with no buckets |
||
4379 | </summary> |
||
4380 | </member> |
||
4381 | <member name="P:IronPython.Runtime.SetStorage.Count"> |
||
4382 | <summary> |
||
4383 | Returns the number of items currently in the set |
||
4384 | </summary> |
||
4385 | </member> |
||
4386 | <member name="M:IronPython.Runtime.SetStorage.Add(System.Object)"> |
||
4387 | <summary> |
||
4388 | Adds a new item to the set, unless an equivalent item is already present |
||
4389 | </summary> |
||
4390 | </member> |
||
4391 | <member name="M:IronPython.Runtime.SetStorage.AddWorker(IronPython.Runtime.SetStorage.Bucket[],System.Object,System.Int32,System.Func{System.Object,System.Object,System.Boolean},System.Int32@)"> |
||
4392 | <summary> |
||
4393 | Static helper which adds the given non-null item with a precomputed hash code. Returns |
||
4394 | true if the item was added, false if it was already present in the set. |
||
4395 | </summary> |
||
4396 | </member> |
||
4397 | <member name="M:IronPython.Runtime.SetStorage.AddOrRemoveWorker(System.Object,System.Int32)"> |
||
4398 | <summary> |
||
4399 | Lock-free helper on a non-null item with a pre-calculated hash code. Removes the item |
||
4400 | if it is present in the set, otherwise adds it. |
||
4401 | </summary> |
||
4402 | </member> |
||
4403 | <member name="M:IronPython.Runtime.SetStorage.Clear"> |
||
4404 | <summary> |
||
4405 | Clears the contents of the set |
||
4406 | </summary> |
||
4407 | </member> |
||
4408 | <member name="M:IronPython.Runtime.SetStorage.Clone"> |
||
4409 | <summary> |
||
4410 | Clones the set, returning a new SetStorage object |
||
4411 | </summary> |
||
4412 | </member> |
||
4413 | <member name="M:IronPython.Runtime.SetStorage.Contains(System.Object)"> |
||
4414 | <summary> |
||
4415 | Checks to see if the given item exists in the set |
||
4416 | </summary> |
||
4417 | </member> |
||
4418 | <member name="M:IronPython.Runtime.SetStorage.ContainsAlwaysHash(System.Object)"> |
||
4419 | <summary> |
||
4420 | Checks to see if the given item exists in the set, and tries to hash it even |
||
4421 | if it is known not to be in the set. |
||
4422 | </summary> |
||
4423 | <param name="item"></param> |
||
4424 | <returns></returns> |
||
4425 | </member> |
||
4426 | <member name="M:IronPython.Runtime.SetStorage.CopyTo(IronPython.Runtime.SetStorage)"> |
||
4427 | <summary> |
||
4428 | Adds items from this set into the other set |
||
4429 | </summary> |
||
4430 | </member> |
||
4431 | <member name="M:IronPython.Runtime.SetStorage.Pop(System.Object@)"> |
||
4432 | <summary> |
||
4433 | Removes the first set element in the iteration order. |
||
4434 | </summary> |
||
4435 | <returns>true if an item was removed, false if the set was empty</returns> |
||
4436 | </member> |
||
4437 | <member name="M:IronPython.Runtime.SetStorage.Remove(System.Object)"> |
||
4438 | <summary> |
||
4439 | Removes an item from the set and returns true if it was present, otherwise returns |
||
4440 | false |
||
4441 | </summary> |
||
4442 | </member> |
||
4443 | <member name="M:IronPython.Runtime.SetStorage.RemoveAlwaysHash(System.Object)"> |
||
4444 | <summary> |
||
4445 | Removes an item from the set and returns true if it was removed. The item will always |
||
4446 | be hashed, throwing if it is unhashable - even if the set has no buckets. |
||
4447 | </summary> |
||
4448 | </member> |
||
4449 | <member name="M:IronPython.Runtime.SetStorage.RemoveItem(System.Object)"> |
||
4450 | <summary> |
||
4451 | Lock-free helper to remove a non-null item |
||
4452 | </summary> |
||
4453 | </member> |
||
4454 | <member name="M:IronPython.Runtime.SetStorage.IsDisjoint(IronPython.Runtime.SetStorage)"> |
||
4455 | <summary> |
||
4456 | Determines whether the current set shares no elements with the given set |
||
4457 | </summary> |
||
4458 | </member> |
||
4459 | <member name="M:IronPython.Runtime.SetStorage.IsSubset(IronPython.Runtime.SetStorage)"> |
||
4460 | <summary> |
||
4461 | Determines whether the current set is a subset of the given set |
||
4462 | </summary> |
||
4463 | </member> |
||
4464 | <member name="M:IronPython.Runtime.SetStorage.IsStrictSubset(IronPython.Runtime.SetStorage)"> |
||
4465 | <summary> |
||
4466 | Determines whether the current set is a strict subset of the given set |
||
4467 | </summary> |
||
4468 | </member> |
||
4469 | <member name="M:IronPython.Runtime.SetStorage.UnionUpdate(IronPython.Runtime.SetStorage)"> |
||
4470 | <summary> |
||
4471 | Mutates this set to contain its union with 'other'. The caller must lock the current |
||
4472 | set if synchronization is desired. |
||
4473 | </summary> |
||
4474 | </member> |
||
4475 | <member name="M:IronPython.Runtime.SetStorage.IntersectionUpdate(IronPython.Runtime.SetStorage)"> |
||
4476 | <summary> |
||
4477 | Mutates this set to contain its intersection with 'other'. The caller must lock the |
||
4478 | current set if synchronization is desired. |
||
4479 | </summary> |
||
4480 | </member> |
||
4481 | <member name="M:IronPython.Runtime.SetStorage.SymmetricDifferenceUpdate(IronPython.Runtime.SetStorage)"> |
||
4482 | <summary> |
||
4483 | Mutates this set to contain its symmetric difference with 'other'. The caller must |
||
4484 | lock the current set if synchronization is desired. |
||
4485 | </summary> |
||
4486 | </member> |
||
4487 | <member name="M:IronPython.Runtime.SetStorage.DifferenceUpdate(IronPython.Runtime.SetStorage)"> |
||
4488 | <summary> |
||
4489 | Mutates this set to contain its difference with 'other'. The caller must lock the |
||
4490 | current set if synchronization is desired. |
||
4491 | </summary> |
||
4492 | </member> |
||
4493 | <member name="M:IronPython.Runtime.SetStorage.Union(IronPython.Runtime.SetStorage,IronPython.Runtime.SetStorage)"> |
||
4494 | <summary> |
||
4495 | Computes the union of self and other, returning an entirely new set. This method is |
||
4496 | thread-safe and makes no modifications to self or other. |
||
4497 | </summary> |
||
4498 | </member> |
||
4499 | <member name="M:IronPython.Runtime.SetStorage.Intersection(IronPython.Runtime.SetStorage,IronPython.Runtime.SetStorage)"> |
||
4500 | <summary> |
||
4501 | Computes the intersection of self and other, returning an entirely new set. This |
||
4502 | method is thread-safe and makes no modifications to self or other. |
||
4503 | </summary> |
||
4504 | </member> |
||
4505 | <member name="M:IronPython.Runtime.SetStorage.SymmetricDifference(IronPython.Runtime.SetStorage,IronPython.Runtime.SetStorage)"> |
||
4506 | <summary> |
||
4507 | Computes the symmetric difference of self and other, returning an entirely new set. |
||
4508 | This method is thread-safe and makes no modifications to self or other. |
||
4509 | </summary> |
||
4510 | </member> |
||
4511 | <member name="M:IronPython.Runtime.SetStorage.Difference(IronPython.Runtime.SetStorage,IronPython.Runtime.SetStorage)"> |
||
4512 | <summary> |
||
4513 | Computes the difference of self and other, returning an entirely new set. This |
||
4514 | method is thread-safe and makes no modifications to self or other. |
||
4515 | </summary> |
||
4516 | </member> |
||
4517 | <member name="T:IronPython.Runtime.SetStorage.Bucket"> |
||
4518 | <summary> |
||
4519 | Used to store a single hashed item. |
||
4520 | |||
4521 | Bucket is not serializable because it stores the computed hash code, which could change |
||
4522 | between serialization and deserialization. |
||
4523 | </summary> |
||
4524 | </member> |
||
4525 | <member name="M:IronPython.Runtime.SetStorage.Hash(System.Object)"> |
||
4526 | <summary> |
||
4527 | Helper to hash the given item w/ support for null |
||
4528 | </summary> |
||
4529 | </member> |
||
4530 | <member name="M:IronPython.Runtime.SetStorage.SortBySize(IronPython.Runtime.SetStorage@,IronPython.Runtime.SetStorage@)"> |
||
4531 | <summary> |
||
4532 | Helper which ensures that the first argument x requires the least work to enumerate |
||
4533 | </summary> |
||
4534 | </member> |
||
4535 | <member name="M:IronPython.Runtime.SetStorage.GetItems(System.Object)"> |
||
4536 | <summary> |
||
4537 | A factory which creates a SetStorage object from any Python iterable. It extracts |
||
4538 | the underlying storage of a set or frozen set without copying, which is left to the |
||
4539 | caller if necessary. |
||
4540 | </summary> |
||
4541 | </member> |
||
4542 | <member name="M:IronPython.Runtime.SetStorage.GetItems(System.Object,IronPython.Runtime.SetStorage@)"> |
||
4543 | <summary> |
||
4544 | A factory which creates a SetStorage object from any Python iterable. It extracts |
||
4545 | the underlying storage of a set or frozen set without copying, which is left to the |
||
4546 | caller if necessary. |
||
4547 | Returns true if the given object was a set or frozen set, false otherwise. |
||
4548 | </summary> |
||
4549 | </member> |
||
4550 | <member name="M:IronPython.Runtime.SetStorage.GetFrozenItems(System.Object)"> |
||
4551 | <summary> |
||
4552 | A factory which creates a SetStorage object from any Python iterable. It extracts |
||
4553 | the underlying storage of a set or frozen set, copying in the former case, to return |
||
4554 | a SetStorage object that is guaranteed not to receive any outside mutations. |
||
4555 | </summary> |
||
4556 | </member> |
||
4557 | <member name="M:IronPython.Runtime.SetStorage.GetItemsIfSet(System.Object,IronPython.Runtime.SetStorage@)"> |
||
4558 | <summary> |
||
4559 | Extracts the SetStorage object from o if it is a set or frozenset and returns true. |
||
4560 | Otherwise returns false. |
||
4561 | </summary> |
||
4562 | </member> |
||
4563 | <member name="M:IronPython.Runtime.SetStorage.GetHashableSetIfSet(System.Object@)"> |
||
4564 | <summary> |
||
4565 | Creates a hashable set from the given set, or does nothing if the given object |
||
4566 | is not a set. |
||
4567 | </summary> |
||
4568 | <returns>True if o is a set or frozenset, false otherwise</returns> |
||
4569 | </member> |
||
4570 | <member name="T:IronPython.Runtime.SiteLocalStorage`1"> |
||
4571 | <summary> |
||
4572 | Provides storage which is flowed into a callers site. The same storage object is |
||
4573 | flowed for multiple calls enabling the callee to cache data that can be re-used |
||
4574 | across multiple calls. |
||
4575 | |||
4576 | Data is a public field so that this works properly with DynamicSite's as the reference |
||
4577 | type (and EnsureInitialize) |
||
4578 | </summary> |
||
4579 | </member> |
||
4580 | <member name="T:IronPython.Runtime.StringFormatSpec"> |
||
4581 | <summary> |
||
4582 | Provides a representation and parsing for the default formatting specification. This is used |
||
4583 | by object.__format__, int.__format__, long.__format__, and float.__format__ to do the common |
||
4584 | format spec parsing. |
||
4585 | |||
4586 | The default specification is: |
||
4587 | |||
4588 | format_spec = [[fill]align][sign][#][0][width][,][.precision][type] |
||
4589 | fill = a character other than } |
||
4590 | align = "<" | ">" | "=" | "^" |
||
4591 | sign = "+" | "-" | " " |
||
4592 | width = integer |
||
4593 | precision = integer |
||
4594 | type = "b" | "c" | "d" | "e" | "E" | "f" | "F" | "g" | "G" | "n" | "o" | "x" | "X" | "%" |
||
4595 | </summary> |
||
4596 | </member> |
||
4597 | <member name="M:IronPython.Runtime.StringFormatSpec.FromString(System.String)"> |
||
4598 | <summary> |
||
4599 | Parses a format spec and returns a new StringFormatSpec object. |
||
4600 | </summary> |
||
4601 | </member> |
||
4602 | <member name="T:IronPython.Runtime.SysModuleDictionaryStorage"> |
||
4603 | <summary> |
||
4604 | Optimized storage for setting exc_type, exc_value, and exc_traceback. |
||
4605 | |||
4606 | This optimization can go away in Python 3.0 when these attributes are no longer used. |
||
4607 | </summary> |
||
4608 | </member> |
||
4609 | <member name="T:IronPython.Runtime.Types.DynamicBaseTypeAttribute"> |
||
4610 | <summary> |
||
4611 | Marks a type as being a suitable type to be used for user-defined classes. |
||
4612 | |||
4613 | The requirements for this are that a type has to follow the patterns |
||
4614 | that NewTypeMaker derived types follow. This includes: |
||
4615 | The type's constructors must all take PythonType as the 1st parameter |
||
4616 | which sets the underlying type for the actual object |
||
4617 | The type needs to implement IPythonObject |
||
4618 | Dictionary-based storage needs to be provided for setting individual members |
||
4619 | Virtual methods exposed to Python need to support checking the types dictionary for invocations |
||
4620 | </summary> |
||
4621 | </member> |
||
4622 | <member name="T:IronPython.Runtime.Types.InstanceCreator"> |
||
4623 | <summary> |
||
4624 | Base class for helper which creates instances. We have two derived types: One for user |
||
4625 | defined types which prepends the type before calling, and one for .NET types which |
||
4626 | doesn't prepend the type. |
||
4627 | </summary> |
||
4628 | </member> |
||
4629 | <member name="T:IronPython.Runtime.Types.NameConverter"> |
||
4630 | <summary> |
||
4631 | Contains helper methods for converting C# names into Python names. |
||
4632 | </summary> |
||
4633 | </member> |
||
4634 | <member name="T:IronPython.Runtime.Types.NewTypeInfo"> |
||
4635 | <summary> |
||
4636 | TypeInfo captures the minimal CLI information required by NewTypeMaker for a Python object |
||
4637 | that inherits from a CLI type. |
||
4638 | </summary> |
||
4639 | </member> |
||
4640 | <member name="M:IronPython.Runtime.Types.NewTypeInfo.GetTypeInfo(System.String,IronPython.Runtime.PythonTuple)"> |
||
4641 | <summary> |
||
4642 | "bases" contains a set of PythonTypes. These can include types defined in Python (say cpy1, cpy2), |
||
4643 | CLI types (say cCLI1, cCLI2), and CLI interfaces (say iCLI1, iCLI2). Here are some |
||
4644 | examples of how this works: |
||
4645 | |||
4646 | (bases) => baseType, {interfaceTypes} |
||
4647 | |||
4648 | (cpy1) => System.Object, {} |
||
4649 | (cpy1, cpy2) => System.Object, {} |
||
4650 | (cpy1, cCLI1, iCLI1, iCLI2) => cCLI1, {iCLI1, iCLI2} |
||
4651 | [some type that satisfies the line above] => |
||
4652 | cCLI1, {iCLI1, iCLI2} |
||
4653 | (cCLI1, cCLI2) => error |
||
4654 | </summary> |
||
4655 | </member> |
||
4656 | <member name="M:IronPython.Runtime.Types.NewTypeInfo.GetPythonTypes(System.String,System.Collections.Generic.ICollection{System.Object})"> |
||
4657 | <summary> |
||
4658 | Filters out old-classes and throws if any non-types are included, returning a |
||
4659 | yielding the remaining PythonType objects. |
||
4660 | </summary> |
||
4661 | </member> |
||
4662 | <member name="T:IronPython.Runtime.Types.NewTypeMaker"> |
||
4663 | <summary> |
||
4664 | Python class hierarchy is represented using the __class__ field in the object. It does not |
||
4665 | use the CLI type system for pure Python types. However, Python types which inherit from a |
||
4666 | CLI type, or from a builtin Python type which is implemented in the engine by a CLI type, |
||
4667 | do have to use the CLI type system to interoperate with the CLI world. This means that |
||
4668 | objects of different Python types, but with the same CLI base type, can use the same CLI type - |
||
4669 | they will just have different values for the __class__ field. |
||
4670 | |||
4671 | The easiest way to inspect the functionality implemented by NewTypeMaker is to persist the |
||
4672 | generated IL using "ipy.exe -X:SaveAssemblies", and then inspect the |
||
4673 | persisted IL using ildasm. |
||
4674 | </summary> |
||
4675 | </member> |
||
4676 | <member name="M:IronPython.Runtime.Types.NewTypeMaker.LoadNewTypes(System.Reflection.Assembly)"> |
||
4677 | <summary> |
||
4678 | Loads any available new types from the provided assembly and makes them |
||
4679 | available via the GetNewType API. |
||
4680 | </summary> |
||
4681 | </member> |
||
4682 | <member name="M:IronPython.Runtime.Types.NewTypeMaker.IsInstanceType(System.Type)"> |
||
4683 | <summary> |
||
4684 | Is this a type used for instances Python types (and not for the types themselves)? |
||
4685 | </summary> |
||
4686 | </member> |
||
4687 | <member name="M:IronPython.Runtime.Types.NewTypeMaker.GetOriginalIndex(System.Reflection.ParameterInfo[],Microsoft.Scripting.Generation.ParameterInfoWrapper[],System.Int32)"> |
||
4688 | <summary> |
||
4689 | Gets the position for the parameter which we are overriding. |
||
4690 | </summary> |
||
4691 | <param name="pis"></param> |
||
4692 | <param name="overrideParams"></param> |
||
4693 | <param name="i"></param> |
||
4694 | <returns></returns> |
||
4695 | </member> |
||
4696 | <member name="M:IronPython.Runtime.Types.NewTypeMaker.DefineHelperInterface(System.Type)"> |
||
4697 | <summary> |
||
4698 | Defines an interface on the type that forwards all calls |
||
4699 | to a helper method in UserType. The method names all will |
||
4700 | have Helper appended to them to get the name for UserType. The |
||
4701 | UserType version should take 1 extra parameter (self). |
||
4702 | </summary> |
||
4703 | </member> |
||
4704 | <member name="M:IronPython.Runtime.Types.NewTypeMaker.OverrideMethods(System.Type,System.Collections.Generic.Dictionary{System.String,System.String[]})"> |
||
4705 | <summary> |
||
4706 | Overrides methods - this includes all accessible virtual methods as well as protected non-virtual members |
||
4707 | including statics and non-statics. |
||
4708 | </summary> |
||
4709 | </member> |
||
4710 | <member name="M:IronPython.Runtime.Types.NewTypeMaker.EmitBaseMethodDispatch(System.Reflection.MethodInfo,Microsoft.Scripting.Generation.ILGen)"> |
||
4711 | <summary> |
||
4712 | Loads all the incoming arguments and forwards them to mi which |
||
4713 | has the same signature and then returns the result |
||
4714 | </summary> |
||
4715 | </member> |
||
4716 | <member name="M:IronPython.Runtime.Types.NewTypeMaker.EmitBaseClassCallCheckForProperties(Microsoft.Scripting.Generation.ILGen,System.Reflection.MethodInfo,System.String)"> |
||
4717 | <summary> |
||
4718 | Emits code to check if the class has overridden this specific |
||
4719 | function. For example: |
||
4720 | |||
4721 | MyDerivedType.SomeVirtualFunction = ... |
||
4722 | or |
||
4723 | |||
4724 | class MyDerivedType(MyBaseType): |
||
4725 | def SomeVirtualFunction(self, ...): |
||
4726 | |||
4727 | </summary> |
||
4728 | </member> |
||
4729 | <member name="M:IronPython.Runtime.Types.NewTypeMaker.EmitConvertFromObject(Microsoft.Scripting.Generation.ILGen,System.Type)"> |
||
4730 | <summary> |
||
4731 | Emit code to convert object to a given type. This code is semantically equivalent |
||
4732 | to PythonBinder.EmitConvertFromObject, except this version accepts ILGen whereas |
||
4733 | PythonBinder accepts Compiler. The Binder will chagne soon and the two will merge. |
||
4734 | </summary> |
||
4735 | </member> |
||
4736 | <member name="M:IronPython.Runtime.Types.NewTypeMaker.EmitBaseClassCallCheckForEvents(Microsoft.Scripting.Generation.ILGen,System.Reflection.MethodInfo,System.String)"> |
||
4737 | <summary> |
||
4738 | Emits code to check if the class has overridden this specific |
||
4739 | function. For example: |
||
4740 | |||
4741 | MyDerivedType.SomeVirtualFunction = ... |
||
4742 | or |
||
4743 | |||
4744 | class MyDerivedType(MyBaseType): |
||
4745 | def SomeVirtualFunction(self, ...): |
||
4746 | |||
4747 | </summary> |
||
4748 | </member> |
||
4749 | <member name="M:IronPython.Runtime.Types.NewTypeMaker.EmitNonInheritedMethodLookup(System.String,Microsoft.Scripting.Generation.ILGen)"> |
||
4750 | <summary> |
||
4751 | Emits the call to lookup a member defined in the user's type. Returns |
||
4752 | the local which stores the resulting value and leaves a value on the |
||
4753 | stack indicating the success of the lookup. |
||
4754 | </summary> |
||
4755 | </member> |
||
4756 | <member name="M:IronPython.Runtime.Types.NewTypeMaker.CreateSuperCallHelper(System.Reflection.MethodInfo)"> |
||
4757 | <summary> |
||
4758 | Creates a method for doing a base method dispatch. This is used to support |
||
4759 | super(type, obj) calls. |
||
4760 | </summary> |
||
4761 | </member> |
||
4762 | <member name="M:IronPython.Runtime.Types.NewTypeMaker.EmitClrCallStub(Microsoft.Scripting.Generation.ILGen,System.Reflection.MethodInfo,System.Reflection.Emit.LocalBuilder)"> |
||
4763 | <summary> |
||
4764 | Generates stub to receive the CLR call and then call the dynamic language code. |
||
4765 | This code is same as StubGenerator.cs in the Microsoft.Scripting, except it |
||
4766 | accepts ILGen instead of Compiler. |
||
4767 | </summary> |
||
4768 | </member> |
||
4769 | <member name="M:IronPython.Runtime.Types.NewTypeMaker.GetOverriddenMethods(System.Type,System.String)"> |
||
4770 | <summary> |
||
4771 | Called from PythonTypeOps - the BuiltinFunction._function lock must be held. |
||
4772 | </summary> |
||
4773 | </member> |
||
4774 | <member name="T:IronPython.Runtime.Types.ReturnFixer"> |
||
4775 | <summary> |
||
4776 | Same as the DLR ReturnFixer, but accepts lower level constructs, |
||
4777 | such as LocalBuilder, ParameterInfos and ILGen. |
||
4778 | </summary> |
||
4779 | </member> |
||
4780 | <member name="M:IronPython.Runtime.Types.DocBuilder.GetOverloadDoc(System.Reflection.MethodBase,System.String,System.Int32,System.Boolean)"> |
||
4781 | <summary> |
||
4782 | Creates a DLR OverloadDoc object which describes information about this overload. |
||
4783 | </summary> |
||
4784 | <param name="info">The method to document</param> |
||
4785 | <param name="name">The name of the method if it should override the name in the MethodBase</param> |
||
4786 | <param name="endParamSkip">Parameters to skip at the end - used for removing the value on a setter method</param> |
||
4787 | <param name="includeSelf">true to include self on instance methods</param> |
||
4788 | </member> |
||
4789 | <member name="M:IronPython.Runtime.Types.DocBuilder.AppendTypeFormat(System.Type,System.Text.StringBuilder,System.Reflection.ParameterInfo)"> |
||
4790 | <summary> |
||
4791 | Converts a Type object into a string suitable for lookup in the help file. All generic types are |
||
4792 | converted down to their generic type definition. |
||
4793 | </summary> |
||
4794 | </member> |
||
4795 | <member name="M:IronPython.Runtime.Types.DocBuilder.GetXPathDocument(System.Reflection.Assembly)"> |
||
4796 | <summary> |
||
4797 | Gets the XPathDocument for the specified assembly, or null if one is not available. |
||
4798 | </summary> |
||
4799 | </member> |
||
4800 | <member name="M:IronPython.Runtime.Types.DocBuilder.GetXmlDoc(System.Reflection.MethodBase,System.String@,System.String@,System.Collections.Generic.List{System.Collections.Generic.KeyValuePair{System.String,System.String}}@)"> |
||
4801 | <summary> |
||
4802 | Gets the Xml documentation for the specified MethodBase. |
||
4803 | </summary> |
||
4804 | </member> |
||
4805 | <member name="M:IronPython.Runtime.Types.DocBuilder.GetXmlDoc(System.Type,System.String@)"> |
||
4806 | <summary> |
||
4807 | Gets the Xml documentation for the specified Type. |
||
4808 | </summary> |
||
4809 | </member> |
||
4810 | <member name="M:IronPython.Runtime.Types.DocBuilder.GetXmlDocForProperty(System.Type,System.String,System.String@,System.String@)"> |
||
4811 | <summary> |
||
4812 | Gets the Xml documentation for the specified Field. |
||
4813 | </summary> |
||
4814 | </member> |
||
4815 | <member name="M:IronPython.Runtime.Types.DocBuilder.GetXmlDoc(System.Reflection.EventInfo,System.String@,System.String@)"> |
||
4816 | <summary> |
||
4817 | Gets the Xml documentation for the specified Field. |
||
4818 | </summary> |
||
4819 | </member> |
||
4820 | <member name="M:IronPython.Runtime.Types.DocBuilder.XmlToString(System.Xml.XPath.XPathNodeIterator)"> |
||
4821 | <summary> |
||
4822 | Converts the XML as stored in the config file into a human readable string. |
||
4823 | </summary> |
||
4824 | </member> |
||
4825 | <member name="M:IronPython.Runtime.Types.BuiltinFunctionOverloadMapper.FindMatchingTargets(System.Type[],System.Collections.Generic.IList{System.Reflection.MethodBase},System.Boolean)"> |
||
4826 | <summary> |
||
4827 | Find matching overloads by checking signature against available targets |
||
4828 | </summary> |
||
4829 | <param name="sig">Given signature</param> |
||
4830 | <param name="targets">List of possible targets</param> |
||
4831 | <param name="removeCodeContext">If set to true, the method will check whether the first paramter of the |
||
4832 | target is of the type CodeContext and removes it</param> |
||
4833 | <returns>Possible overloads</returns> |
||
4834 | </member> |
||
4835 | <member name="M:IronPython.Runtime.Types.BuiltinFunctionOverloadMapper.ThrowOverloadException(System.Type[],System.Collections.Generic.IList{System.Reflection.MethodBase})"> |
||
4836 | <summary> |
||
4837 | Throws a formatted exception if no overload matchs. |
||
4838 | </summary> |
||
4839 | <param name="sig">Passed signature which should be used</param> |
||
4840 | <param name="targets">Given targets, which does not fit to the signature</param> |
||
4841 | <example> |
||
4842 | <code language="cs" title="Cause overload exceptiob"><![CDATA[ |
||
4843 | # Will cause an exception: |
||
4844 | from System import Convert, Double |
||
4845 | Convert.ToInt32.Overloads[Double, Double](24) |
||
4846 | ]]></code> |
||
4847 | </example> |
||
4848 | </member> |
||
4849 | <member name="T:IronPython.Runtime.Types.CustomAttributeTracker"> |
||
4850 | <summary> |
||
4851 | Provides a CustomTracker which handles special fields which have custom |
||
4852 | behavior on get/set. |
||
4853 | </summary> |
||
4854 | </member> |
||
4855 | <member name="T:IronPython.Runtime.Types.CustomInstanceDictionaryStorage"> |
||
4856 | <summary> |
||
4857 | Provides custom, versioned, dictionary access for instances. Used for both |
||
4858 | new-style and old-style instances. |
||
4859 | |||
4860 | Each class can allocate a version for instance storage using the |
||
4861 | CustomInstanceDictionaryStorage.AllocateInstance method. The version allocated |
||
4862 | is dependent upon the names which are likely to appear in the instance |
||
4863 | dictionary. Currently these names are calculated by collecting the names |
||
4864 | that are assigned to during the __init__ method and combining these with |
||
4865 | all such names in the types MRO. |
||
4866 | |||
4867 | When creating the dictionary for storing instance values the class can then create |
||
4868 | a PythonDictionary backed by a CustomInstanceDictionaryStorage with it's |
||
4869 | version. When doing a get/set optimized code can then be produced that |
||
4870 | verifies we have CustomInstanceDictionaryStorage and it has the |
||
4871 | correct version. If we have a matching dictionary then gets/sets can turn |
||
4872 | into simple array accesses rather than dictionary gets/sets. For programs |
||
4873 | which access a large number of instance variables this can dramatically |
||
4874 | speed up the program. |
||
4875 | |||
4876 | TODO: Should we attempt to unify all versions which share the same keys? |
||
4877 | </summary> |
||
4878 | </member> |
||
4879 | <member name="T:IronPython.Runtime.Types.FunctionType"> |
||
4880 | <summary> |
||
4881 | Represents a set of attributes that different functions can have. |
||
4882 | </summary> |
||
4883 | </member> |
||
4884 | <member name="F:IronPython.Runtime.Types.FunctionType.None"> |
||
4885 | <summary>No flags have been set </summary> |
||
4886 | </member> |
||
4887 | <member name="F:IronPython.Runtime.Types.FunctionType.Function"> |
||
4888 | <summary>This is a function w/ no instance pointer </summary> |
||
4889 | </member> |
||
4890 | <member name="F:IronPython.Runtime.Types.FunctionType.Method"> |
||
4891 | <summary>This is a method that requires an instance</summary> |
||
4892 | </member> |
||
4893 | <member name="F:IronPython.Runtime.Types.FunctionType.FunctionMethodMask"> |
||
4894 | <summary>Built-in functions can encapsulate both methods and functions, in which case both bits are set</summary> |
||
4895 | </member> |
||
4896 | <member name="F:IronPython.Runtime.Types.FunctionType.AlwaysVisible"> |
||
4897 | <summary>True is the function/method should be visible from pure-Python code</summary> |
||
4898 | </member> |
||
4899 | <member name="F:IronPython.Runtime.Types.FunctionType.ReversedOperator"> |
||
4900 | <summary>True if this is a __r*__ method for a CLS overloaded operator method</summary> |
||
4901 | </member> |
||
4902 | <member name="F:IronPython.Runtime.Types.FunctionType.BinaryOperator"> |
||
4903 | <summary> |
||
4904 | This method represents a binary operator method for a CLS overloaded operator method. |
||
4905 | |||
4906 | Being a binary operator causes the following special behaviors to kick in: |
||
4907 | A failed binding at call time returns NotImplemented instead of raising an exception |
||
4908 | A reversed operator will automatically be created if: |
||
4909 | 1. The parameters are both of the instance type |
||
4910 | 2. The parameters are in reversed order (other, this) |
||
4911 | |||
4912 | This enables simple .NET operator methods to be mapped into the Python semantics. |
||
4913 | </summary> |
||
4914 | </member> |
||
4915 | <member name="F:IronPython.Runtime.Types.FunctionType.ModuleMethod"> |
||
4916 | <summary> |
||
4917 | A method declared on a built-in module |
||
4918 | </summary> |
||
4919 | </member> |
||
4920 | <member name="T:IronPython.Runtime.Types.OperatorMapping"> |
||
4921 | <summary> |
||
4922 | OperatorMapping provides a mapping from DLR operators to their associated .NET methods. |
||
4923 | </summary> |
||
4924 | </member> |
||
4925 | <member name="M:IronPython.Runtime.Types.OperatorMapping.GetOperatorMapping(IronPython.Runtime.Binding.PythonOperationKind)"> |
||
4926 | <summary> |
||
4927 | Given an operator returns the OperatorMapping associated with the operator or null |
||
4928 | </summary> |
||
4929 | </member> |
||
4930 | <member name="P:IronPython.Runtime.Types.OperatorMapping.Operator"> |
||
4931 | <summary> |
||
4932 | The operator the OperatorMapping provides info for. |
||
4933 | </summary> |
||
4934 | </member> |
||
4935 | <member name="P:IronPython.Runtime.Types.OperatorMapping.Name"> |
||
4936 | <summary> |
||
4937 | The primary method name associated with the method. This method name is |
||
4938 | usally in the form of op_Operator (e.g. op_Addition). |
||
4939 | </summary> |
||
4940 | </member> |
||
4941 | <member name="P:IronPython.Runtime.Types.OperatorMapping.AlternateName"> |
||
4942 | <summary> |
||
4943 | The secondary method name associated with the method. This method name is |
||
4944 | usually a standard .NET method name with pascal casing (e.g. Add). |
||
4945 | </summary> |
||
4946 | </member> |
||
4947 | <member name="P:IronPython.Runtime.Types.OperatorMapping.AlternateExpectedType"> |
||
4948 | <summary> |
||
4949 | The return type that must match for the alternate operator to be valid. |
||
4950 | |||
4951 | This is available alternate operators don't have special names and therefore |
||
4952 | could be confused for a normal method which isn't fulfilling the contract. |
||
4953 | </summary> |
||
4954 | </member> |
||
4955 | <member name="T:IronPython.Runtime.Types.PythonSiteCache"> |
||
4956 | <summary> |
||
4957 | Cached CallSites. User types are cached on the PythonType and System types are cached on the |
||
4958 | PythonContext to avoid cross-runtime contamination due to the binder on the site. |
||
4959 | </summary> |
||
4960 | </member> |
||
4961 | <member name="T:IronPython.Runtime.Types.PythonType"> |
||
4962 | <summary> |
||
4963 | Represents a PythonType. Instances of PythonType are created via PythonTypeBuilder. |
||
4964 | </summary> |
||
4965 | </member> |
||
4966 | <member name="M:IronPython.Runtime.Types.PythonType.IronPython#Runtime#Binding#IFastInvokable#MakeInvokeBinding``1(System.Runtime.CompilerServices.CallSite{``0},IronPython.Runtime.Binding.PythonInvokeBinder,IronPython.Runtime.CodeContext,System.Object[])"> |
||
4967 | <summary> |
||
4968 | Implements fast binding for user defined types. This ensures that common highly dynamic |
||
4969 | scenarios will run fast (for instance creating new types repeatedly and only creating a limited |
||
4970 | number of instances of them). It also gives better code sharing amongst different subclasses |
||
4971 | of the same types and improved startup time due to reduced code generation. |
||
4972 | </summary> |
||
4973 | </member> |
||
4974 | <member name="T:IronPython.Runtime.Types.PythonType.FastBindingBuilderBase"> |
||
4975 | <summary> |
||
4976 | Base class for doing fast type invoke binding. Subclasses are created using |
||
4977 | reflection once during the binding. The subclasses can then proceed to do |
||
4978 | the binding w/o using reflection. Otherwise we'd have lots more reflection |
||
4979 | calls which would slow the binding up. |
||
4980 | </summary> |
||
4981 | </member> |
||
4982 | <member name="M:IronPython.Runtime.Types.PythonType.FastBindingBuilderBase.GetOrCreateFastNew"> |
||
4983 | <summary> |
||
4984 | Gets or creates delegate for calling the constructor function. |
||
4985 | </summary> |
||
4986 | </member> |
||
4987 | <member name="F:IronPython.Runtime.Types.PythonType._fastBindCtors"> |
||
4988 | <summary> |
||
4989 | Provides delegates that will invoke a parameterless type ctor. The first key provides |
||
4990 | the dictionary for a specific type, the 2nd key provides the delegate for a specific |
||
4991 | call site type used in conjunction w/ our IFastInvokable implementation. |
||
4992 | </summary> |
||
4993 | </member> |
||
4994 | <member name="F:IronPython.Runtime.Types.PythonType._userTypeCtors"> |
||
4995 | <summary> |
||
4996 | Shared built-in functions for creating instances of user defined types. Because all |
||
4997 | types w/ the same UnderlyingSystemType share the same constructors these can be |
||
4998 | shared across multiple types. |
||
4999 | </summary> |
||
5000 | </member> |
||
5001 | <member name="M:IronPython.Runtime.Types.PythonType.#ctor(IronPython.Runtime.CodeContext,System.String,IronPython.Runtime.PythonTuple,IronPython.Runtime.PythonDictionary)"> |
||
5002 | <summary> |
||
5003 | Creates a new type for a user defined type. The name, base classes (a tuple of type |
||
5004 | objects), and a dictionary of members is provided. |
||
5005 | </summary> |
||
5006 | </member> |
||
5007 | <member name="M:IronPython.Runtime.Types.PythonType.#ctor(IronPython.Runtime.CodeContext,System.String,IronPython.Runtime.PythonTuple,IronPython.Runtime.PythonDictionary,System.String)"> |
||
5008 | <summary> |
||
5009 | Creates a new type for a user defined type. The name, base classes (a tuple of type |
||
5010 | objects), and a dictionary of members is provided. |
||
5011 | </summary> |
||
5012 | </member> |
||
5013 | <member name="M:IronPython.Runtime.Types.PythonType.#ctor(System.Type)"> |
||
5014 | <summary> |
||
5015 | Creates a new PythonType object which is backed by the specified .NET type for |
||
5016 | storage. The type is considered a system type which can not be modified |
||
5017 | by the user. |
||
5018 | </summary> |
||
5019 | <param name="underlyingSystemType"></param> |
||
5020 | </member> |
||
5021 | <member name="M:IronPython.Runtime.Types.PythonType.#ctor(IronPython.Runtime.Types.PythonType,System.String,System.Func{System.String,System.Exception})"> |
||
5022 | <summary> |
||
5023 | Creates a new PythonType which is a subclass of the specified PythonType. |
||
5024 | |||
5025 | Used for runtime defined new-style classes which require multiple inheritance. The |
||
5026 | primary example of this is the exception system. |
||
5027 | </summary> |
||
5028 | </member> |
||
5029 | <member name="M:IronPython.Runtime.Types.PythonType.#ctor(IronPython.Runtime.Types.PythonType[],System.String)"> |
||
5030 | <summary> |
||
5031 | Creates a new PythonType which is a subclass of the specified PythonTypes. |
||
5032 | |||
5033 | Used for runtime defined new-style classes which require multiple inheritance. The |
||
5034 | primary example of this is the exception system. |
||
5035 | </summary> |
||
5036 | </member> |
||
5037 | <member name="M:IronPython.Runtime.Types.PythonType.#ctor(IronPython.Runtime.Types.PythonType[],System.Type,System.String,System.Func{System.String,System.Exception})"> |
||
5038 | <summary> |
||
5039 | Creates a new PythonType which is a subclass of the specified PythonTypes. |
||
5040 | |||
5041 | Used for runtime defined new-style classes which require multiple inheritance. The |
||
5042 | primary example of this is the exception system. |
||
5043 | </summary> |
||
5044 | </member> |
||
5045 | <member name="M:IronPython.Runtime.Types.PythonType.#ctor(IronPython.Runtime.PythonContext,IronPython.Runtime.Types.PythonType,System.String,System.String,System.String,System.Func{System.String,System.Exception})"> |
||
5046 | <summary> |
||
5047 | Creates a new PythonType which is a subclass of the specified PythonType. |
||
5048 | |||
5049 | Used for runtime defined new-style classes which require multiple inheritance. The |
||
5050 | primary example of this is the exception system. |
||
5051 | </summary> |
||
5052 | </member> |
||
5053 | <member name="M:IronPython.Runtime.Types.PythonType.#ctor(IronPython.Runtime.PythonContext,IronPython.Runtime.Types.PythonType[],System.String,System.String,System.String)"> |
||
5054 | <summary> |
||
5055 | Creates a new PythonType which is a subclass of the specified PythonTypes. |
||
5056 | |||
5057 | Used for runtime defined new-style classes which require multiple inheritance. The |
||
5058 | primary example of this is the exception system. |
||
5059 | </summary> |
||
5060 | </member> |
||
5061 | <member name="M:IronPython.Runtime.Types.PythonType.#ctor(IronPython.Runtime.PythonContext,IronPython.Runtime.Types.PythonType[],System.Type,System.String,System.String,System.String,System.Func{System.String,System.Exception})"> |
||
5062 | <summary> |
||
5063 | Creates a new PythonType which is a subclass of the specified PythonTypes. |
||
5064 | |||
5065 | Used for runtime defined new-style classes which require multiple inheritance. The |
||
5066 | primary example of this is the exception system. |
||
5067 | </summary> |
||
5068 | </member> |
||
5069 | <member name="M:IronPython.Runtime.Types.PythonType.#ctor(IronPython.Runtime.Types.OldClass)"> |
||
5070 | <summary> |
||
5071 | Creates a new PythonType object which represents an Old-style class. |
||
5072 | </summary> |
||
5073 | </member> |
||
5074 | <member name="F:IronPython.Runtime.Types.PythonType.TypeFlagHeapType"> |
||
5075 | <summary> |
||
5076 | Used in copy_reg which is the only consumer of __flags__ in the standard library. |
||
5077 | |||
5078 | Set if the type is user defined |
||
5079 | </summary> |
||
5080 | </member> |
||
5081 | <member name="F:IronPython.Runtime.Types.PythonType.TypeFlagAbstractMethodsDefined"> |
||
5082 | <summary> |
||
5083 | Set if the type has __abstractmethods__ defined |
||
5084 | </summary> |
||
5085 | </member> |
||
5086 | <member name="M:IronPython.Runtime.Types.PythonType.IsIterable(IronPython.Runtime.CodeContext)"> |
||
5087 | <summary> |
||
5088 | Check whether the current type is iterabel |
||
5089 | </summary> |
||
5090 | <param name="context"></param> |
||
5091 | <returns>True if it is iterable</returns> |
||
5092 | </member> |
||
5093 | <member name="M:IronPython.Runtime.Types.PythonType.__instancecheck__(System.Object)"> |
||
5094 | <summary> |
||
5095 | Returns true if the specified object is an instance of this type. |
||
5096 | </summary> |
||
5097 | </member> |
||
5098 | <member name="P:IronPython.Runtime.Types.PythonType.Name"> |
||
5099 | <summary> |
||
5100 | Gets the name of the dynamic type |
||
5101 | </summary> |
||
5102 | </member> |
||
5103 | <member name="P:IronPython.Runtime.Types.PythonType.ResolutionOrder"> |
||
5104 | <summary> |
||
5105 | Gets the resolution order used for attribute lookup |
||
5106 | </summary> |
||
5107 | </member> |
||
5108 | <member name="M:IronPython.Runtime.Types.PythonType.GetPythonType(System.Type)"> |
||
5109 | <summary> |
||
5110 | Gets the dynamic type that corresponds with the provided static type. |
||
5111 | |||
5112 | Returns null if no type is available. TODO: In the future this will |
||
5113 | always return a PythonType created by the DLR. |
||
5114 | </summary> |
||
5115 | <param name="type"></param> |
||
5116 | <returns></returns> |
||
5117 | </member> |
||
5118 | <member name="M:IronPython.Runtime.Types.PythonType.SetPythonType(System.Type,IronPython.Runtime.Types.PythonType)"> |
||
5119 | <summary> |
||
5120 | Sets the python type that corresponds with the provided static type. |
||
5121 | |||
5122 | This is used for built-in types which have a metaclass. Currently |
||
5123 | only used by ctypes. |
||
5124 | </summary> |
||
5125 | </member> |
||
5126 | <member name="M:IronPython.Runtime.Types.PythonType.CreateInstance(IronPython.Runtime.CodeContext)"> |
||
5127 | <summary> |
||
5128 | Allocates the storage for the instance running the .NET constructor. This provides |
||
5129 | the creation functionality for __new__ implementations. |
||
5130 | </summary> |
||
5131 | </member> |
||
5132 | <member name="M:IronPython.Runtime.Types.PythonType.CreateInstance(IronPython.Runtime.CodeContext,System.Object)"> |
||
5133 | <summary> |
||
5134 | Allocates the storage for the instance running the .NET constructor. This provides |
||
5135 | the creation functionality for __new__ implementations. |
||
5136 | </summary> |
||
5137 | </member> |
||
5138 | <member name="M:IronPython.Runtime.Types.PythonType.CreateInstance(IronPython.Runtime.CodeContext,System.Object,System.Object)"> |
||
5139 | <summary> |
||
5140 | Allocates the storage for the instance running the .NET constructor. This provides |
||
5141 | the creation functionality for __new__ implementations. |
||
5142 | </summary> |
||
5143 | </member> |
||
5144 | <member name="M:IronPython.Runtime.Types.PythonType.CreateInstance(IronPython.Runtime.CodeContext,System.Object,System.Object,System.Object)"> |
||
5145 | <summary> |
||
5146 | Allocates the storage for the instance running the .NET constructor. This provides |
||
5147 | the creation functionality for __new__ implementations. |
||
5148 | </summary> |
||
5149 | </member> |
||
5150 | <member name="M:IronPython.Runtime.Types.PythonType.CreateInstance(IronPython.Runtime.CodeContext,System.Object[])"> |
||
5151 | <summary> |
||
5152 | Allocates the storage for the instance running the .NET constructor. This provides |
||
5153 | the creation functionality for __new__ implementations. |
||
5154 | </summary> |
||
5155 | </member> |
||
5156 | <member name="M:IronPython.Runtime.Types.PythonType.CreateInstance(IronPython.Runtime.CodeContext,System.Object[],System.String[])"> |
||
5157 | <summary> |
||
5158 | Allocates the storage for the instance running the .NET constructor. This provides |
||
5159 | the creation functionality for __new__ implementations. |
||
5160 | </summary> |
||
5161 | </member> |
||
5162 | <member name="P:IronPython.Runtime.Types.PythonType.UnderlyingSystemType"> |
||
5163 | <summary> |
||
5164 | Gets the underlying system type that is backing this type. All instances of this |
||
5165 | type are an instance of the underlying system type. |
||
5166 | </summary> |
||
5167 | </member> |
||
5168 | <member name="P:IronPython.Runtime.Types.PythonType.ExtensionType"> |
||
5169 | <summary> |
||
5170 | Gets the extension type for this type. The extension type provides |
||
5171 | a .NET type which can be inherited from to extend sealed classes |
||
5172 | or value types which Python allows inheritance from. |
||
5173 | </summary> |
||
5174 | </member> |
||
5175 | <member name="P:IronPython.Runtime.Types.PythonType.BaseTypes"> |
||
5176 | <summary> |
||
5177 | Gets the base types from which this type inherits. |
||
5178 | </summary> |
||
5179 | </member> |
||
5180 | <member name="M:IronPython.Runtime.Types.PythonType.IsSubclassOf(IronPython.Runtime.Types.PythonType)"> |
||
5181 | <summary> |
||
5182 | Returns true if this type is a subclass of other |
||
5183 | </summary> |
||
5184 | </member> |
||
5185 | <member name="P:IronPython.Runtime.Types.PythonType.IsSystemType"> |
||
5186 | <summary> |
||
5187 | True if the type is a system type. A system type is a type which represents an |
||
5188 | underlying .NET type and not a subtype of one of these types. |
||
5189 | </summary> |
||
5190 | </member> |
||
5191 | <member name="M:IronPython.Runtime.Types.PythonType.TryLookupSlot(IronPython.Runtime.CodeContext,System.String,IronPython.Runtime.Types.PythonTypeSlot@)"> |
||
5192 | <summary> |
||
5193 | Looks up a slot on the dynamic type |
||
5194 | </summary> |
||
5195 | </member> |
||
5196 | <member name="M:IronPython.Runtime.Types.PythonType.TryResolveSlot(IronPython.Runtime.CodeContext,System.String,IronPython.Runtime.Types.PythonTypeSlot@)"> |
||
5197 | <summary> |
||
5198 | Searches the resolution order for a slot matching by name |
||
5199 | </summary> |
||
5200 | </member> |
||
5201 | <member name="M:IronPython.Runtime.Types.PythonType.TryResolveMixedSlot(IronPython.Runtime.CodeContext,System.String,IronPython.Runtime.Types.PythonTypeSlot@)"> |
||
5202 | <summary> |
||
5203 | Searches the resolution order for a slot matching by name. |
||
5204 | |||
5205 | Includes searching for methods in old-style classes |
||
5206 | </summary> |
||
5207 | </member> |
||
5208 | <member name="M:IronPython.Runtime.Types.PythonType.AddSlot(System.String,IronPython.Runtime.Types.PythonTypeSlot)"> |
||
5209 | <summary> |
||
5210 | Internal helper to add a new slot to the type |
||
5211 | </summary> |
||
5212 | <param name="name"></param> |
||
5213 | <param name="slot"></param> |
||
5214 | </member> |
||
5215 | <member name="M:IronPython.Runtime.Types.PythonType.TryGetMember(IronPython.Runtime.CodeContext,System.Object,System.String,System.Object@)"> |
||
5216 | <summary> |
||
5217 | Gets a value from a dynamic type and any sub-types. Values are stored in slots (which serve as a level of |
||
5218 | indirection). This searches the types resolution order and returns the first slot that |
||
5219 | contains the value. |
||
5220 | </summary> |
||
5221 | </member> |
||
5222 | <member name="M:IronPython.Runtime.Types.PythonType.TryGetNonCustomMember(IronPython.Runtime.CodeContext,System.Object,System.String,System.Object@)"> |
||
5223 | <summary> |
||
5224 | Attempts to lookup a member w/o using the customizer. Equivelent to object.__getattribute__ |
||
5225 | but it doens't throw an exception. |
||
5226 | </summary> |
||
5227 | <returns></returns> |
||
5228 | </member> |
||
5229 | <member name="M:IronPython.Runtime.Types.PythonType.TryGetBoundMember(IronPython.Runtime.CodeContext,System.Object,System.String,System.Object@)"> |
||
5230 | <summary> |
||
5231 | Gets a value from a dynamic type and any sub-types. Values are stored in slots (which serve as a level of |
||
5232 | indirection). This searches the types resolution order and returns the first slot that |
||
5233 | contains the value. |
||
5234 | </summary> |
||
5235 | </member> |
||
5236 | <member name="M:IronPython.Runtime.Types.PythonType.TryGetNonCustomBoundMember(IronPython.Runtime.CodeContext,System.Object,System.String,System.Object@)"> |
||
5237 | <summary> |
||
5238 | Attempts to lookup a member w/o using the customizer. |
||
5239 | </summary> |
||
5240 | <returns></returns> |
||
5241 | </member> |
||
5242 | <member name="M:IronPython.Runtime.Types.PythonType.TrySetMember(IronPython.Runtime.CodeContext,System.Object,System.String,System.Object)"> |
||
5243 | <summary> |
||
5244 | Sets a value on an instance. If a slot is available in the most derived type the slot |
||
5245 | is set there, otherwise the value is stored directly in the instance. |
||
5246 | </summary> |
||
5247 | </member> |
||
5248 | <member name="M:IronPython.Runtime.Types.PythonType.TrySetNonCustomMember(IronPython.Runtime.CodeContext,System.Object,System.String,System.Object)"> |
||
5249 | <summary> |
||
5250 | Attempst to set a value w/o going through the customizer. |
||
5251 | |||
5252 | This enables languages to provide the "base" implementation for setting attributes |
||
5253 | so that the customizer can call back here. |
||
5254 | </summary> |
||
5255 | </member> |
||
5256 | <member name="M:IronPython.Runtime.Types.PythonType.GetMemberNames(IronPython.Runtime.CodeContext)"> |
||
5257 | <summary> |
||
5258 | Returns a list of all slot names for the type and any subtypes. |
||
5259 | </summary> |
||
5260 | <param name="context">The context that is doing the inquiry of InvariantContext.Instance.</param> |
||
5261 | </member> |
||
5262 | <member name="M:IronPython.Runtime.Types.PythonType.GetMemberNames(IronPython.Runtime.CodeContext,System.Object)"> |
||
5263 | <summary> |
||
5264 | Returns a list of all slot names for the type, any subtypes, and the instance. |
||
5265 | </summary> |
||
5266 | <param name="context">The context that is doing the inquiry of InvariantContext.Instance.</param> |
||
5267 | <param name="self">the instance to get instance members from, or null.</param> |
||
5268 | </member> |
||
5269 | <member name="M:IronPython.Runtime.Types.PythonType.AddUserTypeMembers(IronPython.Runtime.CodeContext,System.Collections.Generic.Dictionary{System.String,System.String},IronPython.Runtime.Types.PythonType,IronPython.Runtime.List)"> |
||
5270 | <summary> |
||
5271 | Adds members from a user defined type. |
||
5272 | </summary> |
||
5273 | </member> |
||
5274 | <member name="M:IronPython.Runtime.Types.PythonType.AddInstanceMembers(System.Object,System.Collections.Generic.Dictionary{System.String,System.String},IronPython.Runtime.List)"> |
||
5275 | <summary> |
||
5276 | Adds members from a user defined type instance |
||
5277 | </summary> |
||
5278 | </member> |
||
5279 | <member name="M:IronPython.Runtime.Types.PythonType.__clrtype__"> |
||
5280 | <summary> |
||
5281 | Gets the .NET type which is used for instances of the Python type. |
||
5282 | |||
5283 | When overridden by a metaclass enables a customization of the .NET type which |
||
5284 | is used for instances of the Python type. Meta-classes can construct custom |
||
5285 | types at runtime which include new .NET methods, fields, custom attributes or |
||
5286 | other features to better interoperate with .NET. |
||
5287 | </summary> |
||
5288 | </member> |
||
5289 | <member name="M:IronPython.Runtime.Types.PythonType.InitializeSystemType"> |
||
5290 | <summary> |
||
5291 | Initializes a PythonType that represents a standard .NET type. The same .NET type |
||
5292 | can be shared with the Python type system. For example object, string, int, |
||
5293 | etc... are all the same types. |
||
5294 | </summary> |
||
5295 | </member> |
||
5296 | <member name="M:IronPython.Runtime.Types.PythonType.AddSystemConstructors"> |
||
5297 | <summary> |
||
5298 | Creates a __new__ method for the type. If the type defines interesting constructors |
||
5299 | then the __new__ method will call that. Otherwise if it has only a single argless |
||
5300 | </summary> |
||
5301 | </member> |
||
5302 | <member name="M:IronPython.Runtime.Types.PythonType.GetNextVersion"> |
||
5303 | <summary> |
||
5304 | This will return a unique integer for every version of every type in the system. |
||
5305 | This means that DynamicSite code can generate a check to see if it has the correct |
||
5306 | PythonType and version with a single integer compare. |
||
5307 | |||
5308 | TODO - This method and related code should fail gracefully on overflow. |
||
5309 | </summary> |
||
5310 | </member> |
||
5311 | <member name="M:IronPython.Runtime.Types.PythonType.AddSubType(IronPython.Runtime.Types.PythonType)"> |
||
5312 | <summary> |
||
5313 | Internal helper function to add a subtype |
||
5314 | </summary> |
||
5315 | </member> |
||
5316 | <member name="P:IronPython.Runtime.Types.PythonType.SubTypes"> |
||
5317 | <summary> |
||
5318 | Gets a list of weak references to all the subtypes of this class. May return null |
||
5319 | if there are no subtypes of the class. |
||
5320 | </summary> |
||
5321 | </member> |
||
5322 | <member name="F:IronPython.Runtime.Types.PythonType.PythonTypeAttributes.SystemCtor"> |
||
5323 | <summary> |
||
5324 | The type has a ctor which does not accept PythonTypes. This is used |
||
5325 | for user defined types which implement __clrtype__ |
||
5326 | </summary> |
||
5327 | </member> |
||
5328 | <member name="M:IronPython.Runtime.Types.PythonType.GetSharedWeakReference"> |
||
5329 | <summary> |
||
5330 | Returns a CLR WeakReference object to this PythonType that can be shared |
||
5331 | between anyone who needs a weak reference to the type. |
||
5332 | </summary> |
||
5333 | </member> |
||
5334 | <member name="T:IronPython.Runtime.Types.LateBoundInitBinder"> |
||
5335 | <summary> |
||
5336 | Used when a type overrides __new__ with a Python function or other object |
||
5337 | that can return an arbitrary value. If the return value is not the same type |
||
5338 | as the type which had __new__ then we need to lookup __init__ on the type |
||
5339 | and invoke it. Also handles initialization for finalization when __del__ |
||
5340 | is defined for the same reasons. |
||
5341 | </summary> |
||
5342 | </member> |
||
5343 | <member name="M:IronPython.Runtime.Types.LateBoundInitBinder.Bind(System.Dynamic.DynamicMetaObject,System.Dynamic.DynamicMetaObject[])"> |
||
5344 | <summary> |
||
5345 | target is the newly initialized value. |
||
5346 | args are the arguments to be passed to __init__ |
||
5347 | </summary> |
||
5348 | </member> |
||
5349 | <member name="T:IronPython.Runtime.Types.ResolvedMember"> |
||
5350 | <summary> |
||
5351 | Couples a MemberGroup and the name which produces the member group together |
||
5352 | </summary> |
||
5353 | </member> |
||
5354 | <member name="T:IronPython.Runtime.Types.SlotFieldAttribute"> |
||
5355 | <summary> |
||
5356 | Represents an ops-extension which adds a new slot. The slot can have arbitrary |
||
5357 | get/set behavior above and beyond normal .NET methods or properties. This is |
||
5358 | typically in regards to how it processes access from instances or subtypes. |
||
5359 | </summary> |
||
5360 | </member> |
||
5361 | <member name="T:IronPython.Runtime.Types.PythonTypeDictSlot"> |
||
5362 | <summary> |
||
5363 | Provides a slot object for the dictionary to allow setting of the dictionary. |
||
5364 | </summary> |
||
5365 | </member> |
||
5366 | <member name="T:IronPython.Runtime.Types.Mro"> |
||
5367 | <summary> |
||
5368 | Calculates the method resolution order for a Python class |
||
5369 | the rules are: |
||
5370 | If A is a subtype of B, then A has precedence (A > B) |
||
5371 | If C appears before D in the list of bases then C > D |
||
5372 | If E > F in one __mro__ then E > F in all __mro__'s for our subtype |
||
5373 | |||
5374 | class A(object): pass |
||
5375 | class B(object): pass |
||
5376 | class C(B): pass |
||
5377 | class N(A,B,C): pass # illegal |
||
5378 | |||
5379 | This is because: |
||
5380 | C.__mro__ == (C, B, object) |
||
5381 | N.__mro__ == (N, A, B, C, object) |
||
5382 | which would conflict, but: |
||
5383 | |||
5384 | N(B,A) is ok (N, B, a, object) |
||
5385 | N(C, B, A) is ok (N, C, B, A, object) |
||
5386 | |||
5387 | Calculates a C3 MRO as described in "The Python 2.3 Method Resolution Order" |
||
5388 | plus support for old-style classes. |
||
5389 | |||
5390 | We build up a list of our base classes MRO's plus our base classes themselves. |
||
5391 | We go through the list in order. Look at the 1st class in the current list, and |
||
5392 | if it's not the non-first class in any other list then remove it from all the lists |
||
5393 | and append it to the mro. Otherwise continue to the next list. If all the classes at |
||
5394 | the start are no-good then the MRO is bad and we throw. |
||
5395 | |||
5396 | For old-style classes if the old-style class is the only one in the list of bases add |
||
5397 | it as a depth-first old-style MRO, otherwise compute a new-style mro for all the classes |
||
5398 | and use that. |
||
5399 | </summary> |
||
5400 | </member> |
||
5401 | <member name="M:IronPython.Runtime.Types.Mro.Calculate(IronPython.Runtime.Types.PythonType,System.Collections.Generic.IList{IronPython.Runtime.Types.PythonType},System.Boolean)"> |
||
5402 | <summary> |
||
5403 | </summary> |
||
5404 | </member> |
||
5405 | <member name="P:IronPython.Runtime.Types.OldInstance.Dictionary"> |
||
5406 | <summary> |
||
5407 | Returns the dictionary used to store state for this object |
||
5408 | </summary> |
||
5409 | </member> |
||
5410 | <member name="T:IronPython.Runtime.Types.ReflectedSlotProperty"> |
||
5411 | <summary> |
||
5412 | Represents a member of a user-defined type which defines __slots__. The names listed in |
||
5413 | __slots__ have storage allocated for them with the type and provide fast get/set access. |
||
5414 | </summary> |
||
5415 | </member> |
||
5416 | <member name="P:IronPython.Runtime.Types.ReflectedSlotProperty.Index"> |
||
5417 | <summary> |
||
5418 | Gets the index into the object array to be used for the slot storage. |
||
5419 | </summary> |
||
5420 | </member> |
||
5421 | <member name="T:IronPython.Runtime.Types.PythonTypeInfo"> |
||
5422 | <summary> |
||
5423 | Helpers for interacting w/ .NET types. This includes: |
||
5424 | |||
5425 | Member resolution via GetMember/GetMembers. This performs a member lookup which includes the registered |
||
5426 | extension types in the PythonBinder. Internally the class has many MemberResolver's which provide |
||
5427 | the various resolution behaviors. |
||
5428 | |||
5429 | Cached member access - this is via static classes such as Object and provides various MemberInfo's so we're |
||
5430 | not constantly looking up via reflection. |
||
5431 | </summary> |
||
5432 | </member> |
||
5433 | <member name="F:IronPython.Runtime.Types.PythonTypeInfo._resolvers"> |
||
5434 | <summary> list of resolvers which we run to resolve items </summary> |
||
5435 | </member> |
||
5436 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.GetMemberAll(IronPython.Runtime.Binding.PythonBinder,Microsoft.Scripting.Actions.MemberRequestKind,System.Type,System.String)"> |
||
5437 | <summary> |
||
5438 | Gets the statically known member from the type with the specific name. Searches the entire type hierarchy to find the specified member. |
||
5439 | </summary> |
||
5440 | </member> |
||
5441 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.GetMembersAll(IronPython.Runtime.Binding.PythonBinder,Microsoft.Scripting.Actions.MemberRequestKind,System.Type)"> |
||
5442 | <summary> |
||
5443 | Gets all the statically known members from the specified type. Searches the entire type hierarchy to get all possible members. |
||
5444 | |||
5445 | The result may include multiple resolution. It is the callers responsibility to only treat the 1st one by name as existing. |
||
5446 | </summary> |
||
5447 | </member> |
||
5448 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.GetMember(IronPython.Runtime.Binding.PythonBinder,Microsoft.Scripting.Actions.MemberRequestKind,System.Type,System.String)"> |
||
5449 | <summary> |
||
5450 | Gets the statically known member from the type with the specific name. Searches only the specified type to find the member. |
||
5451 | </summary> |
||
5452 | </member> |
||
5453 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.GetMembers(IronPython.Runtime.Binding.PythonBinder,Microsoft.Scripting.Actions.MemberRequestKind,System.Type)"> |
||
5454 | <summary> |
||
5455 | Gets all the statically known members from the specified type. Searches only the specified type to find the members. |
||
5456 | |||
5457 | The result may include multiple resolution. It is the callers responsibility to only treat the 1st one by name as existing. |
||
5458 | </summary> |
||
5459 | </member> |
||
5460 | <member name="T:IronPython.Runtime.Types.PythonTypeInfo.MemberResolver"> |
||
5461 | <summary> |
||
5462 | Abstract class used for resolving members. This provides two methods of member look. The first is looking |
||
5463 | up a single member by name. The other is getting all of the members. |
||
5464 | |||
5465 | There are various subclasses of this which have different methods of resolving the members. The primary |
||
5466 | function of the resolvers are to provide the name->value lookup. They also need to provide a simple name |
||
5467 | enumerator. The enumerator is kept simple because it's allowed to return duplicate names as well as return |
||
5468 | names of members that don't exist. The base MemberResolver will then verify their existance as well as |
||
5469 | filter duplicates. |
||
5470 | </summary> |
||
5471 | </member> |
||
5472 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.MemberResolver.ResolveMember(IronPython.Runtime.Types.PythonTypeInfo.MemberBinder,Microsoft.Scripting.Actions.MemberRequestKind,System.Type,System.String)"> |
||
5473 | <summary> |
||
5474 | Looks up an individual member and returns a MemberGroup with the given members. |
||
5475 | </summary> |
||
5476 | </member> |
||
5477 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.MemberResolver.ResolveMembers(IronPython.Runtime.Types.PythonTypeInfo.MemberBinder,Microsoft.Scripting.Actions.MemberRequestKind,System.Type)"> |
||
5478 | <summary> |
||
5479 | Returns a list of members that exist on the type. The ResolvedMember structure indicates both |
||
5480 | the name and provides the MemberGroup. |
||
5481 | </summary> |
||
5482 | </member> |
||
5483 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.MemberResolver.GetCandidateNames(IronPython.Runtime.Types.PythonTypeInfo.MemberBinder,Microsoft.Scripting.Actions.MemberRequestKind,System.Type)"> |
||
5484 | <summary> |
||
5485 | Returns a list of possible members which could exist. ResolveMember needs to be called to verify their existance. Duplicate |
||
5486 | names can also be returned. |
||
5487 | </summary> |
||
5488 | </member> |
||
5489 | <member name="T:IronPython.Runtime.Types.PythonTypeInfo.OneOffResolver"> |
||
5490 | <summary> |
||
5491 | One off resolver for various special methods which are known by name. A delegate is provided to provide the actual member which |
||
5492 | will be resolved. |
||
5493 | </summary> |
||
5494 | </member> |
||
5495 | <member name="T:IronPython.Runtime.Types.PythonTypeInfo.StandardResolver"> |
||
5496 | <summary> |
||
5497 | Standard resolver for looking up .NET members. Uses reflection to get the members by name. |
||
5498 | </summary> |
||
5499 | </member> |
||
5500 | <member name="T:IronPython.Runtime.Types.PythonTypeInfo.EqualityResolver"> |
||
5501 | <summary> |
||
5502 | Resolves methods mapped to __eq__ and __ne__ from: |
||
5503 | 1. IStructuralEquatable.Equals |
||
5504 | 2. IValueEquality.Equals (CLR2 only) |
||
5505 | </summary> |
||
5506 | </member> |
||
5507 | <member name="T:IronPython.Runtime.Types.PythonTypeInfo.ComparisonResolver"> |
||
5508 | <summary> |
||
5509 | Resolves methods mapped to __gt__, __lt__, __ge__, __le__, as well as providing an alternate resolution |
||
5510 | for __eq__ and __ne__, from the comparable type's CompareTo method. |
||
5511 | |||
5512 | This should be run after the EqualityResolver. |
||
5513 | </summary> |
||
5514 | </member> |
||
5515 | <member name="T:IronPython.Runtime.Types.PythonTypeInfo.OperatorResolver"> |
||
5516 | <summary> |
||
5517 | Resolves methods mapped to __*__ methods automatically from the .NET operator. |
||
5518 | </summary> |
||
5519 | </member> |
||
5520 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.OperatorResolver.FilterAlternateMethods(IronPython.Runtime.Types.OperatorMapping,Microsoft.Scripting.Actions.MemberGroup)"> |
||
5521 | <summary> |
||
5522 | Filters alternative methods out that don't match the expected signature and therefore |
||
5523 | are just sharing a common method name. |
||
5524 | </summary> |
||
5525 | </member> |
||
5526 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.OperatorResolver.FilterObjectEquality(Microsoft.Scripting.Actions.MemberGroup)"> |
||
5527 | <summary> |
||
5528 | Removes Object.Equals methods as we never return these for PythonOperationKind. |
||
5529 | </summary> |
||
5530 | </member> |
||
5531 | <member name="T:IronPython.Runtime.Types.PythonTypeInfo.PrivateBindingResolver"> |
||
5532 | <summary> |
||
5533 | Provides bindings to private members when that global option is enabled. |
||
5534 | </summary> |
||
5535 | </member> |
||
5536 | <member name="T:IronPython.Runtime.Types.PythonTypeInfo.ProtectedMemberResolver"> |
||
5537 | <summary> |
||
5538 | Provides resolutions for protected members that haven't yet been |
||
5539 | subclassed by NewTypeMaker. |
||
5540 | </summary> |
||
5541 | </member> |
||
5542 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.MakeResolverTable"> |
||
5543 | <summary> |
||
5544 | Creates the resolver table which includes all the possible resolutions. |
||
5545 | </summary> |
||
5546 | <returns></returns> |
||
5547 | </member> |
||
5548 | <member name="P:IronPython.Runtime.Types.PythonTypeInfo.ComplexResolver"> |
||
5549 | <summary> |
||
5550 | Provides a resolution for __complex__ |
||
5551 | </summary> |
||
5552 | </member> |
||
5553 | <member name="P:IronPython.Runtime.Types.PythonTypeInfo.FloatResolver"> |
||
5554 | <summary> |
||
5555 | Provides a resolution for __float__ |
||
5556 | </summary> |
||
5557 | </member> |
||
5558 | <member name="P:IronPython.Runtime.Types.PythonTypeInfo.IntResolver"> |
||
5559 | <summary> |
||
5560 | Provides a resolution for __int__ |
||
5561 | </summary> |
||
5562 | </member> |
||
5563 | <member name="P:IronPython.Runtime.Types.PythonTypeInfo.BigIntegerResolver"> |
||
5564 | <summary> |
||
5565 | Provides a resolution for __long__ |
||
5566 | </summary> |
||
5567 | </member> |
||
5568 | <member name="P:IronPython.Runtime.Types.PythonTypeInfo.GetItemResolver"> |
||
5569 | <summary> |
||
5570 | Provides a resolution for __getitem__ |
||
5571 | </summary> |
||
5572 | </member> |
||
5573 | <member name="P:IronPython.Runtime.Types.PythonTypeInfo.SetItemResolver"> |
||
5574 | <summary> |
||
5575 | Provides a resolution for __setitem__ |
||
5576 | </summary> |
||
5577 | </member> |
||
5578 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.StringResolver(IronPython.Runtime.Types.PythonTypeInfo.MemberBinder,System.Type)"> |
||
5579 | <summary> |
||
5580 | Provides a resolution for __str__. |
||
5581 | </summary> |
||
5582 | </member> |
||
5583 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.ReprResolver(IronPython.Runtime.Types.PythonTypeInfo.MemberBinder,System.Type)"> |
||
5584 | <summary> |
||
5585 | Provides a resolution for __repr__ |
||
5586 | </summary> |
||
5587 | </member> |
||
5588 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.TypeOverridesMethod(IronPython.Runtime.Types.PythonTypeInfo.MemberBinder,System.Type,System.String)"> |
||
5589 | <summary> |
||
5590 | Helper to see if the type explicitly overrides the method. This ignores members |
||
5591 | defined on object. |
||
5592 | </summary> |
||
5593 | </member> |
||
5594 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.HashResolver(IronPython.Runtime.Types.PythonTypeInfo.MemberBinder,System.Type)"> |
||
5595 | <summary> |
||
5596 | Provides a resolution for __hash__, first looking for IStructuralEquatable.GetHashCode, |
||
5597 | then IValueEquality.GetValueHashCode. |
||
5598 | </summary> |
||
5599 | </member> |
||
5600 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.NewResolver(IronPython.Runtime.Types.PythonTypeInfo.MemberBinder,System.Type)"> |
||
5601 | <summary> |
||
5602 | Provides a resolution for __new__. For standard .NET types __new__ resolves to their |
||
5603 | constructor. For Python types they inherit __new__ from their base class. |
||
5604 | |||
5605 | TODO: Can we just always fallback to object.__new__? If not why not? |
||
5606 | </summary> |
||
5607 | </member> |
||
5608 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.NextResolver(IronPython.Runtime.Types.PythonTypeInfo.MemberBinder,System.Type)"> |
||
5609 | <summary> |
||
5610 | Provides a resolution for next |
||
5611 | </summary> |
||
5612 | </member> |
||
5613 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.LengthResolver(IronPython.Runtime.Types.PythonTypeInfo.MemberBinder,System.Type)"> |
||
5614 | <summary> |
||
5615 | Provides a resolution for __len__ |
||
5616 | </summary> |
||
5617 | </member> |
||
5618 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.IterResolver(IronPython.Runtime.Types.PythonTypeInfo.MemberBinder,System.Type)"> |
||
5619 | <summary> |
||
5620 | Provides a resolution for __iter__ |
||
5621 | </summary> |
||
5622 | </member> |
||
5623 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.FallbackInequalityResolver(IronPython.Runtime.Types.PythonTypeInfo.MemberBinder,System.Type)"> |
||
5624 | <summary> |
||
5625 | Looks for an Equals overload defined on the type and if one is present binds __ne__ to an |
||
5626 | InstanceOps helper. |
||
5627 | </summary> |
||
5628 | </member> |
||
5629 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.ContainsResolver(IronPython.Runtime.Types.PythonTypeInfo.MemberBinder,System.Type)"> |
||
5630 | <summary> |
||
5631 | Provides an implementation of __contains__. We can pull contains from: |
||
5632 | ICollection of T which defines Contains directly |
||
5633 | IList which defines Contains directly |
||
5634 | IDictionary which defines Contains directly |
||
5635 | IDictionary of K,V which defines Contains directly |
||
5636 | IEnumerable of K which we have an InstaceOps helper for |
||
5637 | IEnumerable which we have an instance ops helper for |
||
5638 | IEnumerator of K which we have an InstanceOps helper for |
||
5639 | IEnumerator which we have an instance ops helper for |
||
5640 | |||
5641 | String is ignored here because it defines __contains__ via extension methods already. |
||
5642 | |||
5643 | The lookup is well ordered and not dependent upon the order of values returned by reflection. |
||
5644 | </summary> |
||
5645 | </member> |
||
5646 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.GetEnumeratorContains(System.Type,System.Collections.Generic.IList{System.Type},System.Collections.Generic.List{Microsoft.Scripting.Actions.MemberTracker}@,System.Boolean@,System.Type,System.Type,System.String)"> |
||
5647 | <summary> |
||
5648 | Helper for IEnumerable/IEnumerator __contains__ |
||
5649 | </summary> |
||
5650 | </member> |
||
5651 | <member name="T:IronPython.Runtime.Types.PythonTypeInfo.MemberBinder"> |
||
5652 | <summary> |
||
5653 | Base class used for resolving a name into a member on the type. |
||
5654 | </summary> |
||
5655 | </member> |
||
5656 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.MemberBinder.GetBaseInstanceMethod(System.Type,System.String[])"> |
||
5657 | <summary> |
||
5658 | Gets an instance op method for the given type and name. |
||
5659 | |||
5660 | Instance ops methods appaer on the base most class that's required to expose it. So |
||
5661 | if we have: Array[int], Array, object we'd only add an instance op method to Array and |
||
5662 | Array[int] inherits it. It's obviously not on object because if it was there we'd just |
||
5663 | put the method in ObjectOps. |
||
5664 | |||
5665 | Therefore the different binders expose this at the appropriate times. |
||
5666 | </summary> |
||
5667 | </member> |
||
5668 | <member name="T:IronPython.Runtime.Types.PythonTypeInfo.ResolveBinder"> |
||
5669 | <summary> |
||
5670 | MemberBinder which searches the entire type hierarchy and their extension types to find a member. |
||
5671 | </summary> |
||
5672 | </member> |
||
5673 | <member name="T:IronPython.Runtime.Types.PythonTypeInfo.LookupBinder"> |
||
5674 | <summary> |
||
5675 | MemberBinder which searches only the current type and it's extension types to find a member. |
||
5676 | </summary> |
||
5677 | </member> |
||
5678 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.GetMemberGroup(IronPython.Runtime.Types.PythonTypeInfo.MemberBinder,Microsoft.Scripting.Actions.MemberRequestKind,System.Type,System.String)"> |
||
5679 | <summary> |
||
5680 | Primary worker for getting the member(s) associated with a single name. Can be called with different MemberBinder's to alter the |
||
5681 | scope of the search. |
||
5682 | </summary> |
||
5683 | </member> |
||
5684 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.GetResolvedMembers(IronPython.Runtime.Types.PythonTypeInfo.MemberBinder,Microsoft.Scripting.Actions.MemberRequestKind,System.Type)"> |
||
5685 | <summary> |
||
5686 | Primary worker for returning a list of all members in a type. Can be called with different MemberBinder's to alter the scope |
||
5687 | of the search. |
||
5688 | </summary> |
||
5689 | </member> |
||
5690 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.GetInstanceOpsMethod(System.Type,System.String[])"> |
||
5691 | <summary> |
||
5692 | Helper to get a MemberGroup for methods declared on InstanceOps |
||
5693 | </summary> |
||
5694 | </member> |
||
5695 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.FindCastMethod(IronPython.Runtime.Types.PythonTypeInfo.MemberBinder,System.Type,System.Collections.Generic.List{System.Type})"> |
||
5696 | <summary> |
||
5697 | Helper to get the proper typecasting method, according to the following precedence rules: |
||
5698 | |||
5699 | 1. Strongest (most specific) declaring type |
||
5700 | 2. Strongest (most specific) parameter type |
||
5701 | 3. Type of conversion |
||
5702 | i. Implicit |
||
5703 | ii. Explicit |
||
5704 | 4. Return type (order specified in toTypes) |
||
5705 | </summary> |
||
5706 | </member> |
||
5707 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.MakeConversionResolver(System.Collections.Generic.List{System.Type})"> |
||
5708 | <summary> |
||
5709 | Helper for creating a typecast resolver |
||
5710 | </summary> |
||
5711 | </member> |
||
5712 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.MakeIndexerResolver(System.Boolean)"> |
||
5713 | <summary> |
||
5714 | Helper for creating __getitem__/__setitem__ resolvers |
||
5715 | </summary> |
||
5716 | <param name="set">false for a getter, true for a setter</param> |
||
5717 | </member> |
||
5718 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.IncludeOperatorMethod(System.Type,IronPython.Runtime.Binding.PythonOperationKind)"> |
||
5719 | <summary> |
||
5720 | Filters out methods which are present on standard .NET types but shouldn't be there in Python |
||
5721 | </summary> |
||
5722 | </member> |
||
5723 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.FilterFieldAndEvent(Microsoft.Scripting.Actions.MemberGroup)"> |
||
5724 | <summary> |
||
5725 | When private binding is enabled we can have a collision between the private Event |
||
5726 | and private field backing the event. We filter this out and favor the event. |
||
5727 | |||
5728 | This matches the v1.0 behavior of private binding. |
||
5729 | </summary> |
||
5730 | </member> |
||
5731 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.ProtectedOnly(System.Reflection.MemberInfo)"> |
||
5732 | <summary> |
||
5733 | Filters down to include only protected methods |
||
5734 | </summary> |
||
5735 | </member> |
||
5736 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.FilterForwardReverseMethods(System.String,Microsoft.Scripting.Actions.MemberGroup,System.Type,IronPython.Runtime.Binding.PythonOperationKind)"> |
||
5737 | <summary> |
||
5738 | If an operator is a reverisble operator (e.g. addition) then we need to filter down to just the forward/reverse |
||
5739 | versions of the .NET method. For example consider: |
||
5740 | |||
5741 | String.op_Multiplication(int, string) |
||
5742 | String.op_Multiplication(string, int) |
||
5743 | |||
5744 | If this method were defined on string it defines that you can do: |
||
5745 | 2 * 'abc' |
||
5746 | or: |
||
5747 | 'abc' * 2 |
||
5748 | |||
5749 | either of which will produce 'abcabc'. The 1st form is considered the reverse form because it is declared on string |
||
5750 | but takes a non-string for the 1st argument. The 2nd is considered the forward form because it takes a string as the |
||
5751 | 1st argument. |
||
5752 | |||
5753 | When dynamically dispatching for 2 * 'abc' we'll first try __mul__ on int, which will fail with a string argument. Then we'll try |
||
5754 | __rmul__ on a string which will succeed and dispatch to the (int, string) overload. |
||
5755 | |||
5756 | For multiplication in this case it's not too interesting because it's commutative. For addition this might be more interesting |
||
5757 | if, for example, we had unicode and ASCII strings. In that case Unicode strings would define addition taking both unicode and |
||
5758 | ASCII strings in both forms. |
||
5759 | </summary> |
||
5760 | </member> |
||
5761 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.AreTypesCompatible(System.Type,System.Type)"> |
||
5762 | <summary> |
||
5763 | Checks to see if the parameter type and the declaring type are compatible to determine |
||
5764 | if an operator is forward or reverse. |
||
5765 | </summary> |
||
5766 | </member> |
||
5767 | <member name="M:IronPython.Runtime.Types.PythonTypeInfo.IsPythonRecognizedOperator(System.String)"> |
||
5768 | <summary> |
||
5769 | Checks to see if this is an operator method which Python recognizes. For example |
||
5770 | op_Comma is not recognized by Python and therefore should exposed to the user as |
||
5771 | a method that is callable by name. |
||
5772 | </summary> |
||
5773 | </member> |
||
5774 | <member name="T:IronPython.Runtime.Types.BuiltinFunction"> |
||
5775 | <summary> |
||
5776 | BuiltinFunction represents any standard CLR function exposed to Python. |
||
5777 | This is used for both methods on standard Python types such as list or tuple |
||
5778 | and for methods from arbitrary .NET assemblies. |
||
5779 | |||
5780 | All calls are made through the optimizedTarget which is created lazily. |
||
5781 | |||
5782 | TODO: Back BuiltinFunction's by MethodGroup's. |
||
5783 | </summary> |
||
5784 | </member> |
||
5785 | <member name="M:IronPython.Runtime.Types.BuiltinFunction.MakeFunction(System.String,System.Reflection.MethodBase[],System.Type)"> |
||
5786 | <summary> |
||
5787 | Creates a new builtin function for a static .NET function. This is used for module methods |
||
5788 | and well-known __new__ methods. |
||
5789 | </summary> |
||
5790 | </member> |
||
5791 | <member name="M:IronPython.Runtime.Types.BuiltinFunction.MakeMethod(System.String,System.Reflection.MethodBase[],System.Type,IronPython.Runtime.Types.FunctionType)"> |
||
5792 | <summary> |
||
5793 | Creates a built-in function for a .NET method declared on a type. |
||
5794 | </summary> |
||
5795 | </member> |
||
5796 | <member name="M:IronPython.Runtime.Types.BuiltinFunction.#ctor(System.Object,IronPython.Runtime.Types.BuiltinFunction.BuiltinFunctionData)"> |
||
5797 | <summary> |
||
5798 | Creates a bound built-in function. The instance may be null for built-in functions |
||
5799 | accessed for None. |
||
5800 | </summary> |
||
5801 | </member> |
||
5802 | <member name="M:IronPython.Runtime.Types.BuiltinFunction.MakeGenericMethod(System.Type[])"> |
||
5803 | <summary> |
||
5804 | Returns a BuiltinFunction bound to the provided type arguments. Returns null if the binding |
||
5805 | cannot be performed. |
||
5806 | </summary> |
||
5807 | </member> |
||
5808 | <member name="M:IronPython.Runtime.Types.BuiltinFunction.GetDescriptor"> |
||
5809 | <summary> |
||
5810 | Returns a descriptor for the built-in function if one is |
||
5811 | neededed |
||
5812 | </summary> |
||
5813 | </member> |
||
5814 | <member name="P:IronPython.Runtime.Types.BuiltinFunction.Targets"> |
||
5815 | <summary> |
||
5816 | Gets the target methods that we'll be calling. |
||
5817 | </summary> |
||
5818 | </member> |
||
5819 | <member name="P:IronPython.Runtime.Types.BuiltinFunction.IsAlwaysVisible"> |
||
5820 | <summary> |
||
5821 | True if the method should be visible to non-CLS opt-in callers |
||
5822 | </summary> |
||
5823 | </member> |
||
5824 | <member name="M:IronPython.Runtime.Types.BuiltinFunction.MakeBoundFunctionTest(System.Linq.Expressions.Expression)"> |
||
5825 | <summary> |
||
5826 | Makes a test for the built-in function against the private _data |
||
5827 | which is unique per built-in function. |
||
5828 | </summary> |
||
5829 | </member> |
||
5830 | <member name="M:IronPython.Runtime.Types.BuiltinFunction.MakeBuiltinFunctionCall(System.Dynamic.DynamicMetaObjectBinder,System.Linq.Expressions.Expression,System.Dynamic.DynamicMetaObject,System.Dynamic.DynamicMetaObject[],System.Boolean,System.Dynamic.BindingRestrictions,System.Func{System.Dynamic.DynamicMetaObject[],IronPython.Runtime.Types.BuiltinFunction.BindingResult})"> |
||
5831 | <summary> |
||
5832 | Helper for generating the call to a builtin function. This is used for calls from built-in method |
||
5833 | descriptors and built-in functions w/ and w/o a bound instance. |
||
5834 | |||
5835 | This provides all sorts of common checks on top of the call while the caller provides a delegate |
||
5836 | to do the actual call. The common checks include: |
||
5837 | check for generic-only methods |
||
5838 | reversed operator support |
||
5839 | transforming arguments so the default binder can understand them (currently user defined mapping types to PythonDictionary) |
||
5840 | returning NotImplemented from binary operators |
||
5841 | Warning when calling certain built-in functions |
||
5842 | |||
5843 | </summary> |
||
5844 | <param name="call">The call binder we're doing the call for</param> |
||
5845 | <param name="codeContext">An expression which points to the code context</param> |
||
5846 | <param name="function">the meta object for the built in function</param> |
||
5847 | <param name="hasSelf">true if we're calling with an instance</param> |
||
5848 | <param name="args">The arguments being passed to the function</param> |
||
5849 | <param name="functionRestriction">A restriction for the built-in function, method desc, etc...</param> |
||
5850 | <param name="bind">A delegate to perform the actual call to the method.</param> |
||
5851 | </member> |
||
5852 | <member name="P:IronPython.Runtime.Types.BuiltinFunction.Overloads"> |
||
5853 | <summary> |
||
5854 | Provides (for reflected methods) a mapping from a signature to the exact target |
||
5855 | which takes this signature. |
||
5856 | signature with syntax like the following: |
||
5857 | someClass.SomeMethod.Overloads[str, int]("Foo", 123) |
||
5858 | </summary> |
||
5859 | </member> |
||
5860 | <member name="P:IronPython.Runtime.Types.BuiltinFunction.OverloadDictionary"> |
||
5861 | <summary> |
||
5862 | Gets the overload dictionary for the logical function. These overloads |
||
5863 | are never bound to an instance. |
||
5864 | </summary> |
||
5865 | </member> |
||
5866 | <member name="P:IronPython.Runtime.Types.BuiltinFunction.BindingSelf"> |
||
5867 | <summary> |
||
5868 | Returns the instance used for binding. This differs on module functions implemented |
||
5869 | using instance methods so the built-in functions there don't expose the instance. |
||
5870 | </summary> |
||
5871 | </member> |
||
5872 | <member name="T:IronPython.Runtime.Types.GenericBuiltinFunction"> |
||
5873 | <summary> |
||
5874 | A custom built-in function which supports indexing |
||
5875 | </summary> |
||
5876 | </member> |
||
5877 | <member name="P:IronPython.Runtime.Types.GenericBuiltinFunction.Item(System.Object[])"> |
||
5878 | <summary> |
||
5879 | Use indexing on generic methods to provide a new reflected method with targets bound with |
||
5880 | the supplied type arguments. |
||
5881 | </summary> |
||
5882 | </member> |
||
5883 | <member name="T:IronPython.Runtime.Types.ReflectedEvent"> |
||
5884 | <summary> |
||
5885 | The unbound representation of an event property |
||
5886 | </summary> |
||
5887 | </member> |
||
5888 | <member name="T:IronPython.Runtime.Types.ReflectedEvent.BoundEvent"> |
||
5889 | <summary> |
||
5890 | BoundEvent is the object that gets returned when the user gets an event object. An |
||
5891 | BoundEvent tracks where the event was received from and is used to verify we get |
||
5892 | a proper add when dealing w/ statics events. |
||
5893 | </summary> |
||
5894 | </member> |
||
5895 | <member name="T:IronPython.Runtime.Types.ReflectedExtensionProperty"> |
||
5896 | <summary> |
||
5897 | Represents a ReflectedProperty created for an extension method. Logically the property is an |
||
5898 | instance property but the method implementing it is static. |
||
5899 | </summary> |
||
5900 | </member> |
||
5901 | <member name="M:IronPython.Runtime.Types.ReflectedField.GetValue(IronPython.Runtime.CodeContext,System.Object)"> |
||
5902 | <summary> |
||
5903 | Convenience function for users to call directly |
||
5904 | </summary> |
||
5905 | </member> |
||
5906 | <member name="M:IronPython.Runtime.Types.ReflectedField.SetValue(IronPython.Runtime.CodeContext,System.Object,System.Object)"> |
||
5907 | <summary> |
||
5908 | This function can be used to set a field on a value type without emitting a warning. Otherwise it is provided only to have symmetry with properties which have GetValue/SetValue for supporting explicitly implemented interfaces. |
||
5909 | |||
5910 | Setting fields on value types usually warns because it can silently fail to update the value you expect. For example consider this example where Point is a value type with the public fields X and Y: |
||
5911 | |||
5912 | arr = System.Array.CreateInstance(Point, 10) |
||
5913 | arr[0].X = 42 |
||
5914 | print arr[0].X |
||
5915 | |||
5916 | prints 0. This is because reading the value from the array creates a copy of the value. Setting the value then mutates the copy and the array does not get updated. The same problem exists when accessing members of a class. |
||
5917 | </summary> |
||
5918 | </member> |
||
5919 | <member name="T:IronPython.Runtime.Types.ReflectedGetterSetter"> |
||
5920 | <summary> |
||
5921 | Base class for properties backed by methods. These include our slot properties, |
||
5922 | indexers, and normal properties. This class provides the storage of these as well |
||
5923 | as the storage of our optimized getter/setter methods, documentation for the property, |
||
5924 | etc... |
||
5925 | </summary> |
||
5926 | </member> |
||
5927 | <member name="T:IronPython.Runtime.Types.ReflectedIndexer"> |
||
5928 | <summary> |
||
5929 | Provides access to non-default .NET indexers (aka properties w/ parameters). |
||
5930 | |||
5931 | C# doesn't support these, but both COM and VB.NET do. The types dictionary |
||
5932 | gets populated w/a ReflectedGetterSetter indexer which is a descriptor. Getting |
||
5933 | the descriptor returns a bound indexer. The bound indexer supports indexing. |
||
5934 | We support multiple indexer parameters via expandable tuples. |
||
5935 | </summary> |
||
5936 | </member> |
||
5937 | <member name="P:IronPython.Runtime.Types.ReflectedProperty.CanOptimizeGets"> |
||
5938 | <summary> |
||
5939 | True if generating code for gets can result in more optimal accesses. |
||
5940 | </summary> |
||
5941 | </member> |
||
5942 | <member name="M:IronPython.Runtime.Types.ReflectedProperty.GetValue(IronPython.Runtime.CodeContext,System.Object)"> |
||
5943 | <summary> |
||
5944 | Convenience function for users to call directly |
||
5945 | </summary> |
||
5946 | </member> |
||
5947 | <member name="M:IronPython.Runtime.Types.ReflectedProperty.SetValue(IronPython.Runtime.CodeContext,System.Object,System.Object)"> |
||
5948 | <summary> |
||
5949 | Convenience function for users to call directly |
||
5950 | </summary> |
||
5951 | </member> |
||
5952 | <member name="T:IronPython.Runtime.Types.IPythonObject"> |
||
5953 | <summary> |
||
5954 | This interface is used for implementing parts of the IronPython type system. It |
||
5955 | is not intended for consumption from user programs. |
||
5956 | </summary> |
||
5957 | </member> |
||
5958 | <member name="M:IronPython.Runtime.Types.IPythonObject.SetDict(IronPython.Runtime.PythonDictionary)"> |
||
5959 | <summary> |
||
5960 | Thread-safe dictionary set. Returns the dictionary set or the previous value if already set or |
||
5961 | null if the dictionary set isn't supported. |
||
5962 | </summary> |
||
5963 | <param name="dict"></param> |
||
5964 | <returns></returns> |
||
5965 | </member> |
||
5966 | <member name="M:IronPython.Runtime.Types.IPythonObject.ReplaceDict(IronPython.Runtime.PythonDictionary)"> |
||
5967 | <summary> |
||
5968 | Dictionary replacement. Returns true if replaced, false if the dictionary set isn't supported. |
||
5969 | </summary> |
||
5970 | <param name="dict"></param> |
||
5971 | <returns></returns> |
||
5972 | </member> |
||
5973 | <member name="T:IronPython.Runtime.Types.PythonTypeSlot"> |
||
5974 | <summary> |
||
5975 | A TypeSlot is an item that gets stored in a type's dictionary. Slots provide an |
||
5976 | opportunity to customize access at runtime when a value is get or set from a dictionary. |
||
5977 | </summary> |
||
5978 | </member> |
||
5979 | <member name="M:IronPython.Runtime.Types.PythonTypeSlot.TryGetValue(IronPython.Runtime.CodeContext,System.Object,IronPython.Runtime.Types.PythonType,System.Object@)"> |
||
5980 | <summary> |
||
5981 | Gets the value stored in the slot for the given instance binding it to an instance if one is provided and |
||
5982 | the slot binds to instances. |
||
5983 | </summary> |
||
5984 | </member> |
||
5985 | <member name="M:IronPython.Runtime.Types.PythonTypeSlot.TrySetValue(IronPython.Runtime.CodeContext,System.Object,IronPython.Runtime.Types.PythonType,System.Object)"> |
||
5986 | <summary> |
||
5987 | Sets the value of the slot for the given instance. |
||
5988 | </summary> |
||
5989 | <returns>true if the value was set, false if it can't be set</returns> |
||
5990 | </member> |
||
5991 | <member name="M:IronPython.Runtime.Types.PythonTypeSlot.TryDeleteValue(IronPython.Runtime.CodeContext,System.Object,IronPython.Runtime.Types.PythonType)"> |
||
5992 | <summary> |
||
5993 | Deletes the value stored in the slot from the instance. |
||
5994 | </summary> |
||
5995 | <returns>true if the value was deleted, false if it can't be deleted</returns> |
||
5996 | </member> |
||
5997 | <member name="P:IronPython.Runtime.Types.PythonTypeSlot.CanOptimizeGets"> |
||
5998 | <summary> |
||
5999 | True if generating code for gets can result in more optimal accesses. |
||
6000 | </summary> |
||
6001 | </member> |
||
6002 | <member name="M:IronPython.Runtime.Types.PythonTypeSlot.MakeGetExpression(IronPython.Runtime.Binding.PythonBinder,System.Linq.Expressions.Expression,System.Dynamic.DynamicMetaObject,System.Dynamic.DynamicMetaObject,IronPython.Runtime.Binding.ConditionalBuilder)"> |
||
6003 | <summary> |
||
6004 | Gets an expression which is used for accessing this slot. If the slot lookup fails the error expression |
||
6005 | is used again. |
||
6006 | |||
6007 | The default implementation just calls the TryGetValue method. Subtypes of PythonTypeSlot can override |
||
6008 | this and provide a more optimal implementation. |
||
6009 | </summary> |
||
6010 | </member> |
||
6011 | <member name="P:IronPython.Runtime.Types.PythonTypeSlot.GetAlwaysSucceeds"> |
||
6012 | <summary> |
||
6013 | True if TryGetValue will always succeed, false if it may fail. |
||
6014 | |||
6015 | This is used to optimize away error generation code. |
||
6016 | </summary> |
||
6017 | </member> |
||
6018 | <member name="T:IronPython.Runtime.CommonDictionaryStorage"> |
||
6019 | <summary> |
||
6020 | General purpose storage used for most PythonDictionarys. |
||
6021 | |||
6022 | This dictionary storage is thread safe for multiple readers or writers. |
||
6023 | |||
6024 | Mutations to the dictionary involves a simple locking strategy of |
||
6025 | locking on the DictionaryStorage object to ensure that only one |
||
6026 | mutation happens at a time. |
||
6027 | |||
6028 | Reads against the dictionary happen lock free. When the dictionary is mutated |
||
6029 | it is either adding or removing buckets in a thread-safe manner so that the readers |
||
6030 | will either see a consistent picture as if the read occured before or after the mutation. |
||
6031 | |||
6032 | When resizing the dictionary the buckets are replaced atomically so that the reader |
||
6033 | sees the new buckets or the old buckets. When reading the reader first reads |
||
6034 | the buckets and then calls a static helper function to do the read from the bucket |
||
6035 | array to ensure that readers are not seeing multiple bucket arrays. |
||
6036 | </summary> |
||
6037 | </member> |
||
6038 | <member name="M:IronPython.Runtime.CommonDictionaryStorage.#ctor"> |
||
6039 | <summary> |
||
6040 | Creates a new dictionary storage with no buckets |
||
6041 | </summary> |
||
6042 | </member> |
||
6043 | <member name="M:IronPython.Runtime.CommonDictionaryStorage.#ctor(System.Int32)"> |
||
6044 | <summary> |
||
6045 | Creates a new dictionary storage with no buckets |
||
6046 | </summary> |
||
6047 | </member> |
||
6048 | <member name="M:IronPython.Runtime.CommonDictionaryStorage.#ctor(System.Object[],System.Boolean)"> |
||
6049 | <summary> |
||
6050 | Creates a new dictionary geting values/keys from the |
||
6051 | items arary |
||
6052 | </summary> |
||
6053 | </member> |
||
6054 | <member name="M:IronPython.Runtime.CommonDictionaryStorage.#ctor(IronPython.Runtime.CommonDictionaryStorage.Bucket[],System.Int32,System.Type,System.Func{System.Object,System.Int32},System.Func{System.Object,System.Object,System.Boolean},IronPython.Runtime.CommonDictionaryStorage.NullValue)"> |
||
6055 | <summary> |
||
6056 | Creates a new dictionary storage with the given set of buckets |
||
6057 | and size. Used when cloning the dictionary storage. |
||
6058 | </summary> |
||
6059 | </member> |
||
6060 | <member name="M:IronPython.Runtime.CommonDictionaryStorage.Add(System.Object,System.Object)"> |
||
6061 | <summary> |
||
6062 | Adds a new item to the dictionary, replacing an existing one if it already exists. |
||
6063 | </summary> |
||
6064 | </member> |
||
6065 | <member name="M:IronPython.Runtime.CommonDictionaryStorage.Initialize"> |
||
6066 | <summary> |
||
6067 | Initializes the buckets to their initial capacity, the caller |
||
6068 | must check if the buckets are empty first. |
||
6069 | </summary> |
||
6070 | </member> |
||
6071 | <member name="M:IronPython.Runtime.CommonDictionaryStorage.Add(IronPython.Runtime.CommonDictionaryStorage.Bucket[],System.Object,System.Object)"> |
||
6072 | <summary> |
||
6073 | Add helper that works over a single set of buckets. Used for |
||
6074 | both the normal add case as well as the resize case. |
||
6075 | </summary> |
||
6076 | </member> |
||
6077 | <member name="M:IronPython.Runtime.CommonDictionaryStorage.AddWorker(IronPython.Runtime.CommonDictionaryStorage.Bucket[],System.Object,System.Object,System.Int32)"> |
||
6078 | <summary> |
||
6079 | Add helper which adds the given key/value (where the key is not null) with |
||
6080 | a pre-computed hash code. |
||
6081 | </summary> |
||
6082 | </member> |
||
6083 | <member name="M:IronPython.Runtime.CommonDictionaryStorage.Remove(IronPython.Runtime.DictionaryStorage@,System.Object)"> |
||
6084 | <summary> |
||
6085 | Removes an entry from the dictionary and returns true if the |
||
6086 | entry was removed or false. |
||
6087 | </summary> |
||
6088 | </member> |
||
6089 | <member name="M:IronPython.Runtime.CommonDictionaryStorage.RemoveAlwaysHash(System.Object)"> |
||
6090 | <summary> |
||
6091 | Removes an entry from the dictionary and returns true if the |
||
6092 | entry was removed or false. The key will always be hashed |
||
6093 | so if it is unhashable an exception will be thrown - even |
||
6094 | if the dictionary has no buckets. |
||
6095 | </summary> |
||
6096 | </member> |
||
6097 | <member name="M:IronPython.Runtime.CommonDictionaryStorage.Contains(System.Object)"> |
||
6098 | <summary> |
||
6099 | Checks to see if the key exists in the dictionary. |
||
6100 | </summary> |
||
6101 | </member> |
||
6102 | <member name="M:IronPython.Runtime.CommonDictionaryStorage.TryGetValue(System.Object,System.Object@)"> |
||
6103 | <summary> |
||
6104 | Trys to get the value associated with the given key and returns true |
||
6105 | if it's found or false if it's not present. |
||
6106 | </summary> |
||
6107 | </member> |
||
6108 | <member name="M:IronPython.Runtime.CommonDictionaryStorage.TryGetValue(IronPython.Runtime.CommonDictionaryStorage.Bucket[],System.Object,System.Object@)"> |
||
6109 | <summary> |
||
6110 | Static helper to try and get the value from the dictionary. |
||
6111 | |||
6112 | Used so the value lookup can run against a buckets while a writer |
||
6113 | replaces the buckets. |
||
6114 | </summary> |
||
6115 | </member> |
||
6116 | <member name="P:IronPython.Runtime.CommonDictionaryStorage.Count"> |
||
6117 | <summary> |
||
6118 | Returns the number of key/value pairs currently in the dictionary. |
||
6119 | </summary> |
||
6120 | </member> |
||
6121 | <member name="M:IronPython.Runtime.CommonDictionaryStorage.Clear(IronPython.Runtime.DictionaryStorage@)"> |
||
6122 | <summary> |
||
6123 | Clears the contents of the dictionary. |
||
6124 | </summary> |
||
6125 | </member> |
||
6126 | <member name="M:IronPython.Runtime.CommonDictionaryStorage.Clone"> |
||
6127 | <summary> |
||
6128 | Clones the storage returning a new DictionaryStorage object. |
||
6129 | </summary> |
||
6130 | </member> |
||
6131 | <member name="M:IronPython.Runtime.CommonDictionaryStorage.Hash(System.Object)"> |
||
6132 | <summary> |
||
6133 | Helper to hash the given key w/ support for null. |
||
6134 | </summary> |
||
6135 | </member> |
||
6136 | <member name="T:IronPython.Runtime.CommonDictionaryStorage.Bucket"> |
||
6137 | <summary> |
||
6138 | Used to store a single hashed key/value. |
||
6139 | |||
6140 | Bucket is not serializable because it stores the computed hash |
||
6141 | code which could change between serialization and deserialization. |
||
6142 | </summary> |
||
6143 | </member> |
||
6144 | <member name="T:IronPython.Runtime.CommonDictionaryStorage.DeserializationNullValue"> |
||
6145 | <summary> |
||
6146 | Special marker NullValue used during deserialization to not add |
||
6147 | an extra field to the dictionary storage type. |
||
6148 | </summary> |
||
6149 | </member> |
||
6150 | <member name="T:IronPython.Runtime.DictionaryStorage"> |
||
6151 | <summary> |
||
6152 | Abstract base class for all PythonDictionary storage. |
||
6153 | |||
6154 | Defined as a class instead of an interface for performance reasons. Also not |
||
6155 | using IDictionary* for keeping a simple interface. |
||
6156 | |||
6157 | Full locking is defined as being on the DictionaryStorage object it's self, |
||
6158 | not an internal member. This enables subclasses to provide their own locking |
||
6159 | aruond large operations and call lock free functions. |
||
6160 | </summary> |
||
6161 | </member> |
||
6162 | <member name="M:IronPython.Runtime.DictionaryStorage.CopyTo(IronPython.Runtime.DictionaryStorage@)"> |
||
6163 | <summary> |
||
6164 | Adds items from this dictionary into the other dictionary |
||
6165 | </summary> |
||
6166 | </member> |
||
6167 | <member name="M:IronPython.Runtime.DictionaryStorage.TryGetPath(System.Object@)"> |
||
6168 | <summary> |
||
6169 | Provides fast access to the __path__ attribute if the dictionary storage supports caching it. |
||
6170 | </summary> |
||
6171 | </member> |
||
6172 | <member name="M:IronPython.Runtime.DictionaryStorage.TryGetPackage(System.Object@)"> |
||
6173 | <summary> |
||
6174 | Provides fast access to the __package__ attribute if the dictionary storage supports caching it. |
||
6175 | </summary> |
||
6176 | </member> |
||
6177 | <member name="M:IronPython.Runtime.DictionaryStorage.TryGetBuiltins(System.Object@)"> |
||
6178 | <summary> |
||
6179 | Provides fast access to the __builtins__ attribute if the dictionary storage supports caching it. |
||
6180 | </summary> |
||
6181 | </member> |
||
6182 | <member name="M:IronPython.Runtime.DictionaryStorage.TryGetName(System.Object@)"> |
||
6183 | <summary> |
||
6184 | Provides fast access to the __name__ attribute if the dictionary storage supports caching it. |
||
6185 | </summary> |
||
6186 | </member> |
||
6187 | <member name="M:IronPython.Runtime.DictionaryStorage.TryGetImport(System.Object@)"> |
||
6188 | <summary> |
||
6189 | Provides fast access to the __import__ attribute if the dictionary storage supports caching it. |
||
6190 | </summary> |
||
6191 | </member> |
||
6192 | <member name="T:IronPython.Runtime.IParameterSequence"> |
||
6193 | <summary> |
||
6194 | Represents a sequence which may have been provided as a set of parameters to an indexer. |
||
6195 | |||
6196 | TODO: This should be removed, and all uses of this should go to [SpecialName]object GetItem(..., params object[] keys) |
||
6197 | and [SpecialName]void SetItem(..., params object [] keys) or this[params object[]xyz] which is also legal. |
||
6198 | |||
6199 | currently this exists for backwards compatibility w/ IronPython's "expandable tuples". |
||
6200 | </summary> |
||
6201 | </member> |
||
6202 | <member name="T:IronPython.Runtime.ModuleDictionaryStorage"> |
||
6203 | <summary> |
||
6204 | Enables lazy initialization of module dictionaries. |
||
6205 | </summary> |
||
6206 | </member> |
||
6207 | <member name="T:IronPython.Runtime.PythonAsciiEncoding"> |
||
6208 | <summary> |
||
6209 | Simple implementation of ASCII encoding/decoding. The default instance (PythonAsciiEncoding.Instance) is |
||
6210 | setup to always convert even values outside of the ASCII range. The EncoderFallback/DecoderFallbacks can |
||
6211 | be replaced with versions that will throw exceptions instead though. |
||
6212 | </summary> |
||
6213 | </member> |
||
6214 | <member name="F:IronPython.Runtime.FunctionAttributes.ArgumentList"> |
||
6215 | <summary> |
||
6216 | Set if the function includes a *args argument list. |
||
6217 | </summary> |
||
6218 | </member> |
||
6219 | <member name="F:IronPython.Runtime.FunctionAttributes.KeywordDictionary"> |
||
6220 | <summary> |
||
6221 | Set if the function includes a **kwargs argument dictionary. |
||
6222 | </summary> |
||
6223 | </member> |
||
6224 | <member name="F:IronPython.Runtime.FunctionAttributes.Generator"> |
||
6225 | <summary> |
||
6226 | Set if the function is a generator. |
||
6227 | </summary> |
||
6228 | </member> |
||
6229 | <member name="F:IronPython.Runtime.FunctionAttributes.FutureDivision"> |
||
6230 | <summary> |
||
6231 | Set if the function was compiled with future division. |
||
6232 | </summary> |
||
6233 | </member> |
||
6234 | <member name="F:IronPython.Runtime.FunctionAttributes.CanSetSysExcInfo"> |
||
6235 | <summary> |
||
6236 | IronPython specific: Set if the function includes nested exception handling and therefore can alter |
||
6237 | sys.exc_info(). |
||
6238 | </summary> |
||
6239 | </member> |
||
6240 | <member name="F:IronPython.Runtime.FunctionAttributes.ContainsTryFinally"> |
||
6241 | <summary> |
||
6242 | IronPython specific: Set if the function includes a try/finally block. |
||
6243 | </summary> |
||
6244 | </member> |
||
6245 | <member name="T:IronPython.Runtime.FunctionCode"> |
||
6246 | <summary> |
||
6247 | Represents a piece of code. This can reference either a CompiledCode |
||
6248 | object or a Function. The user can explicitly call FunctionCode by |
||
6249 | passing it into exec or eval. |
||
6250 | </summary> |
||
6251 | </member> |
||
6252 | <member name="F:IronPython.Runtime.FunctionCode._CodeCreateAndUpdateDelegateLock"> |
||
6253 | <summary> |
||
6254 | This is both the lock that is held while enumerating the threads or updating the thread accounting |
||
6255 | information. It's also a marker CodeList which is put in place when we are enumerating the thread |
||
6256 | list and all additions need to block. |
||
6257 | |||
6258 | This lock is also acquired whenever we need to calculate how a function's delegate should be created |
||
6259 | so that we don't race against sys.settrace/sys.setprofile. |
||
6260 | </summary> |
||
6261 | </member> |
||
6262 | <member name="M:IronPython.Runtime.FunctionCode.#ctor(IronPython.Runtime.PythonContext,System.Delegate,IronPython.Compiler.Ast.ScopeStatement,System.String,System.Int32)"> |
||
6263 | <summary> |
||
6264 | Constructor used to create a FunctionCode for code that's been serialized to disk. |
||
6265 | |||
6266 | Code constructed this way cannot be interpreted or debugged using sys.settrace/sys.setprofile. |
||
6267 | |||
6268 | Function codes created this way do support recursion enforcement and are therefore registered in the global function code registry. |
||
6269 | </summary> |
||
6270 | </member> |
||
6271 | <member name="M:IronPython.Runtime.FunctionCode.#ctor(IronPython.Runtime.PythonContext,System.Delegate,IronPython.Compiler.Ast.ScopeStatement,System.String,System.Nullable{System.Boolean},System.Boolean)"> |
||
6272 | <summary> |
||
6273 | Constructor to create a FunctionCode at runtime. |
||
6274 | |||
6275 | Code constructed this way supports both being interpreted and debugged. When necessary the code will |
||
6276 | be re-compiled or re-interpreted for that specific purpose. |
||
6277 | |||
6278 | Function codes created this way do support recursion enforcement and are therefore registered in the global function code registry. |
||
6279 | |||
6280 | the initial delegate provided here should NOT be the actual code. It should always be a delegate which updates our Target lazily. |
||
6281 | </summary> |
||
6282 | </member> |
||
6283 | <member name="M:IronPython.Runtime.FunctionCode.RegisterFunctionCode(IronPython.Runtime.PythonContext)"> |
||
6284 | <summary> |
||
6285 | Registers the current function code in our global weak list of all function codes. |
||
6286 | |||
6287 | The weak list can be enumerated with GetAllCode(). |
||
6288 | |||
6289 | Ultimately there are 3 types of threads we care about races with: |
||
6290 | 1. Other threads which are registering function codes |
||
6291 | 2. Threads calling sys.settrace which require the world to stop and get updated |
||
6292 | 3. Threads running cleanup (thread pool thread, or call to gc.collect). |
||
6293 | |||
6294 | The 1st two must have perfect synchronization. We cannot have a thread registering |
||
6295 | a new function which another thread is trying to update all of the functions in the world. Doing |
||
6296 | so would mean we could miss adding tracing to a thread. |
||
6297 | |||
6298 | But the cleanup thread can run in parallel to either registrying or sys.settrace. The only |
||
6299 | thing it needs to take a lock for is updating our accounting information about the |
||
6300 | number of code objects are alive. |
||
6301 | </summary> |
||
6302 | </member> |
||
6303 | <member name="M:IronPython.Runtime.FunctionCode.GetAllCode(IronPython.Runtime.PythonContext)"> |
||
6304 | <summary> |
||
6305 | Enumerates all function codes for updating the current type of targets we generate. |
||
6306 | |||
6307 | While enumerating we hold a lock so that users cannot change sys.settrace/sys.setprofile |
||
6308 | until the lock is released. |
||
6309 | </summary> |
||
6310 | </member> |
||
6311 | <member name="P:IronPython.Runtime.FunctionCode.co_cellvars"> |
||
6312 | <summary> |
||
6313 | Returns a list of variable names which are accessed from nested functions. |
||
6314 | </summary> |
||
6315 | </member> |
||
6316 | <member name="P:IronPython.Runtime.FunctionCode.co_code"> |
||
6317 | <summary> |
||
6318 | Returns the byte code. IronPython does not implement this and always |
||
6319 | returns an empty string for byte code. |
||
6320 | </summary> |
||
6321 | </member> |
||
6322 | <member name="P:IronPython.Runtime.FunctionCode.co_consts"> |
||
6323 | <summary> |
||
6324 | Returns a list of constants used by the function. |
||
6325 | |||
6326 | The first constant is the doc string, or None if no doc string is provided. |
||
6327 | |||
6328 | IronPython currently does not include any other constants than the doc string. |
||
6329 | </summary> |
||
6330 | </member> |
||
6331 | <member name="P:IronPython.Runtime.FunctionCode.co_filename"> |
||
6332 | <summary> |
||
6333 | Returns the filename that the code object was defined in. |
||
6334 | </summary> |
||
6335 | </member> |
||
6336 | <member name="P:IronPython.Runtime.FunctionCode.co_firstlineno"> |
||
6337 | <summary> |
||
6338 | Returns the 1st line number of the code object. |
||
6339 | </summary> |
||
6340 | </member> |
||
6341 | <member name="P:IronPython.Runtime.FunctionCode.co_flags"> |
||
6342 | <summary> |
||
6343 | Returns a set of flags for the function. |
||
6344 | |||
6345 | 0x04 is set if the function used *args |
||
6346 | 0x08 is set if the function used **args |
||
6347 | 0x20 is set if the function is a generator |
||
6348 | </summary> |
||
6349 | </member> |
||
6350 | <member name="P:IronPython.Runtime.FunctionCode.co_freevars"> |
||
6351 | <summary> |
||
6352 | Returns a list of free variables (variables accessed |
||
6353 | from an outer scope). This does not include variables |
||
6354 | accessed in the global scope. |
||
6355 | </summary> |
||
6356 | </member> |
||
6357 | <member name="P:IronPython.Runtime.FunctionCode.co_lnotab"> |
||
6358 | <summary> |
||
6359 | Returns a mapping between byte code and line numbers. IronPython does |
||
6360 | not implement this because byte code is not available. |
||
6361 | </summary> |
||
6362 | </member> |
||
6363 | <member name="P:IronPython.Runtime.FunctionCode.co_name"> |
||
6364 | <summary> |
||
6365 | Returns the name of the code (function name, class name, or <module>). |
||
6366 | </summary> |
||
6367 | </member> |
||
6368 | <member name="P:IronPython.Runtime.FunctionCode.co_names"> |
||
6369 | <summary> |
||
6370 | Returns a list of global variable names accessed by the code. |
||
6371 | </summary> |
||
6372 | </member> |
||
6373 | <member name="P:IronPython.Runtime.FunctionCode.co_nlocals"> |
||
6374 | <summary> |
||
6375 | Returns the number of local varaibles defined in the function. |
||
6376 | </summary> |
||
6377 | </member> |
||
6378 | <member name="P:IronPython.Runtime.FunctionCode.co_stacksize"> |
||
6379 | <summary> |
||
6380 | Returns the stack size. IronPython does not implement this |
||
6381 | because byte code is not supported. |
||
6382 | </summary> |
||
6383 | </member> |
||
6384 | <member name="M:IronPython.Runtime.FunctionCode.FromSourceUnit(Microsoft.Scripting.SourceUnit,IronPython.Compiler.PythonCompilerOptions,System.Boolean)"> |
||
6385 | <summary> |
||
6386 | Creates a FunctionCode object for exec/eval/execfile'd/compile'd code. |
||
6387 | |||
6388 | The code is then executed in a specific CodeContext by calling the .Call method. |
||
6389 | |||
6390 | If the code is being used for compile (vs. exec/eval/execfile) then it needs to be |
||
6391 | registered in case our tracing mode changes. |
||
6392 | </summary> |
||
6393 | </member> |
||
6394 | <member name="M:IronPython.Runtime.FunctionCode.LazyCompileFirstTarget(IronPython.Runtime.PythonFunction)"> |
||
6395 | <summary> |
||
6396 | Called the 1st time a function is invoked by our OriginalCallTarget* methods |
||
6397 | over in PythonCallTargets. This computes the real delegate which needs to be |
||
6398 | created for the function. Usually this means starting off interpretering. It |
||
6399 | also involves adding the wrapper function for recursion enforcement. |
||
6400 | |||
6401 | Because this can race against sys.settrace/setprofile we need to take our |
||
6402 | _ThreadIsEnumeratingAndAccountingLock to ensure no one is actively changing all |
||
6403 | of the live functions. |
||
6404 | </summary> |
||
6405 | </member> |
||
6406 | <member name="M:IronPython.Runtime.FunctionCode.UpdateDelegate(IronPython.Runtime.PythonContext,System.Boolean)"> |
||
6407 | <summary> |
||
6408 | Updates the delegate based upon current Python context settings for recursion enforcement |
||
6409 | and for tracing. |
||
6410 | </summary> |
||
6411 | </member> |
||
6412 | <member name="M:IronPython.Runtime.FunctionCode.SetDebugTarget(IronPython.Runtime.PythonContext,System.Delegate)"> |
||
6413 | <summary> |
||
6414 | Called to set the initial target delegate when the user has passed -X:Debug to enable |
||
6415 | .NET style debugging. |
||
6416 | </summary> |
||
6417 | </member> |
||
6418 | <member name="M:IronPython.Runtime.FunctionCode.GetGeneratorOrNormalLambdaTracing(IronPython.Runtime.PythonContext)"> |
||
6419 | <summary> |
||
6420 | Gets the LambdaExpression for tracing. |
||
6421 | |||
6422 | If this is a generator function code then the lambda gets tranformed into the correct generator code. |
||
6423 | </summary> |
||
6424 | </member> |
||
6425 | <member name="M:IronPython.Runtime.FunctionCode.GetGeneratorOrNormalLambda"> |
||
6426 | <summary> |
||
6427 | Gets the correct final LambdaExpression for this piece of code. |
||
6428 | |||
6429 | This is either just _lambda or _lambda re-written to be a generator expression. |
||
6430 | </summary> |
||
6431 | </member> |
||
6432 | <member name="T:IronPython.Runtime.FunctionCode.CodeList"> |
||
6433 | <summary> |
||
6434 | Extremely light weight linked list of weak references used for tracking |
||
6435 | all of the FunctionCode objects which get created and need to be updated |
||
6436 | for purposes of recursion enforcement or tracing. |
||
6437 | </summary> |
||
6438 | </member> |
||
6439 | <member name="M:IronPython.Runtime.Converter.TryConvert(System.Object,System.Type,System.Object@)"> |
||
6440 | <summary> |
||
6441 | General conversion routine TryConvert - tries to convert the object to the desired type. |
||
6442 | Try to avoid using this method, the goal is to ultimately remove it! |
||
6443 | </summary> |
||
6444 | </member> |
||
6445 | <member name="M:IronPython.Runtime.Converter.TryConvertToIEnumerator(System.Object,System.Collections.IEnumerator@)"> |
||
6446 | <summary> |
||
6447 | This function tries to convert an object to IEnumerator, or wraps it into an adapter |
||
6448 | Do not use this function directly. It is only meant to be used by Ops.GetEnumerator. |
||
6449 | </summary> |
||
6450 | </member> |
||
6451 | <member name="M:IronPython.Runtime.Converter.ConvertToIEnumerator(System.Object)"> |
||
6452 | <summary> |
||
6453 | This function tries to convert an object to IEnumerator, or wraps it into an adapter |
||
6454 | Do not use this function directly. It is only meant to be used by Ops.GetEnumerator. |
||
6455 | </summary> |
||
6456 | </member> |
||
6457 | <member name="M:IronPython.Runtime.Converter.TryConvertToIndex(System.Object,System.Boolean,System.Int32@)"> |
||
6458 | <summary> |
||
6459 | Attempts to convert value into a index usable for slicing and return the integer |
||
6460 | value. If the conversion fails false is returned. |
||
6461 | |||
6462 | If throwOverflowError is true then BigInteger's outside the normal range of integers will |
||
6463 | result in an OverflowError. |
||
6464 | </summary> |
||
6465 | </member> |
||
6466 | <member name="M:IronPython.Runtime.Converter.TryConvertToIndex(System.Object,System.Boolean,System.Object@)"> |
||
6467 | <summary> |
||
6468 | Attempts to convert value into a index usable for slicing and return the integer |
||
6469 | value. If the conversion fails false is returned. |
||
6470 | |||
6471 | If throwOverflowError is true then BigInteger's outside the normal range of integers will |
||
6472 | result in an OverflowError. |
||
6473 | </summary> |
||
6474 | </member> |
||
6475 | <member name="M:IronPython.Runtime.Converter.ImplicitConvertToInt32(System.Object)"> |
||
6476 | <summary> |
||
6477 | Converts a value to int ignoring floats |
||
6478 | </summary> |
||
6479 | </member> |
||
6480 | <member name="T:IronPython.Runtime.DictionaryKeyEnumerator"> |
||
6481 | <summary> |
||
6482 | Note: |
||
6483 | IEnumerator innerEnum = Dictionary<K,V>.KeysCollections.GetEnumerator(); |
||
6484 | innerEnum.MoveNext() will throw InvalidOperation even if the values get changed, |
||
6485 | which is supported in python |
||
6486 | </summary> |
||
6487 | </member> |
||
6488 | <member name="T:IronPython.Runtime.DictionaryValueEnumerator"> |
||
6489 | <summary> |
||
6490 | Note: |
||
6491 | IEnumerator innerEnum = Dictionary<K,V>.KeysCollections.GetEnumerator(); |
||
6492 | innerEnum.MoveNext() will throw InvalidOperation even if the values get changed, |
||
6493 | which is supported in python |
||
6494 | </summary> |
||
6495 | </member> |
||
6496 | <member name="T:IronPython.Runtime.DictionaryItemEnumerator"> |
||
6497 | <summary> |
||
6498 | Note: |
||
6499 | IEnumerator innerEnum = Dictionary<K,V>.KeysCollections.GetEnumerator(); |
||
6500 | innerEnum.MoveNext() will throw InvalidOperation even if the values get changed, |
||
6501 | which is supported in python |
||
6502 | </summary> |
||
6503 | </member> |
||
6504 | <member name="T:IronPython.Runtime.DictionaryOps"> |
||
6505 | <summary> |
||
6506 | Provides both helpers for implementing Python dictionaries as well |
||
6507 | as providing public methods that should be exposed on all dictionary types. |
||
6508 | |||
6509 | Currently these are published on IDictionary<object, object> |
||
6510 | </summary> |
||
6511 | </member> |
||
6512 | <member name="F:IronPython.Runtime.PythonGenerator._active"> |
||
6513 | <summary> |
||
6514 | True iff the thread is currently inside the generator (ie, invoking the _next delegate). |
||
6515 | This can be used to enforce that a generator does not call back into itself. |
||
6516 | Pep255 says that a generator should throw a ValueError if called reentrantly. |
||
6517 | </summary> |
||
6518 | </member> |
||
6519 | <member name="F:IronPython.Runtime.PythonGenerator._LastFinalizer"> |
||
6520 | <summary> |
||
6521 | We cache the GeneratorFinalizer of generators that were closed on the user |
||
6522 | thread, and did not get finalized on the finalizer thread. We can then reuse |
||
6523 | the object. Reusing objects with a finalizer is good because it reduces |
||
6524 | the load on the GC's finalizer queue. |
||
6525 | </summary> |
||
6526 | </member> |
||
6527 | <member name="F:IronPython.Runtime.PythonGenerator._excInfo"> |
||
6528 | <summary> |
||
6529 | Fields set by Throw() to communicate an exception to the yield point. |
||
6530 | These are plumbed through the generator to become parameters to Raise(...) invoked |
||
6531 | at the yield suspension point in the generator. |
||
6532 | </summary> |
||
6533 | </member> |
||
6534 | <member name="F:IronPython.Runtime.PythonGenerator._sendValue"> |
||
6535 | <summary> |
||
6536 | Value sent by generator.send(). |
||
6537 | Since send() could send an exception, we need to keep this different from throwable's value. |
||
6538 | </summary> |
||
6539 | </member> |
||
6540 | <member name="M:IronPython.Runtime.PythonGenerator.throw(System.Object)"> |
||
6541 | <summary> |
||
6542 | See PEP 342 (http://python.org/dev/peps/pep-0342/) for details of new methods on Generator. |
||
6543 | Full signature including default params for throw is: |
||
6544 | throw(type, value=None, traceback=None) |
||
6545 | Use multiple overloads to resolve the default parameters. |
||
6546 | </summary> |
||
6547 | </member> |
||
6548 | <member name="M:IronPython.Runtime.PythonGenerator.throw(System.Object,System.Object,System.Object,System.Boolean)"> |
||
6549 | <summary> |
||
6550 | Throw(...) is like Raise(...) being called from the yield point within the generator. |
||
6551 | Note it must come from inside the generator so that the traceback matches, and so that it can |
||
6552 | properly cooperate with any try/catch/finallys inside the generator body. |
||
6553 | |||
6554 | If the generator catches the exception and yields another value, that is the return value of g.throw(). |
||
6555 | </summary> |
||
6556 | </member> |
||
6557 | <member name="M:IronPython.Runtime.PythonGenerator.send(System.Object)"> |
||
6558 | <summary> |
||
6559 | send() was added in Pep342. It sends a result back into the generator, and the expression becomes |
||
6560 | the result of yield when used as an expression. |
||
6561 | </summary> |
||
6562 | </member> |
||
6563 | <member name="M:IronPython.Runtime.PythonGenerator.close(System.Boolean)"> |
||
6564 | <summary> |
||
6565 | Close introduced in Pep 342. |
||
6566 | </summary> |
||
6567 | </member> |
||
6568 | <member name="P:IronPython.Runtime.PythonGenerator.__name__"> |
||
6569 | <summary> |
||
6570 | Gets the name of the function that produced this generator object. |
||
6571 | </summary> |
||
6572 | </member> |
||
6573 | <member name="M:IronPython.Runtime.PythonGenerator.MoveNextWorker"> |
||
6574 | <summary> |
||
6575 | Core implementation of IEnumerator.MoveNext() |
||
6576 | </summary> |
||
6577 | </member> |
||
6578 | <member name="M:IronPython.Runtime.PythonGenerator.NextWorker"> |
||
6579 | <summary> |
||
6580 | Core implementation of Python's next() method. |
||
6581 | </summary> |
||
6582 | </member> |
||
6583 | <member name="M:IronPython.Runtime.PythonGenerator.CheckThrowableAndReturnSendValue"> |
||
6584 | <summary> |
||
6585 | Helper called from PythonOps after the yield statement |
||
6586 | Keepin this in a helper method: |
||
6587 | - reduces generated code size |
||
6588 | - allows better coupling with PythonGenerator.Throw() |
||
6589 | - avoids throws from emitted code (which can be harder to debug). |
||
6590 | </summary> |
||
6591 | <returns></returns> |
||
6592 | </member> |
||
6593 | <member name="M:IronPython.Runtime.PythonGenerator.CheckThrowable"> |
||
6594 | <summary> |
||
6595 | Called to throw an exception set by Throw(). |
||
6596 | </summary> |
||
6597 | </member> |
||
6598 | <member name="F:IronPython.Runtime.PythonGenerator.GeneratorFlags.Closed"> |
||
6599 | <summary> |
||
6600 | True if the generator has finished (is "closed"), else false. |
||
6601 | Python language spec mandates that calling Next on a closed generator gracefully throws a StopIterationException. |
||
6602 | This can never be reset. |
||
6603 | </summary> |
||
6604 | </member> |
||
6605 | <member name="F:IronPython.Runtime.PythonGenerator.GeneratorFlags.CanSetSysExcInfo"> |
||
6606 | <summary> |
||
6607 | True if the generator can set sys exc info and therefore needs exception save/restore. |
||
6608 | </summary> |
||
6609 | </member> |
||
6610 | <member name="T:IronPython.Runtime.Importer"> |
||
6611 | <summary> |
||
6612 | Importer class - used for importing modules. Used by Ops and __builtin__ |
||
6613 | Singleton living on Python engine. |
||
6614 | </summary> |
||
6615 | </member> |
||
6616 | <member name="M:IronPython.Runtime.Importer.Import(IronPython.Runtime.CodeContext,System.String,IronPython.Runtime.PythonTuple,System.Int32)"> |
||
6617 | <summary> |
||
6618 | Gateway into importing ... called from Ops. Performs the initial import of |
||
6619 | a module and returns the module. |
||
6620 | </summary> |
||
6621 | </member> |
||
6622 | <member name="M:IronPython.Runtime.Importer.ImportLightThrow(IronPython.Runtime.CodeContext,System.String,IronPython.Runtime.PythonTuple,System.Int32)"> |
||
6623 | <summary> |
||
6624 | Gateway into importing ... called from Ops. Performs the initial import of |
||
6625 | a module and returns the module. This version returns light exceptions instead of throwing. |
||
6626 | </summary> |
||
6627 | </member> |
||
6628 | <member name="M:IronPython.Runtime.Importer.ImportFrom(IronPython.Runtime.CodeContext,System.Object,System.String)"> |
||
6629 | <summary> |
||
6630 | Gateway into importing ... called from Ops. This is called after |
||
6631 | importing the module and is used to return individual items from |
||
6632 | the module. The outer modules dictionary is then updated with the |
||
6633 | result. |
||
6634 | </summary> |
||
6635 | </member> |
||
6636 | <member name="M:IronPython.Runtime.Importer.ImportModule(IronPython.Runtime.CodeContext,System.Object,System.String,System.Boolean,System.Int32)"> |
||
6637 | <summary> |
||
6638 | Called by the __builtin__.__import__ functions (general importing) and ScriptEngine (for site.py) |
||
6639 | |||
6640 | level indiciates whether to perform absolute or relative imports. |
||
6641 | -1 indicates both should be performed |
||
6642 | 0 indicates only absolute imports should be performed |
||
6643 | Positive numbers indicate the # of parent directories to search relative to the calling module |
||
6644 | </summary> |
||
6645 | </member> |
||
6646 | <member name="M:IronPython.Runtime.Importer.TryGetNameAndPath(IronPython.Runtime.CodeContext,System.Object,System.String,System.Int32,System.String,System.String@,IronPython.Runtime.List@,IronPython.Runtime.PythonModule@)"> |
||
6647 | <summary> |
||
6648 | Interrogates the importing module for __name__ and __path__, which determine |
||
6649 | whether the imported module (whose name is 'name') is being imported as nested |
||
6650 | module (__path__ is present) or as sibling. |
||
6651 | |||
6652 | For sibling import, the full name of the imported module is parent.sibling |
||
6653 | For nested import, the full name of the imported module is parent.module.nested |
||
6654 | where parent.module is the mod.__name__ |
||
6655 | </summary> |
||
6656 | <param name="context"></param> |
||
6657 | <param name="globals">the globals dictionary</param> |
||
6658 | <param name="name">Name of the module to be imported</param> |
||
6659 | <param name="full">Output - full name of the module being imported</param> |
||
6660 | <param name="path">Path to use to search for "full"</param> |
||
6661 | <param name="level">the import level for relaive imports</param> |
||
6662 | <param name="parentMod">the parent module</param> |
||
6663 | <param name="package">the global __package__ value</param> |
||
6664 | <returns></returns> |
||
6665 | </member> |
||
6666 | <member name="M:IronPython.Runtime.Importer.GetParentPathAndModule(IronPython.Runtime.CodeContext,System.String,IronPython.Runtime.PythonModule@)"> |
||
6667 | <summary> |
||
6668 | Given the parent module name looks up the __path__ property. |
||
6669 | </summary> |
||
6670 | </member> |
||
6671 | <member name="M:IronPython.Runtime.Importer.TryGetExistingOrMetaPathModule(IronPython.Runtime.CodeContext,System.String,IronPython.Runtime.List,System.Object@)"> |
||
6672 | <summary> |
||
6673 | Trys to get an existing module and if that fails fall backs to searching |
||
6674 | </summary> |
||
6675 | </member> |
||
6676 | <member name="M:IronPython.Runtime.Importer.TryLoadMetaPathModule(IronPython.Runtime.CodeContext,System.String,IronPython.Runtime.List,System.Object@)"> |
||
6677 | <summary> |
||
6678 | Attempts to load a module from sys.meta_path as defined in PEP 302. |
||
6679 | |||
6680 | The meta_path provides a list of importer objects which can be used to load modules before |
||
6681 | searching sys.path but after searching built-in modules. |
||
6682 | </summary> |
||
6683 | </member> |
||
6684 | <member name="M:IronPython.Runtime.Importer.FindAndLoadModuleFromImporter(IronPython.Runtime.CodeContext,System.Object,System.String,IronPython.Runtime.List,System.Object@)"> |
||
6685 | <summary> |
||
6686 | Given a user defined importer object as defined in PEP 302 tries to load a module. |
||
6687 | |||
6688 | First the find_module(fullName, path) is invoked to get a loader, then load_module(fullName) is invoked |
||
6689 | </summary> |
||
6690 | </member> |
||
6691 | <member name="M:IronPython.Runtime.Importer.FindImporterForPath(IronPython.Runtime.CodeContext,System.String)"> |
||
6692 | <summary> |
||
6693 | Finds a user defined importer for the given path or returns null if no importer |
||
6694 | handles this path. |
||
6695 | </summary> |
||
6696 | </member> |
||
6697 | <member name="T:IronPython.Runtime.IWeakReferenceable"> |
||
6698 | <summary> |
||
6699 | Defines the internal interface used for accessing weak references and adding finalizers |
||
6700 | to user-defined types. |
||
6701 | </summary> |
||
6702 | </member> |
||
6703 | <member name="M:IronPython.Runtime.IWeakReferenceable.GetWeakRef"> |
||
6704 | <summary> |
||
6705 | Gets the current WeakRefTracker for an object that can be used to |
||
6706 | append additional weak references. |
||
6707 | </summary> |
||
6708 | </member> |
||
6709 | <member name="M:IronPython.Runtime.IWeakReferenceable.SetWeakRef(IronPython.Runtime.WeakRefTracker)"> |
||
6710 | <summary> |
||
6711 | Attempts to set the WeakRefTracker for an object. Used on the first |
||
6712 | addition of a weak ref tracker to an object. If the object doesn't |
||
6713 | support adding weak references then it returns false. |
||
6714 | </summary> |
||
6715 | </member> |
||
6716 | <member name="M:IronPython.Runtime.IWeakReferenceable.SetFinalizer(IronPython.Runtime.WeakRefTracker)"> |
||
6717 | <summary> |
||
6718 | Sets a WeakRefTracker on an object for the purposes of supporting finalization. |
||
6719 | All user types (new-style and old-style) support finalization even if they don't |
||
6720 | support weak-references, and therefore this function always succeeds. Note the |
||
6721 | slot used to store the WeakRefTracker is still shared between SetWeakRef and |
||
6722 | SetFinalizer if a type supports both. |
||
6723 | </summary> |
||
6724 | <param name="value"></param> |
||
6725 | </member> |
||
6726 | <member name="T:IronPython.Runtime.IWeakReferenceableByProxy"> |
||
6727 | <summary> |
||
6728 | Allow types to implement weakvreference tracking by returning a proxy. |
||
6729 | |||
6730 | The proxy can refer to the current Python context, whihc is the main purpose. |
||
6731 | </summary> |
||
6732 | </member> |
||
6733 | <member name="M:IronPython.Runtime.IWeakReferenceableByProxy.GetWeakRefProxy(IronPython.Runtime.PythonContext)"> |
||
6734 | <summary> |
||
6735 | |||
6736 | </summary> |
||
6737 | </member> |
||
6738 | <member name="T:IronPython.Runtime.IPythonMembersList"> |
||
6739 | <summary> |
||
6740 | Provides a list of all the members of an instance. ie. all the keys in the |
||
6741 | dictionary of the object. Note that it can contain objects that are not strings. |
||
6742 | |||
6743 | Such keys can be added in IronPython using syntax like: |
||
6744 | obj.__dict__[100] = someOtherObject |
||
6745 | |||
6746 | This Python specific version also supports filtering based upon the show cls |
||
6747 | flag by flowing in the code context. |
||
6748 | </summary> |
||
6749 | </member> |
||
6750 | <member name="M:IronPython.Runtime.List.FromArrayNoCopy(System.Object[])"> |
||
6751 | <summary> |
||
6752 | Creates a new list with the data in the array and a size |
||
6753 | the same as the length of the array. The array is held |
||
6754 | onto and may be mutated in the future by the list. |
||
6755 | </summary> |
||
6756 | <param name="data">params array to use for lists storage</param> |
||
6757 | </member> |
||
6758 | <member name="M:IronPython.Runtime.List.GetAddSize(System.Int32,System.Int32)"> |
||
6759 | <summary> |
||
6760 | Gets a reasonable size for the addition of two arrays. We round |
||
6761 | to a power of two so that we usually have some extra space if |
||
6762 | the resulting array gets added to. |
||
6763 | </summary> |
||
6764 | </member> |
||
6765 | <member name="M:IronPython.Runtime.List.AddNoLock(System.Object)"> |
||
6766 | <summary> |
||
6767 | Non-thread safe adder, should only be used by internal callers that |
||
6768 | haven't yet exposed their list. |
||
6769 | </summary> |
||
6770 | </member> |
||
6771 | <member name="M:IronPython.Runtime.List.DoCompare(System.Object[],System.Collections.IComparer,System.Int32,System.Int32,System.Boolean)"> |
||
6772 | <summary> |
||
6773 | Compares the two specified keys |
||
6774 | </summary> |
||
6775 | </member> |
||
6776 | <member name="P:IronPython.Runtime.List.Item(System.Object)"> |
||
6777 | <summary> |
||
6778 | Supports __index__ on arbitrary types, also prevents __float__ |
||
6779 | </summary> |
||
6780 | </member> |
||
6781 | <member name="T:IronPython.Runtime.OrderedLocker"> |
||
6782 | <summary> |
||
6783 | we need to lock both objects (or copy all of one's data w/ it's lock held, and |
||
6784 | then compare, which is bad). Therefore we have a strong order for locking on |
||
6785 | the two objects based upon the hash code or object identity in case of a collision |
||
6786 | </summary> |
||
6787 | </member> |
||
6788 | <member name="T:IronPython.Runtime.LiteralParser"> |
||
6789 | <summary> |
||
6790 | Summary description for ConstantValue. |
||
6791 | </summary> |
||
6792 | </member> |
||
6793 | <member name="T:IronPython.Runtime.PythonBuffer.BufferMeta"> |
||
6794 | <summary> |
||
6795 | A DynamicMetaObject which is just used to support custom conversions to COM. |
||
6796 | </summary> |
||
6797 | </member> |
||
6798 | <member name="T:IronPython.Runtime.IPythonArray"> |
||
6799 | <summary> |
||
6800 | A marker interface so we can recognize and access sequence members on our array objects. |
||
6801 | </summary> |
||
6802 | </member> |
||
6803 | <member name="T:IronPython.Runtime.UnaryOperators"> |
||
6804 | <summary> |
||
6805 | List of unary operators which we have sites for to enable fast dispatch that |
||
6806 | doesn't collide with other operators. |
||
6807 | </summary> |
||
6808 | </member> |
||
6809 | <member name="M:IronPython.Runtime.PythonFile.SetMode(IronPython.Runtime.CodeContext,System.Boolean)"> |
||
6810 | <summary> |
||
6811 | Sets the mode to text or binary. Returns true if previously set to text, false if previously set to binary. |
||
6812 | </summary> |
||
6813 | </member> |
||
6814 | <member name="M:IronPython.Runtime.PythonFile.truncate"> |
||
6815 | <summary> |
||
6816 | Truncates the file to the current length as indicated by tell(). |
||
6817 | </summary> |
||
6818 | </member> |
||
6819 | <member name="M:IronPython.Runtime.PythonFile.truncate(System.Int64)"> |
||
6820 | <summary> |
||
6821 | Truncates the file to the specified length. |
||
6822 | </summary> |
||
6823 | <param name="size"></param> |
||
6824 | </member> |
||
6825 | <member name="T:IronPython.Runtime.PythonScopeExtension"> |
||
6826 | <summary> |
||
6827 | Provides storage of IronPython specific data in the DLR Scope ScopeExtension. |
||
6828 | |||
6829 | This enables IronPython to track code compilation flags such as from __future__ |
||
6830 | flags and import clr flags across multiple executions of user-provided scopes. |
||
6831 | </summary> |
||
6832 | </member> |
||
6833 | <member name="T:IronPython.Runtime.PythonNarrowing"> |
||
6834 | <summary> |
||
6835 | Provides human readable names for how Python maps the various DLR NarrowingLevel's. |
||
6836 | </summary> |
||
6837 | </member> |
||
6838 | <member name="F:IronPython.Runtime.PythonNarrowing.None"> |
||
6839 | <summary> |
||
6840 | No narrowing conversions are performed |
||
6841 | </summary> |
||
6842 | </member> |
||
6843 | <member name="F:IronPython.Runtime.PythonNarrowing.BinaryOperator"> |
||
6844 | <summary> |
||
6845 | Double/Single to Decimal |
||
6846 | PythonTuple to Array |
||
6847 | Generic conversions |
||
6848 | BigInteger to Int64 |
||
6849 | </summary> |
||
6850 | </member> |
||
6851 | <member name="F:IronPython.Runtime.PythonNarrowing.IndexOperator"> |
||
6852 | <summary> |
||
6853 | Numeric conversions excluding from floating point values |
||
6854 | Boolean conversions |
||
6855 | Delegate conversions |
||
6856 | Enumeration conversions |
||
6857 | </summary> |
||
6858 | </member> |
||
6859 | <member name="F:IronPython.Runtime.PythonNarrowing.All"> |
||
6860 | <summary> |
||
6861 | Enables Python protocol conversions (__int__, etc...) |
||
6862 | </summary> |
||
6863 | </member> |
||
6864 | <member name="T:IronPython.Runtime.ScopeDictionaryStorage"> |
||
6865 | <summary> |
||
6866 | Provides dictionary based storage which is backed by a Scope object. |
||
6867 | </summary> |
||
6868 | </member> |
||
6869 | <member name="T:IronPython.Runtime.SetCollection"> |
||
6870 | <summary> |
||
6871 | Mutable set class |
||
6872 | </summary> |
||
6873 | </member> |
||
6874 | <member name="M:IronPython.Runtime.SetCollection.update(System.Object)"> |
||
6875 | <summary> |
||
6876 | Appends an IEnumerable to an existing set |
||
6877 | </summary> |
||
6878 | </member> |
||
6879 | <member name="T:IronPython.Runtime.FrozenSetCollection"> |
||
6880 | <summary> |
||
6881 | Immutable set class |
||
6882 | </summary> |
||
6883 | </member> |
||
6884 | <member name="T:IronPython.Runtime.SetIterator"> |
||
6885 | <summary> |
||
6886 | Iterator over sets |
||
6887 | </summary> |
||
6888 | </member> |
||
6889 | <member name="M:IronPython.Runtime.Slice.DeprecatedFixed(System.Object,System.Int32@,System.Int32@)"> |
||
6890 | <summary> |
||
6891 | Gets the indices for the deprecated __getslice__, __setslice__, __delslice__ functions |
||
6892 | |||
6893 | This form is deprecated in favor of using __getitem__ w/ a slice object as an index. This |
||
6894 | form also has subtly different mechanisms for fixing the slice index before calling the function. |
||
6895 | |||
6896 | If an index is negative and __len__ is not defined on the object than an AttributeError |
||
6897 | is raised. |
||
6898 | </summary> |
||
6899 | </member> |
||
6900 | <member name="T:IronPython.Runtime.StringFormatter"> |
||
6901 | <summary> |
||
6902 | StringFormatter provides Python's % style string formatting services. |
||
6903 | </summary> |
||
6904 | </member> |
||
6905 | <member name="M:IronPython.Runtime.StringFormatter.ReadMappingKey"> |
||
6906 | <summary> |
||
6907 | Read a possible mapping key for %(key)s. |
||
6908 | </summary> |
||
6909 | <returns>The key name enclosed between the '%(key)s', |
||
6910 | or null if there are no paranthesis such as '%s'.</returns> |
||
6911 | </member> |
||
6912 | <member name="M:IronPython.Runtime.StringFormatter.AppendBase(System.Char,System.Int32)"> |
||
6913 | <summary> |
||
6914 | AppendBase appends an integer at the specified radix doing all the |
||
6915 | special forms for Python. We have a copy and paste version of this |
||
6916 | for BigInteger below that should be kept in sync. |
||
6917 | </summary> |
||
6918 | </member> |
||
6919 | <member name="M:IronPython.Runtime.StringFormatter.AppendBaseBigInt(System.Numerics.BigInteger,System.Char,System.Int32)"> |
||
6920 | <summary> |
||
6921 | BigInteger version of AppendBase. Should be kept in sync w/ AppendBase |
||
6922 | </summary> |
||
6923 | </member> |
||
6924 | <member name="M:IronPython.Runtime.PythonTuple.ToArray"> |
||
6925 | <summary> |
||
6926 | Return a copy of this tuple's data array. |
||
6927 | </summary> |
||
6928 | </member> |
||
6929 | <member name="T:IronPython.Runtime.TupleEnumerator"> |
||
6930 | <summary> |
||
6931 | public class to get optimized |
||
6932 | </summary> |
||
6933 | </member> |
||
6934 | <member name="T:IronPython.Runtime.PythonModule"> |
||
6935 | <summary> |
||
6936 | Python module. Stores classes, functions, and data. Usually a module |
||
6937 | is created by importing a file or package from disk. But a module can also |
||
6938 | be directly created by calling the module type and providing a name or |
||
6939 | optionally a documentation string. |
||
6940 | </summary> |
||
6941 | </member> |
||
6942 | <member name="M:IronPython.Runtime.PythonModule.#ctor(IronPython.Runtime.PythonContext,Microsoft.Scripting.Runtime.Scope)"> |
||
6943 | <summary> |
||
6944 | Creates a new module backed by a Scope. Used for creating modules for foreign Scope's. |
||
6945 | </summary> |
||
6946 | </member> |
||
6947 | <member name="M:IronPython.Runtime.PythonModule.#ctor(IronPython.Runtime.PythonDictionary)"> |
||
6948 | <summary> |
||
6949 | Creates a new PythonModule with the specified dictionary. |
||
6950 | |||
6951 | Used for creating modules for builtin modules which don't have any code associated with them. |
||
6952 | </summary> |
||
6953 | </member> |
||
6954 | <member name="T:IronPython.Runtime.WeakRefTracker"> |
||
6955 | <summary> |
||
6956 | single finalizable instance used to track and deliver all the |
||
6957 | callbacks for a single object that has been weakly referenced by |
||
6958 | one or more references and proxies. The reference to this object |
||
6959 | is held in objects that implement IWeakReferenceable. |
||
6960 | </summary> |
||
6961 | </member> |
||
6962 | <member name="T:IronPython.Runtime.InstanceFinalizer"> |
||
6963 | <summary> |
||
6964 | Finalizable object used to hook up finalization calls for OldInstances. |
||
6965 | |||
6966 | We create one of these each time an object w/ a finalizer gets created. The |
||
6967 | only reference to this object is the instance so when that goes out of context |
||
6968 | this does as well and this will get finalized. |
||
6969 | </summary> |
||
6970 | </member> |
||
6971 | <member name="T:IronPython.Runtime.WrapperDescriptorAttribute"> |
||
6972 | <summary> |
||
6973 | Marks a method/field/property as being a wrapper descriptor. A wrapper desriptor |
||
6974 | is a member defined on PythonType but is available both for type and other |
||
6975 | instances of type. For example type.__bases__. |
||
6976 | </summary> |
||
6977 | </member> |
||
6978 | <member name="T:IronPython.DictionaryTypeInfoAttribute"> |
||
6979 | <summary> |
||
6980 | Provides more specific type information for Python dictionaries which are not strongly typed. |
||
6981 | |||
6982 | This attribute can be applied to fields, parameters, proeprties, and return values. It can be |
||
6983 | inspected to get type information about the types of the keys and values of the expected |
||
6984 | dictionary or the returned dictionary. |
||
6985 | </summary> |
||
6986 | </member> |
||
6987 | <member name="T:IronPython.Hosting.PythonService"> |
||
6988 | <summary> |
||
6989 | Helper class for implementing the Python class. |
||
6990 | |||
6991 | This is exposed as a service through PythonEngine and the helper class |
||
6992 | uses this service to get the correct remoting semantics. |
||
6993 | </summary> |
||
6994 | </member> |
||
6995 | <member name="M:IronPython.Hosting.PythonService.GetLocalCommandDispatcher"> |
||
6996 | <summary> |
||
6997 | Returns an ObjectHandle to a delegate of type Action[Action] which calls the current |
||
6998 | command dispatcher. |
||
6999 | </summary> |
||
7000 | </member> |
||
7001 | <member name="T:IronPython.Hosting.PythonCommandLine"> |
||
7002 | <summary> |
||
7003 | A simple Python command-line should mimic the standard python.exe |
||
7004 | </summary> |
||
7005 | </member> |
||
7006 | <member name="M:IronPython.Hosting.PythonCommandLine.GetLogoDisplay"> |
||
7007 | <summary> |
||
7008 | Returns the display look for IronPython. |
||
7009 | |||
7010 | The returned string uses This \n instead of Environment.NewLine for it's line seperator |
||
7011 | because it is intended to be outputted through the Python I/O system. |
||
7012 | </summary> |
||
7013 | </member> |
||
7014 | <member name="M:IronPython.Hosting.PythonCommandLine.InitializeExtensionDLLs"> |
||
7015 | <summary> |
||
7016 | Loads any extension DLLs present in sys.prefix\DLLs directory and adds references to them. |
||
7017 | |||
7018 | This provides an easy drop-in location for .NET assemblies which should be automatically referenced |
||
7019 | (exposed via import), COM libraries, and pre-compiled Python code. |
||
7020 | </summary> |
||
7021 | </member> |
||
7022 | <member name="M:IronPython.Hosting.PythonCommandLine.TryInteractiveActionWorker"> |
||
7023 | <summary> |
||
7024 | Attempts to run a single interaction and handle any language-specific |
||
7025 | exceptions. Base classes can override this and call the base implementation |
||
7026 | surrounded with their own exception handling. |
||
7027 | |||
7028 | Returns null if successful and execution should continue, or an exit code. |
||
7029 | </summary> |
||
7030 | </member> |
||
7031 | <member name="M:IronPython.Hosting.PythonCommandLine.RunOneInteraction"> |
||
7032 | <summary> |
||
7033 | Parses a single interactive command and executes it. |
||
7034 | |||
7035 | Returns null if successful and execution should continue, or the appropiate exit code. |
||
7036 | </summary> |
||
7037 | </member> |
||
7038 | <member name="P:IronPython.Hosting.PythonConsoleOptions.SkipFirstSourceLine"> |
||
7039 | <summary> |
||
7040 | Skip the first line of the code to execute. This is useful for executing Unix scripts which |
||
7041 | have the command to execute specified in the first line. |
||
7042 | This only apply to the script code executed by the ScriptEngine APIs, but not for other script code |
||
7043 | that happens to get called as a result of the execution. |
||
7044 | </summary> |
||
7045 | </member> |
||
7046 | <member name="M:IronPython.Hosting.PythonOptionsParser.ParseArgument(System.String)"> |
||
7047 | <exception cref="T:System.Exception">On error.</exception> |
||
7048 | </member> |
||
7049 | <member name="T:IronPython.Hosting.Python"> |
||
7050 | <summary> |
||
7051 | Provides helpers for interacting with IronPython. |
||
7052 | </summary> |
||
7053 | </member> |
||
7054 | <member name="M:IronPython.Hosting.Python.CreateRuntime"> |
||
7055 | <summary> |
||
7056 | Creates a new ScriptRuntime with the IronPython scipting engine pre-configured. |
||
7057 | </summary> |
||
7058 | <returns></returns> |
||
7059 | </member> |
||
7060 | <member name="M:IronPython.Hosting.Python.CreateRuntime(System.Collections.Generic.IDictionary{System.String,System.Object})"> |
||
7061 | <summary> |
||
7062 | Creates a new ScriptRuntime with the IronPython scipting engine pre-configured and |
||
7063 | additional options. |
||
7064 | </summary> |
||
7065 | </member> |
||
7066 | <member name="M:IronPython.Hosting.Python.CreateRuntime(System.AppDomain)"> |
||
7067 | <summary> |
||
7068 | Creates a new ScriptRuntime with the IronPython scripting engine pre-configured |
||
7069 | in the specified AppDomain. The remote ScriptRuntime may be manipulated from |
||
7070 | the local domain but all code will run in the remote domain. |
||
7071 | </summary> |
||
7072 | </member> |
||
7073 | <member name="M:IronPython.Hosting.Python.CreateRuntime(System.AppDomain,System.Collections.Generic.IDictionary{System.String,System.Object})"> |
||
7074 | <summary> |
||
7075 | Creates a new ScriptRuntime with the IronPython scripting engine pre-configured |
||
7076 | in the specified AppDomain with additional options. The remote ScriptRuntime may |
||
7077 | be manipulated from the local domain but all code will run in the remote domain. |
||
7078 | </summary> |
||
7079 | </member> |
||
7080 | <member name="M:IronPython.Hosting.Python.CreateEngine"> |
||
7081 | <summary> |
||
7082 | Creates a new ScriptRuntime and returns the ScriptEngine for IronPython. If |
||
7083 | the ScriptRuntime is required it can be acquired from the Runtime property |
||
7084 | on the engine. |
||
7085 | </summary> |
||
7086 | </member> |
||
7087 | <member name="M:IronPython.Hosting.Python.CreateEngine(System.Collections.Generic.IDictionary{System.String,System.Object})"> |
||
7088 | <summary> |
||
7089 | Creates a new ScriptRuntime with the specified options and returns the |
||
7090 | ScriptEngine for IronPython. If the ScriptRuntime is required it can be |
||
7091 | acquired from the Runtime property on the engine. |
||
7092 | </summary> |
||
7093 | </member> |
||
7094 | <member name="M:IronPython.Hosting.Python.CreateEngine(System.AppDomain)"> |
||
7095 | <summary> |
||
7096 | Creates a new ScriptRuntime and returns the ScriptEngine for IronPython. If |
||
7097 | the ScriptRuntime is required it can be acquired from the Runtime property |
||
7098 | on the engine. |
||
7099 | |||
7100 | The remote ScriptRuntime may be manipulated from the local domain but |
||
7101 | all code will run in the remote domain. |
||
7102 | </summary> |
||
7103 | </member> |
||
7104 | <member name="M:IronPython.Hosting.Python.CreateEngine(System.AppDomain,System.Collections.Generic.IDictionary{System.String,System.Object})"> |
||
7105 | <summary> |
||
7106 | Creates a new ScriptRuntime with the specified options and returns the |
||
7107 | ScriptEngine for IronPython. If the ScriptRuntime is required it can be |
||
7108 | acquired from the Runtime property on the engine. |
||
7109 | |||
7110 | The remote ScriptRuntime may be manipulated from the local domain but |
||
7111 | all code will run in the remote domain. |
||
7112 | </summary> |
||
7113 | </member> |
||
7114 | <member name="M:IronPython.Hosting.Python.GetEngine(Microsoft.Scripting.Hosting.ScriptRuntime)"> |
||
7115 | <summary> |
||
7116 | Given a ScriptRuntime gets the ScriptEngine for IronPython. |
||
7117 | </summary> |
||
7118 | </member> |
||
7119 | <member name="M:IronPython.Hosting.Python.GetSysModule(Microsoft.Scripting.Hosting.ScriptRuntime)"> |
||
7120 | <summary> |
||
7121 | Gets a ScriptScope which is the Python sys module for the provided ScriptRuntime. |
||
7122 | </summary> |
||
7123 | </member> |
||
7124 | <member name="M:IronPython.Hosting.Python.GetSysModule(Microsoft.Scripting.Hosting.ScriptEngine)"> |
||
7125 | <summary> |
||
7126 | Gets a ScriptScope which is the Python sys module for the provided ScriptEngine. |
||
7127 | </summary> |
||
7128 | </member> |
||
7129 | <member name="M:IronPython.Hosting.Python.GetBuiltinModule(Microsoft.Scripting.Hosting.ScriptRuntime)"> |
||
7130 | <summary> |
||
7131 | Gets a ScriptScope which is the Python __builtin__ module for the provided ScriptRuntime. |
||
7132 | </summary> |
||
7133 | </member> |
||
7134 | <member name="M:IronPython.Hosting.Python.GetBuiltinModule(Microsoft.Scripting.Hosting.ScriptEngine)"> |
||
7135 | <summary> |
||
7136 | Gets a ScriptScope which is the Python __builtin__ module for the provided ScriptEngine. |
||
7137 | </summary> |
||
7138 | </member> |
||
7139 | <member name="M:IronPython.Hosting.Python.GetClrModule(Microsoft.Scripting.Hosting.ScriptRuntime)"> |
||
7140 | <summary> |
||
7141 | Gets a ScriptScope which is the Python clr module for the provided ScriptRuntime. |
||
7142 | </summary> |
||
7143 | </member> |
||
7144 | <member name="M:IronPython.Hosting.Python.GetClrModule(Microsoft.Scripting.Hosting.ScriptEngine)"> |
||
7145 | <summary> |
||
7146 | Gets a ScriptScope which is the Python clr module for the provided ScriptEngine. |
||
7147 | </summary> |
||
7148 | </member> |
||
7149 | <member name="M:IronPython.Hosting.Python.ImportModule(Microsoft.Scripting.Hosting.ScriptRuntime,System.String)"> |
||
7150 | <summary> |
||
7151 | Imports the Python module by the given name and returns its ScriptSCope. If the |
||
7152 | module does not exist an exception is raised. |
||
7153 | </summary> |
||
7154 | </member> |
||
7155 | <member name="M:IronPython.Hosting.Python.ImportModule(Microsoft.Scripting.Hosting.ScriptEngine,System.String)"> |
||
7156 | <summary> |
||
7157 | Imports the Python module by the given name and returns its ScriptSCope. If the |
||
7158 | module does not exist an exception is raised. |
||
7159 | </summary> |
||
7160 | </member> |
||
7161 | <member name="M:IronPython.Hosting.Python.ImportModule(Microsoft.Scripting.Hosting.ScriptScope,System.String)"> |
||
7162 | <summary> |
||
7163 | Imports the Python module by the given name and inserts it into the ScriptScope as that name. If the |
||
7164 | module does not exist an exception is raised. |
||
7165 | </summary> |
||
7166 | <param name="scope"></param> |
||
7167 | <param name="moduleName"></param> |
||
7168 | </member> |
||
7169 | <member name="M:IronPython.Hosting.Python.SetHostVariables(Microsoft.Scripting.Hosting.ScriptRuntime,System.String,System.String,System.String)"> |
||
7170 | <summary> |
||
7171 | Sets sys.exec_prefix, sys.executable and sys.version and adds the prefix to sys.path |
||
7172 | </summary> |
||
7173 | </member> |
||
7174 | <member name="M:IronPython.Hosting.Python.SetHostVariables(Microsoft.Scripting.Hosting.ScriptEngine,System.String,System.String,System.String)"> |
||
7175 | <summary> |
||
7176 | Sets sys.exec_prefix, sys.executable and sys.version and adds the prefix to sys.path |
||
7177 | </summary> |
||
7178 | </member> |
||
7179 | <member name="M:IronPython.Hosting.Python.SetTrace(Microsoft.Scripting.Hosting.ScriptEngine,IronPython.Runtime.Exceptions.TracebackDelegate)"> |
||
7180 | <summary> |
||
7181 | Enables call tracing for the current thread in this ScriptEngine. |
||
7182 | |||
7183 | TracebackDelegate will be called back for each function entry, exit, exception, and line change. |
||
7184 | </summary> |
||
7185 | </member> |
||
7186 | <member name="M:IronPython.Hosting.Python.SetTrace(Microsoft.Scripting.Hosting.ScriptRuntime,IronPython.Runtime.Exceptions.TracebackDelegate)"> |
||
7187 | <summary> |
||
7188 | Enables call tracing for the current thread for the Python engine in this ScriptRuntime. |
||
7189 | |||
7190 | TracebackDelegate will be called back for each function entry, exit, exception, and line change. |
||
7191 | </summary> |
||
7192 | </member> |
||
7193 | <member name="M:IronPython.Hosting.Python.CallTracing(Microsoft.Scripting.Hosting.ScriptRuntime,System.Object,System.Object[])"> |
||
7194 | <summary> |
||
7195 | Provides nested level debugging support when SetTrace or SetProfile are used. |
||
7196 | |||
7197 | This saves the current tracing information and then calls the provided object. |
||
7198 | </summary> |
||
7199 | </member> |
||
7200 | <member name="M:IronPython.Hosting.Python.CallTracing(Microsoft.Scripting.Hosting.ScriptEngine,System.Object,System.Object[])"> |
||
7201 | <summary> |
||
7202 | Provides nested level debugging support when SetTrace or SetProfile are used. |
||
7203 | |||
7204 | This saves the current tracing information and then calls the provided object. |
||
7205 | </summary> |
||
7206 | </member> |
||
7207 | <member name="M:IronPython.Hosting.Python.CreateRuntimeSetup(System.Collections.Generic.IDictionary{System.String,System.Object})"> |
||
7208 | <summary> |
||
7209 | Creates a ScriptRuntimeSetup object which includes the Python script engine with the specified options. |
||
7210 | |||
7211 | The ScriptRuntimeSetup object can then be additional configured and used to create a ScriptRuntime. |
||
7212 | </summary> |
||
7213 | </member> |
||
7214 | <member name="M:IronPython.Hosting.Python.CreateLanguageSetup(System.Collections.Generic.IDictionary{System.String,System.Object})"> |
||
7215 | <summary> |
||
7216 | Creates a LanguageSetup object which includes the Python script engine with the specified options. |
||
7217 | |||
7218 | The LanguageSetup object can be used with other LanguageSetup objects from other languages to |
||
7219 | configure a ScriptRuntimeSetup object. |
||
7220 | </summary> |
||
7221 | </member> |
||
7222 | <member name="M:IronPython.Hosting.Python.CreateModule(Microsoft.Scripting.Hosting.ScriptEngine,System.String)"> |
||
7223 | <summary> |
||
7224 | Creates a new PythonModule with the specified name and published it in sys.modules. |
||
7225 | |||
7226 | Returns the ScriptScope associated with the module. |
||
7227 | </summary> |
||
7228 | </member> |
||
7229 | <member name="M:IronPython.Hosting.Python.CreateModule(Microsoft.Scripting.Hosting.ScriptEngine,System.String,System.String)"> |
||
7230 | <summary> |
||
7231 | Creates a new PythonModule with the specified name and filename published it |
||
7232 | in sys.modules. |
||
7233 | |||
7234 | Returns the ScriptScope associated with the module. |
||
7235 | </summary> |
||
7236 | </member> |
||
7237 | <member name="M:IronPython.Hosting.Python.CreateModule(Microsoft.Scripting.Hosting.ScriptEngine,System.String,System.String,System.String)"> |
||
7238 | <summary> |
||
7239 | Creates a new PythonModule with the specified name, filename, and doc string and |
||
7240 | published it in sys.modules. |
||
7241 | |||
7242 | Returns the ScriptScope associated with the module. |
||
7243 | </summary> |
||
7244 | </member> |
||
7245 | <member name="M:IronPython.Hosting.Python.GetModuleFilenames(Microsoft.Scripting.Hosting.ScriptEngine)"> |
||
7246 | <summary> |
||
7247 | Gets the list of loaded Python module files names which are available in the provided ScriptEngine. |
||
7248 | </summary> |
||
7249 | </member> |
||
7250 | <member name="F:IronPython.Hosting.ErrorCodes.IncompleteStatement"> |
||
7251 | <summary> |
||
7252 | The error involved an incomplete statement due to an unexpected EOF. |
||
7253 | </summary> |
||
7254 | </member> |
||
7255 | <member name="F:IronPython.Hosting.ErrorCodes.IncompleteToken"> |
||
7256 | <summary> |
||
7257 | The error involved an incomplete token. |
||
7258 | </summary> |
||
7259 | </member> |
||
7260 | <member name="F:IronPython.Hosting.ErrorCodes.ErrorMask"> |
||
7261 | <summary> |
||
7262 | The mask for the actual error values |
||
7263 | </summary> |
||
7264 | </member> |
||
7265 | <member name="F:IronPython.Hosting.ErrorCodes.SyntaxError"> |
||
7266 | <summary> |
||
7267 | The error was a general syntax error |
||
7268 | </summary> |
||
7269 | </member> |
||
7270 | <member name="F:IronPython.Hosting.ErrorCodes.IndentationError"> |
||
7271 | <summary> |
||
7272 | The error was an indentation error. |
||
7273 | </summary> |
||
7274 | </member> |
||
7275 | <member name="F:IronPython.Hosting.ErrorCodes.TabError"> |
||
7276 | <summary> |
||
7277 | The error was a tab error. |
||
7278 | </summary> |
||
7279 | </member> |
||
7280 | <member name="F:IronPython.Hosting.ErrorCodes.NoCaret"> |
||
7281 | <summary> |
||
7282 | syntax error shouldn't include a caret (no column offset should be included) |
||
7283 | </summary> |
||
7284 | </member> |
||
7285 | <member name="T:IronPython.MaybeNotImplementedAttribute"> |
||
7286 | <summary> |
||
7287 | Marks that the return value of a function might include NotImplemented. |
||
7288 | |||
7289 | This is added to an operator method to ensure that all necessary methods are called |
||
7290 | if one cannot guarantee that it can perform the comparison. |
||
7291 | </summary> |
||
7292 | </member> |
||
7293 | <member name="T:IronPython.BytesConversionAttribute"> |
||
7294 | <summary> |
||
7295 | For IList<byte/> arguments: Marks that the argument is typed to accept a bytes or |
||
7296 | bytearray object. This attribute disallows passing a Python list object and |
||
7297 | auto-applying our generic conversion. It also enables conversion of a string to |
||
7298 | a IList of byte in IronPython 2.6. |
||
7299 | |||
7300 | For string arguments: Marks that the argument is typed to accept a bytes object |
||
7301 | as well. (2.6 only) |
||
7302 | </summary> |
||
7303 | </member> |
||
7304 | <member name="P:IronPython.PythonOptions.Arguments"> |
||
7305 | <summary> |
||
7306 | Gets the collection of command line arguments. |
||
7307 | </summary> |
||
7308 | </member> |
||
7309 | <member name="P:IronPython.PythonOptions.Optimize"> |
||
7310 | <summary> |
||
7311 | Should we strip out all doc strings (the -O command line option). |
||
7312 | </summary> |
||
7313 | </member> |
||
7314 | <member name="P:IronPython.PythonOptions.StripDocStrings"> |
||
7315 | <summary> |
||
7316 | Should we strip out all doc strings (the -OO command line option). |
||
7317 | </summary> |
||
7318 | </member> |
||
7319 | <member name="P:IronPython.PythonOptions.WarningFilters"> |
||
7320 | <summary> |
||
7321 | List of -W (warning filter) options collected from the command line. |
||
7322 | </summary> |
||
7323 | </member> |
||
7324 | <member name="P:IronPython.PythonOptions.WarnPython30"> |
||
7325 | <summary> |
||
7326 | Enables warnings related to Python 3.0 features. |
||
7327 | </summary> |
||
7328 | </member> |
||
7329 | <member name="P:IronPython.PythonOptions.Python30"> |
||
7330 | <summary> |
||
7331 | Enables 3.0 features that are implemented in IronPython. |
||
7332 | </summary> |
||
7333 | </member> |
||
7334 | <member name="P:IronPython.PythonOptions.Debug"> |
||
7335 | <summary> |
||
7336 | Enables debugging support. When enabled a .NET debugger can be attached |
||
7337 | to the process to step through Python code. |
||
7338 | </summary> |
||
7339 | </member> |
||
7340 | <member name="P:IronPython.PythonOptions.Inspect"> |
||
7341 | <summary> |
||
7342 | Enables inspect mode. After running the main module the REPL will be started |
||
7343 | within that modules context. |
||
7344 | </summary> |
||
7345 | </member> |
||
7346 | <member name="P:IronPython.PythonOptions.NoUserSite"> |
||
7347 | <summary> |
||
7348 | Suppresses addition of the user site directory. This is ignored by IronPython |
||
7349 | except for updating sys.flags. |
||
7350 | </summary> |
||
7351 | </member> |
||
7352 | <member name="P:IronPython.PythonOptions.NoSite"> |
||
7353 | <summary> |
||
7354 | Disables import site on startup. |
||
7355 | </summary> |
||
7356 | </member> |
||
7357 | <member name="P:IronPython.PythonOptions.IgnoreEnvironment"> |
||
7358 | <summary> |
||
7359 | Ignore environment variables that configure the IronPython context. |
||
7360 | </summary> |
||
7361 | </member> |
||
7362 | <member name="P:IronPython.PythonOptions.Verbose"> |
||
7363 | <summary> |
||
7364 | Enables the verbose option which traces import statements. This is ignored by IronPython |
||
7365 | except for setting sys.flags. |
||
7366 | </summary> |
||
7367 | </member> |
||
7368 | <member name="P:IronPython.PythonOptions.RecursionLimit"> |
||
7369 | <summary> |
||
7370 | Sets the maximum recursion depth. Setting to Int32.MaxValue will disable recursion |
||
7371 | enforcement. |
||
7372 | </summary> |
||
7373 | </member> |
||
7374 | <member name="P:IronPython.PythonOptions.Frames"> |
||
7375 | <summary> |
||
7376 | Makes available sys._getframe. Local variables will not be available in frames unless the |
||
7377 | function calls locals(), dir(), vars(), etc... For ensuring locals are always available use |
||
7378 | the FullFrames option. |
||
7379 | </summary> |
||
7380 | </member> |
||
7381 | <member name="P:IronPython.PythonOptions.FullFrames"> |
||
7382 | <summary> |
||
7383 | Makes available sys._getframe. All locals variables will live on the heap (for a considerable |
||
7384 | performance cost) enabling introspection of all code. |
||
7385 | </summary> |
||
7386 | </member> |
||
7387 | <member name="P:IronPython.PythonOptions.Tracing"> |
||
7388 | <summary> |
||
7389 | Tracing is always available. Without this option tracing is only enabled when sys.settrace |
||
7390 | is called. This means code that was already running before sys.settrace will not be debuggable. |
||
7391 | |||
7392 | With this option pdb.set_trace and pdb.post_mortem will always work properly. |
||
7393 | </summary> |
||
7394 | </member> |
||
7395 | <member name="P:IronPython.PythonOptions.IndentationInconsistencySeverity"> |
||
7396 | <summary> |
||
7397 | Severity of a warning that indentation is formatted inconsistently. |
||
7398 | </summary> |
||
7399 | </member> |
||
7400 | <member name="P:IronPython.PythonOptions.DivisionOptions"> |
||
7401 | <summary> |
||
7402 | The division options (old, new, warn, warnall) |
||
7403 | </summary> |
||
7404 | </member> |
||
7405 | <member name="P:IronPython.PythonOptions.LightweightScopes"> |
||
7406 | <summary> |
||
7407 | Forces all code to be compiled in a mode in which the code can be reliably collected by the CLR. |
||
7408 | </summary> |
||
7409 | </member> |
||
7410 | <member name="P:IronPython.PythonOptions.EnableProfiler"> |
||
7411 | <summary> |
||
7412 | Enable profiling code |
||
7413 | </summary> |
||
7414 | </member> |
||
7415 | <member name="P:IronPython.PythonOptions.NoDebug"> |
||
7416 | <summary> |
||
7417 | Returns a regular expression of Python files which should not be emitted in debug mode. |
||
7418 | </summary> |
||
7419 | </member> |
||
7420 | <member name="P:IronPython.PythonOptions.PythonVersion"> |
||
7421 | <summary> |
||
7422 | Gets the CPython version which IronPython will emulate. Currently limited |
||
7423 | to either 2.6 or 3.0. |
||
7424 | </summary> |
||
7425 | </member> |
||
7426 | <member name="T:IronPython.Resources"> |
||
7427 | <summary> |
||
7428 | A strongly-typed resource class, for looking up localized strings, etc. |
||
7429 | </summary> |
||
7430 | </member> |
||
7431 | <member name="P:IronPython.Resources.ResourceManager"> |
||
7432 | <summary> |
||
7433 | Returns the cached ResourceManager instance used by this class. |
||
7434 | </summary> |
||
7435 | </member> |
||
7436 | <member name="P:IronPython.Resources.Culture"> |
||
7437 | <summary> |
||
7438 | Overrides the current thread's CurrentUICulture property for all |
||
7439 | resource lookups using this strongly typed resource class. |
||
7440 | </summary> |
||
7441 | </member> |
||
7442 | <member name="P:IronPython.Resources.CantFindMember"> |
||
7443 | <summary> |
||
7444 | Looks up a localized string similar to couldn't find member {0}. |
||
7445 | </summary> |
||
7446 | </member> |
||
7447 | <member name="P:IronPython.Resources.DefaultRequired"> |
||
7448 | <summary> |
||
7449 | Looks up a localized string similar to default value must be specified here. |
||
7450 | </summary> |
||
7451 | </member> |
||
7452 | <member name="P:IronPython.Resources.DuplicateArgumentInFuncDef"> |
||
7453 | <summary> |
||
7454 | Looks up a localized string similar to duplicate argument '{0}' in function definition. |
||
7455 | </summary> |
||
7456 | </member> |
||
7457 | <member name="P:IronPython.Resources.DuplicateKeywordArg"> |
||
7458 | <summary> |
||
7459 | Looks up a localized string similar to duplicate keyword argument. |
||
7460 | </summary> |
||
7461 | </member> |
||
7462 | <member name="P:IronPython.Resources.EofInString"> |
||
7463 | <summary> |
||
7464 | Looks up a localized string similar to <eof> while reading string. |
||
7465 | </summary> |
||
7466 | </member> |
||
7467 | <member name="P:IronPython.Resources.EofInTripleQuotedString"> |
||
7468 | <summary> |
||
7469 | Looks up a localized string similar to EOF while scanning triple-quoted string. |
||
7470 | </summary> |
||
7471 | </member> |
||
7472 | <member name="P:IronPython.Resources.EolInSingleQuotedString"> |
||
7473 | <summary> |
||
7474 | Looks up a localized string similar to EOL while scanning single-quoted string. |
||
7475 | </summary> |
||
7476 | </member> |
||
7477 | <member name="P:IronPython.Resources.ExpectedIndentation"> |
||
7478 | <summary> |
||
7479 | Looks up a localized string similar to expected an indented block. |
||
7480 | </summary> |
||
7481 | </member> |
||
7482 | <member name="P:IronPython.Resources.ExpectedName"> |
||
7483 | <summary> |
||
7484 | Looks up a localized string similar to expected name. |
||
7485 | </summary> |
||
7486 | </member> |
||
7487 | <member name="P:IronPython.Resources.ExpectingIdentifier"> |
||
7488 | <summary> |
||
7489 | Looks up a localized string similar to Expecting identifier:. |
||
7490 | </summary> |
||
7491 | </member> |
||
7492 | <member name="P:IronPython.Resources.InconsistentWhitespace"> |
||
7493 | <summary> |
||
7494 | Looks up a localized string similar to inconsistent use of tabs and spaces in indentation. |
||
7495 | </summary> |
||
7496 | </member> |
||
7497 | <member name="P:IronPython.Resources.IndentationMismatch"> |
||
7498 | <summary> |
||
7499 | Looks up a localized string similar to unindent does not match any outer indentation level. |
||
7500 | </summary> |
||
7501 | </member> |
||
7502 | <member name="P:IronPython.Resources.InvalidArgumentValue"> |
||
7503 | <summary> |
||
7504 | Looks up a localized string similar to Invalid argument value.. |
||
7505 | </summary> |
||
7506 | </member> |
||
7507 | <member name="P:IronPython.Resources.InvalidOperation_MakeGenericOnNonGeneric"> |
||
7508 | <summary> |
||
7509 | Looks up a localized string similar to MakeGenericType on non-generic type. |
||
7510 | </summary> |
||
7511 | </member> |
||
7512 | <member name="P:IronPython.Resources.InvalidParameters"> |
||
7513 | <summary> |
||
7514 | Looks up a localized string similar to Invalid parameter collection for the function.. |
||
7515 | </summary> |
||
7516 | </member> |
||
7517 | <member name="P:IronPython.Resources.InvalidSyntax"> |
||
7518 | <summary> |
||
7519 | Looks up a localized string similar to invalid syntax. |
||
7520 | </summary> |
||
7521 | </member> |
||
7522 | <member name="P:IronPython.Resources.KeywordCreateUnavailable"> |
||
7523 | <summary> |
||
7524 | Looks up a localized string similar to object ({0}) is not creatable w/ keyword arguments. |
||
7525 | </summary> |
||
7526 | </member> |
||
7527 | <member name="P:IronPython.Resources.KeywordOutOfSequence"> |
||
7528 | <summary> |
||
7529 | Looks up a localized string similar to keywords must come before * args. |
||
7530 | </summary> |
||
7531 | </member> |
||
7532 | <member name="P:IronPython.Resources.MemberDoesNotExist"> |
||
7533 | <summary> |
||
7534 | Looks up a localized string similar to type does not have {0} field. |
||
7535 | </summary> |
||
7536 | </member> |
||
7537 | <member name="P:IronPython.Resources.MisplacedFuture"> |
||
7538 | <summary> |
||
7539 | Looks up a localized string similar to from __future__ imports must occur at the beginning of the file. |
||
7540 | </summary> |
||
7541 | </member> |
||
7542 | <member name="P:IronPython.Resources.MisplacedReturn"> |
||
7543 | <summary> |
||
7544 | Looks up a localized string similar to 'return' outside function. |
||
7545 | </summary> |
||
7546 | </member> |
||
7547 | <member name="P:IronPython.Resources.MisplacedYield"> |
||
7548 | <summary> |
||
7549 | Looks up a localized string similar to 'yield' outside function. |
||
7550 | </summary> |
||
7551 | </member> |
||
7552 | <member name="P:IronPython.Resources.NewLineInDoubleQuotedString"> |
||
7553 | <summary> |
||
7554 | Looks up a localized string similar to NEWLINE in double-quoted string. |
||
7555 | </summary> |
||
7556 | </member> |
||
7557 | <member name="P:IronPython.Resources.NewLineInSingleQuotedString"> |
||
7558 | <summary> |
||
7559 | Looks up a localized string similar to NEWLINE in single-quoted string. |
||
7560 | </summary> |
||
7561 | </member> |
||
7562 | <member name="P:IronPython.Resources.NoFutureStar"> |
||
7563 | <summary> |
||
7564 | Looks up a localized string similar to future statement does not support import *. |
||
7565 | </summary> |
||
7566 | </member> |
||
7567 | <member name="P:IronPython.Resources.NonKeywordAfterKeywordArg"> |
||
7568 | <summary> |
||
7569 | Looks up a localized string similar to non-keyword arg after keyword arg. |
||
7570 | </summary> |
||
7571 | </member> |
||
7572 | <member name="P:IronPython.Resources.NotAChance"> |
||
7573 | <summary> |
||
7574 | Looks up a localized string similar to not a chance. |
||
7575 | </summary> |
||
7576 | </member> |
||
7577 | <member name="P:IronPython.Resources.NotImplemented"> |
||
7578 | <summary> |
||
7579 | Looks up a localized string similar to The method or operation is not implemented.. |
||
7580 | </summary> |
||
7581 | </member> |
||
7582 | <member name="P:IronPython.Resources.OneKeywordArgOnly"> |
||
7583 | <summary> |
||
7584 | Looks up a localized string similar to only one ** allowed. |
||
7585 | </summary> |
||
7586 | </member> |
||
7587 | <member name="P:IronPython.Resources.OneListArgOnly"> |
||
7588 | <summary> |
||
7589 | Looks up a localized string similar to only one * allowed. |
||
7590 | </summary> |
||
7591 | </member> |
||
7592 | <member name="P:IronPython.Resources.PythonContextRequired"> |
||
7593 | <summary> |
||
7594 | Looks up a localized string similar to Context must be PythonCompilerContext. |
||
7595 | </summary> |
||
7596 | </member> |
||
7597 | <member name="P:IronPython.Resources.Slot_CantDelete"> |
||
7598 | <summary> |
||
7599 | Looks up a localized string similar to cannot delete slot. |
||
7600 | </summary> |
||
7601 | </member> |
||
7602 | <member name="P:IronPython.Resources.Slot_CantGet"> |
||
7603 | <summary> |
||
7604 | Looks up a localized string similar to cannot get slot. |
||
7605 | </summary> |
||
7606 | </member> |
||
7607 | <member name="P:IronPython.Resources.Slot_CantSet"> |
||
7608 | <summary> |
||
7609 | Looks up a localized string similar to cannot set slot. |
||
7610 | </summary> |
||
7611 | </member> |
||
7612 | <member name="P:IronPython.Resources.StaticAccessFromInstanceError"> |
||
7613 | <summary> |
||
7614 | Looks up a localized string similar to static property '{0}' of '{1}' can only be read through a type, not an instance. |
||
7615 | </summary> |
||
7616 | </member> |
||
7617 | <member name="P:IronPython.Resources.StaticAssignmentFromInstanceError"> |
||
7618 | <summary> |
||
7619 | Looks up a localized string similar to static property '{0}' of '{1}' can only be assigned to through a type, not an instance. |
||
7620 | </summary> |
||
7621 | </member> |
||
7622 | <member name="P:IronPython.Resources.TokenHasNoValue"> |
||
7623 | <summary> |
||
7624 | Looks up a localized string similar to no value for this token. |
||
7625 | </summary> |
||
7626 | </member> |
||
7627 | <member name="P:IronPython.Resources.TooManyVersions"> |
||
7628 | <summary> |
||
7629 | Looks up a localized string similar to too many versions. |
||
7630 | </summary> |
||
7631 | </member> |
||
7632 | <member name="P:IronPython.Resources.UnexpectedToken"> |
||
7633 | <summary> |
||
7634 | Looks up a localized string similar to unexpected token '{0}'. |
||
7635 | </summary> |
||
7636 | </member> |
||
7637 | <member name="P:IronPython.Resources.UnknownFutureFeature"> |
||
7638 | <summary> |
||
7639 | Looks up a localized string similar to future feature is not defined:. |
||
7640 | </summary> |
||
7641 | </member> |
||
7642 | </members> |
||
7643 | </doc> |