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
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Statements
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Statements(indent: Int)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def ENDMARKER[_](implicit arg0: P[Any]): P0
- def NEWLINE[_](implicit arg0: P[Any]): P0
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def assert_stmt[_](implicit arg0: P[Any]): P[Assert]
- def augassign[_](implicit arg0: P[Any]): P[operator]
- def break_stmt[_](implicit arg0: P[Any]): P[Break.type]
- def classdef[_](implicit arg0: P[Any]): P[(Seq[expr]) ⇒ ClassDef]
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws(classOf[java.lang.CloneNotSupportedException])
- def collapse_dotted_name(name: Seq[identifier]): expr
- def compound_stmt[_](implicit arg0: P[Any]): P[stmt]
- def continue_stmt[_](implicit arg0: P[Any]): P[Continue.type]
- def decorated[_](implicit arg0: P[Any]): P[stmt]
- def decorator[_](implicit arg0: P[Any]): P[expr]
- def decorators[_](implicit arg0: P[Any]): P[Seq[expr]]
- def del_stmt[_](implicit arg0: P[Any]): P[Delete]
- def dotted_as_name[_](implicit arg0: P[Any]): P[alias]
- def dotted_as_names[_](implicit arg0: P[Any]): P[Seq[alias]]
- def dotted_name[_](implicit arg0: P[Any]): P[Seq[identifier]]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def eval_input[_](implicit arg0: P[Any]): P[expr]
- def except_clause[_](implicit arg0: P[Any]): P[Option[(expr, Option[expr])]]
- def exec_stmt[_](implicit arg0: P[Any]): P[Exec]
- def expr_stmt[_](implicit arg0: P[Any]): P[stmt]
- def file_input[_](implicit arg0: P[Any]): P[Seq[stmt]]
- def flow_stmt[_](implicit arg0: P[Any]): P[stmt]
- def for_stmt[_](implicit arg0: P[Any]): P[For]
- def funcdef[_](implicit arg0: P[Any]): P[(Seq[expr]) ⇒ FunctionDef]
- final def getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def global_stmt[_](implicit arg0: P[Any]): P[Global]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def if_stmt[_](implicit arg0: P[Any]): P[If]
- def import_as_name[_](implicit arg0: P[Any]): P[alias]
- def import_as_names[_](implicit arg0: P[Any]): P[Seq[alias]]
- def import_from[_](implicit arg0: P[Any]): P[ImportFrom]
- def import_name[_](implicit arg0: P[Any]): P[Import]
- def import_stmt[_](implicit arg0: P[Any]): P[stmt]
- def indents[_](implicit arg0: P[Any]): P[Unit]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def parameters[_](implicit arg0: P[Any]): P[arguments]
- def pass_stmt[_](implicit arg0: P[Any]): P[Pass.type]
- def print_stmt[_](implicit arg0: P[Any]): P[Print]
- def raise_stmt[_](implicit arg0: P[Any]): P[Raise]
- def return_stmt[_](implicit arg0: P[Any]): P[Return]
- def simple_stmt[_](implicit arg0: P[Any]): P[Seq[stmt]]
- def single_input[_](implicit arg0: P[Any]): P[Seq[stmt]]
- def small_stmt[_](implicit arg0: P[Any]): P[stmt]
- def space[_](implicit arg0: P[Any]): P[Unit]
- def space_indents[_](implicit arg0: P[Any]): P[Unit]
- def spaces[_](implicit arg0: P[Any]): P[Unit]
- def stmt[_](implicit arg0: P[Any]): P[Seq[stmt]]
- def suite[_](implicit arg0: P[Any]): P[Seq[stmt]]
- final def synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def try_stmt[_](implicit arg0: P[Any]): P[stmt]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def while_stmt[_](implicit arg0: P[Any]): P[While]
- implicit def whitespace(cfg: P[_]): P[Unit]
- def with_item[_](implicit arg0: P[Any]): P[(expr, Option[expr])]
- def with_stmt[_](implicit arg0: P[Any]): P[With]
- def yield_stmt[_](implicit arg0: P[Any]): P[Expr]