pythonparse

Statements

class Statements extends AnyRef

Python's statement grammar. This can only be used in statement-blocks, and is sensitive to newlines and indentation to determine nesting

Manually transcribed from https://docs.python.org/2/reference/grammar.html

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Statements
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Statements(indent: Int)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val ENDMARKER: fastparse.noApi.P0

  7. val NEWLINE: fastparse.noApi.P0

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. val assert_stmt: fastparse.noApi.P[Assert]

  10. val augassign: fastparse.noApi.P[operator]

  11. val break_stmt: Parser[Break.type]

  12. val classdef: fastparse.noApi.P[(Seq[expr]) ⇒ ClassDef]

  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def collapse_dotted_name(name: Seq[identifier]): expr

  15. val compound_stmt: fastparse.noApi.P[stmt]

  16. val continue_stmt: Parser[Continue.type]

  17. val decorated: fastparse.noApi.P[stmt]

  18. val decorator: fastparse.noApi.P[expr]

  19. val decorators: fastparse.noApi.Parser[Seq[expr]]

  20. val del_stmt: Parser[Delete]

  21. val dotted_as_name: fastparse.noApi.P[alias]

  22. val dotted_as_names: fastparse.noApi.Parser[Seq[alias]]

  23. val dotted_name: fastparse.noApi.Parser[Seq[identifier]]

  24. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  26. val eval_input: fastparse.noApi.P[expr]

  27. val except_clause: fastparse.noApi.Parser[Option[(expr, Option[expr])]]

  28. val exec_stmt: fastparse.noApi.P[Exec]

  29. val expr_stmt: fastparse.noApi.P[stmt]

  30. val file_input: fastparse.noApi.P[Seq[stmt]]

  31. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  32. val flow_stmt: fastparse.noApi.P[stmt]

  33. val for_stmt: fastparse.noApi.P[For]

  34. val funcdef: fastparse.noApi.P[(Seq[expr]) ⇒ FunctionDef]

  35. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  36. val global_stmt: fastparse.noApi.P[Global]

  37. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  38. val if_stmt: fastparse.noApi.P[If]

  39. val import_as_name: fastparse.noApi.P[alias]

  40. val import_as_names: fastparse.noApi.Parser[Seq[alias]]

  41. val import_from: fastparse.noApi.P[ImportFrom]

  42. val import_name: fastparse.noApi.P[Import]

  43. val import_stmt: fastparse.noApi.P[stmt]

  44. val indents: fastparse.noApi.Parser[Unit]

  45. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  46. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  47. final def notify(): Unit

    Definition Classes
    AnyRef
  48. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  49. val parameters: fastparse.noApi.P[arguments]

  50. val pass_stmt: Parser[Pass.type]

  51. val print_stmt: fastparse.noApi.P[Print]

  52. val raise_stmt: fastparse.noApi.P[Raise]

  53. val return_stmt: Parser[Return]

  54. val simple_stmt: fastparse.noApi.P[Seq[stmt]]

  55. val single_input: fastparse.noApi.P[Seq[stmt]]

  56. val small_stmt: fastparse.noApi.P[stmt]

  57. val space: fastparse.noApi.Parser[Unit]

  58. val space_indents: fastparse.noApi.Parser[Unit]

  59. val spaces: fastparse.noApi.Parser[Unit]

  60. val stmt: fastparse.noApi.P[Seq[stmt]]

  61. val suite: fastparse.noApi.P[Seq[stmt]]

  62. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  63. def toString(): String

    Definition Classes
    AnyRef → Any
  64. val try_stmt: fastparse.noApi.P[stmt]

  65. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  66. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. val while_stmt: Parser[While]

  69. val with_item: fastparse.noApi.P[(expr, Option[expr])]

  70. val with_stmt: fastparse.noApi.P[With]

  71. val yield_stmt: Parser[Expr]

Inherited from AnyRef

Inherited from Any

Ungrouped