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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Statements(indent: Int)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val ENDMARKER: fastparse.noApi.P0
  5. val NEWLINE: fastparse.noApi.P0
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val assert_stmt: fastparse.noApi.P[Assert]
  8. val augassign: fastparse.noApi.P[operator]
  9. val break_stmt: Parser[Break.type, Char, String]
  10. val classdef: fastparse.noApi.P[(Seq[expr]) ⇒ ClassDef]
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def collapse_dotted_name(name: Seq[identifier]): expr
  13. val compound_stmt: fastparse.noApi.P[stmt]
  14. val continue_stmt: Parser[Continue.type, Char, String]
  15. val decorated: fastparse.noApi.P[stmt]
  16. val decorator: fastparse.noApi.P[expr]
  17. val decorators: fastparse.noApi.Parser[Seq[expr]]
  18. val del_stmt: Parser[Delete, Char, String]
  19. val dotted_as_name: fastparse.noApi.P[alias]
  20. val dotted_as_names: fastparse.noApi.Parser[Seq[alias]]
  21. val dotted_name: fastparse.noApi.Parser[Seq[identifier]]
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  24. val eval_input: fastparse.noApi.P[expr]
  25. val except_clause: fastparse.noApi.Parser[Option[(expr, Option[expr])]]
  26. val exec_stmt: fastparse.noApi.P[Exec]
  27. val expr_stmt: fastparse.noApi.P[stmt]
  28. val file_input: fastparse.noApi.P[Seq[stmt]]
  29. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  30. val flow_stmt: fastparse.noApi.P[stmt]
  31. val for_stmt: fastparse.noApi.P[For]
  32. val funcdef: fastparse.noApi.P[(Seq[expr]) ⇒ FunctionDef]
  33. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  34. val global_stmt: fastparse.noApi.P[Global]
  35. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  36. val if_stmt: fastparse.noApi.P[If]
  37. val import_as_name: fastparse.noApi.P[alias]
  38. val import_as_names: fastparse.noApi.Parser[Seq[alias]]
  39. val import_from: fastparse.noApi.P[ImportFrom]
  40. val import_name: fastparse.noApi.P[Import]
  41. val import_stmt: fastparse.noApi.P[stmt]
  42. val indents: fastparse.noApi.Parser[Unit]
  43. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  44. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  45. final def notify(): Unit
    Definition Classes
    AnyRef
  46. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  47. val parameters: fastparse.noApi.P[arguments]
  48. val pass_stmt: Parser[Pass.type, Char, String]
  49. val print_stmt: fastparse.noApi.P[Print]
  50. val raise_stmt: fastparse.noApi.P[Raise]
  51. val return_stmt: Parser[Return, Char, String]
  52. val simple_stmt: fastparse.noApi.P[Seq[stmt]]
  53. val single_input: fastparse.noApi.P[Seq[stmt]]
  54. val small_stmt: fastparse.noApi.P[stmt]
  55. val space: fastparse.noApi.Parser[Unit]
  56. val space_indents: fastparse.noApi.Parser[Unit]
  57. val spaces: fastparse.noApi.Parser[Unit]
  58. val stmt: fastparse.noApi.P[Seq[stmt]]
  59. val suite: fastparse.noApi.P[Seq[stmt]]
  60. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  61. def toString(): String
    Definition Classes
    AnyRef → Any
  62. val try_stmt: fastparse.noApi.P[stmt]
  63. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  64. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  66. val while_stmt: Parser[While, Char, String]
  67. val with_item: fastparse.noApi.P[(expr, Option[expr])]
  68. val with_stmt: fastparse.noApi.P[With]
  69. val yield_stmt: Parser[Expr, Char, String]

Inherited from AnyRef

Inherited from Any

Ungrouped