7988:c4c17121eff8 | 7989:a21d673a8f99 |
---|---|
195 <dd> | 195 <dd> |
196 AST literal to be converted | 196 AST literal to be converted |
197 </dd> | 197 </dd> |
198 </dl> | 198 </dl> |
199 <dl> | 199 <dl> |
200 <dt>Returns:</dt> | 200 <dt>Return:</dt> |
201 <dd> | 201 <dd> |
202 converted Python object | 202 converted Python object |
203 </dd> | 203 </dd> |
204 </dl> | 204 </dl> |
205 <dl> | 205 <dl> |
215 <p> | 215 <p> |
216 Special method to generate representation of object for printing or | 216 Special method to generate representation of object for printing or |
217 interactive use. | 217 interactive use. |
218 </p> | 218 </p> |
219 <dl> | 219 <dl> |
220 <dt>Returns:</dt> | 220 <dt>Return:</dt> |
221 <dd> | 221 <dd> |
222 string representation of the object | 222 string representation of the object |
223 </dd> | 223 </dd> |
224 </dl> | 224 </dl> |
225 <dl> | 225 <dl> |
234 | 234 |
235 <p> | 235 <p> |
236 Public method to get the value of a standalone bytes object. | 236 Public method to get the value of a standalone bytes object. |
237 </p> | 237 </p> |
238 <dl> | 238 <dl> |
239 <dt>Returns:</dt> | 239 <dt>Return:</dt> |
240 <dd> | 240 <dd> |
241 value of a standalone bytes object | 241 value of a standalone bytes object |
242 </dd> | 242 </dd> |
243 </dl> | 243 </dl> |
244 <dl> | 244 <dl> |
253 | 253 |
254 <p> | 254 <p> |
255 Public method to get a list of function args. | 255 Public method to get a list of function args. |
256 </p> | 256 </p> |
257 <dl> | 257 <dl> |
258 <dt>Returns:</dt> | 258 <dt>Return:</dt> |
259 <dd> | 259 <dd> |
260 list of function args | 260 list of function args |
261 </dd> | 261 </dd> |
262 </dl> | 262 </dl> |
263 <dl> | 263 <dl> |
272 | 272 |
273 <p> | 273 <p> |
274 Public method to get the number of args a function call has. | 274 Public method to get the number of args a function call has. |
275 </p> | 275 </p> |
276 <dl> | 276 <dl> |
277 <dt>Returns:</dt> | 277 <dt>Return:</dt> |
278 <dd> | 278 <dd> |
279 number of args a function call has | 279 number of args a function call has |
280 </dd> | 280 </dd> |
281 </dl> | 281 </dl> |
282 <dl> | 282 <dl> |
291 | 291 |
292 <p> | 292 <p> |
293 Public method to get the name (not FQ) of a function call. | 293 Public method to get the name (not FQ) of a function call. |
294 </p> | 294 </p> |
295 <dl> | 295 <dl> |
296 <dt>Returns:</dt> | 296 <dt>Return:</dt> |
297 <dd> | 297 <dd> |
298 name (not FQ) of a function call | 298 name (not FQ) of a function call |
299 </dd> | 299 </dd> |
300 </dl> | 300 </dl> |
301 <dl> | 301 <dl> |
310 | 310 |
311 <p> | 311 <p> |
312 Public method to get the FQ name of a function call. | 312 Public method to get the FQ name of a function call. |
313 </p> | 313 </p> |
314 <dl> | 314 <dl> |
315 <dt>Returns:</dt> | 315 <dt>Return:</dt> |
316 <dd> | 316 <dd> |
317 FQ name of a function call | 317 FQ name of a function call |
318 </dd> | 318 </dd> |
319 </dl> | 319 </dl> |
320 <dl> | 320 <dl> |
329 | 329 |
330 <p> | 330 <p> |
331 Public method to get a dictionary of keyword parameters. | 331 Public method to get a dictionary of keyword parameters. |
332 </p> | 332 </p> |
333 <dl> | 333 <dl> |
334 <dt>Returns:</dt> | 334 <dt>Return:</dt> |
335 <dd> | 335 <dd> |
336 dictionary of keyword parameters | 336 dictionary of keyword parameters |
337 </dd> | 337 </dd> |
338 </dl> | 338 </dl> |
339 <dl> | 339 <dl> |
360 <dd> | 360 <dd> |
361 value or list of values to test against | 361 value or list of values to test against |
362 </dd> | 362 </dd> |
363 </dl> | 363 </dl> |
364 <dl> | 364 <dl> |
365 <dt>Returns:</dt> | 365 <dt>Return:</dt> |
366 <dd> | 366 <dd> |
367 True if argument found and matched, False if found and not | 367 True if argument found and matched, False if found and not |
368 matched, None if argument not found at all | 368 matched, None if argument not found at all |
369 </dd> | 369 </dd> |
370 </dl> | 370 </dl> |
381 <p> | 381 <p> |
382 Public method to get a list of fully qualified default values in a | 382 Public method to get a list of fully qualified default values in a |
383 function def. | 383 function def. |
384 </p> | 384 </p> |
385 <dl> | 385 <dl> |
386 <dt>Returns:</dt> | 386 <dt>Return:</dt> |
387 <dd> | 387 <dd> |
388 list of fully qualified default values in a function def | 388 list of fully qualified default values in a function def |
389 </dd> | 389 </dd> |
390 </dl> | 390 </dl> |
391 <dl> | 391 <dl> |
408 <dd> | 408 <dd> |
409 index of the argument to get the value for | 409 index of the argument to get the value for |
410 </dd> | 410 </dd> |
411 </dl> | 411 </dl> |
412 <dl> | 412 <dl> |
413 <dt>Returns:</dt> | 413 <dt>Return:</dt> |
414 <dd> | 414 <dd> |
415 value of the argument at the specified position if it exists | 415 value of the argument at the specified position if it exists |
416 </dd> | 416 </dd> |
417 </dl> | 417 </dl> |
418 <dl> | 418 <dl> |
434 <dd> | 434 <dd> |
435 name of the argument to get the value for | 435 name of the argument to get the value for |
436 </dd> | 436 </dd> |
437 </dl> | 437 </dl> |
438 <dl> | 438 <dl> |
439 <dt>Returns:</dt> | 439 <dt>Return:</dt> |
440 <dd> | 440 <dd> |
441 value of the named argument | 441 value of the named argument |
442 </dd> | 442 </dd> |
443 </dl> | 443 </dl> |
444 <dl> | 444 <dl> |
460 <dd> | 460 <dd> |
461 name of the argument to get the line number for | 461 name of the argument to get the line number for |
462 </dd> | 462 </dd> |
463 </dl> | 463 </dl> |
464 <dl> | 464 <dl> |
465 <dt>Returns:</dt> | 465 <dt>Return:</dt> |
466 <dd> | 466 <dd> |
467 line number of the found argument or -1 | 467 line number of the found argument or -1 |
468 </dd> | 468 </dd> |
469 </dl> | 469 </dl> |
470 <dl> | 470 <dl> |
486 <dd> | 486 <dd> |
487 name of the argument to get the line number for | 487 name of the argument to get the line number for |
488 </dd> | 488 </dd> |
489 </dl> | 489 </dl> |
490 <dl> | 490 <dl> |
491 <dt>Returns:</dt> | 491 <dt>Return:</dt> |
492 <dd> | 492 <dd> |
493 offset of the found argument or -1 | 493 offset of the found argument or -1 |
494 </dd> | 494 </dd> |
495 </dl> | 495 </dl> |
496 <dl> | 496 <dl> |
513 <dd> | 513 <dd> |
514 module name to look for | 514 module name to look for |
515 </dd> | 515 </dd> |
516 </dl> | 516 </dl> |
517 <dl> | 517 <dl> |
518 <dt>Returns:</dt> | 518 <dt>Return:</dt> |
519 <dd> | 519 <dd> |
520 flag indicating the given module was found | 520 flag indicating the given module was found |
521 </dd> | 521 </dd> |
522 </dl> | 522 </dl> |
523 <dl> | 523 <dl> |
540 <dd> | 540 <dd> |
541 module name to look for | 541 module name to look for |
542 </dd> | 542 </dd> |
543 </dl> | 543 </dl> |
544 <dl> | 544 <dl> |
545 <dt>Returns:</dt> | 545 <dt>Return:</dt> |
546 <dd> | 546 <dd> |
547 flag indicating the given module was found | 547 flag indicating the given module was found |
548 </dd> | 548 </dd> |
549 </dl> | 549 </dl> |
550 <dl> | 550 <dl> |
567 <dd> | 567 <dd> |
568 module name to look for | 568 module name to look for |
569 </dd> | 569 </dd> |
570 </dl> | 570 </dl> |
571 <dl> | 571 <dl> |
572 <dt>Returns:</dt> | 572 <dt>Return:</dt> |
573 <dd> | 573 <dd> |
574 flag indicating the given module was found | 574 flag indicating the given module was found |
575 </dd> | 575 </dd> |
576 </dl> | 576 </dl> |
577 <dl> | 577 <dl> |
586 | 586 |
587 <p> | 587 <p> |
588 Public method to get the raw AST node associated with the context. | 588 Public method to get the raw AST node associated with the context. |
589 </p> | 589 </p> |
590 <dl> | 590 <dl> |
591 <dt>Returns:</dt> | 591 <dt>Return:</dt> |
592 <dd> | 592 <dd> |
593 raw AST node associated with the context | 593 raw AST node associated with the context |
594 </dd> | 594 </dd> |
595 </dl> | 595 </dl> |
596 <dl> | 596 <dl> |
605 | 605 |
606 <p> | 606 <p> |
607 Public method to get the raw AST for the current statement. | 607 Public method to get the raw AST for the current statement. |
608 </p> | 608 </p> |
609 <dl> | 609 <dl> |
610 <dt>Returns:</dt> | 610 <dt>Return:</dt> |
611 <dd> | 611 <dd> |
612 raw AST for the current statement | 612 raw AST for the current statement |
613 </dd> | 613 </dd> |
614 </dl> | 614 </dl> |
615 <dl> | 615 <dl> |
624 | 624 |
625 <p> | 625 <p> |
626 Public method to get the value of a standalone string object. | 626 Public method to get the value of a standalone string object. |
627 </p> | 627 </p> |
628 <dl> | 628 <dl> |
629 <dt>Returns:</dt> | 629 <dt>Return:</dt> |
630 <dd> | 630 <dd> |
631 value of a standalone string object | 631 value of a standalone string object |
632 </dd> | 632 </dd> |
633 </dl> | 633 </dl> |
634 <dl> | 634 <dl> |
651 <p> | 651 <p> |
652 This function should be used when looking for a known sequence in a | 652 This function should be used when looking for a known sequence in a |
653 potentially badly encoded string in the code. | 653 potentially badly encoded string in the code. |
654 </p> | 654 </p> |
655 <dl> | 655 <dl> |
656 <dt>Returns:</dt> | 656 <dt>Return:</dt> |
657 <dd> | 657 <dd> |
658 sequence of printable ascii bytes representing original string | 658 sequence of printable ascii bytes representing original string |
659 </dd> | 659 </dd> |
660 </dl> | 660 </dl> |
661 <dl> | 661 <dl> |