Packages

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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped