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[$]): fastparse.P0
- def NEWLINE[$](implicit arg0: P[$]): fastparse.P0
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def assert_stmt[$](implicit arg0: P[$]): P[Assert]
- def augassign[$](implicit arg0: P[$]): P[operator]
- def break_stmt[$](implicit arg0: P[$]): P[Break.type]
- def classdef[$](implicit arg0: P[$]): P[(Seq[expr]) ⇒ ClassDef]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def collapse_dotted_name(name: Seq[identifier]): expr
- def compound_stmt[$](implicit arg0: P[$]): P[stmt]
- def continue_stmt[$](implicit arg0: P[$]): P[Continue.type]
- def decorated[$](implicit arg0: P[$]): P[stmt]
- def decorator[$](implicit arg0: P[$]): P[expr]
- def decorators[$](implicit arg0: P[$]): P[Seq[expr]]
- def del_stmt[$](implicit arg0: P[$]): P[Delete]
- def dotted_as_name[$](implicit arg0: P[$]): P[alias]
- def dotted_as_names[$](implicit arg0: P[$]): P[Seq[alias]]
- def dotted_name[$](implicit arg0: P[$]): 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[$]): P[expr]
- def except_clause[$](implicit arg0: P[$]): P[Option[(expr, Option[expr])]]
- def exec_stmt[$](implicit arg0: P[$]): P[Exec]
- def expr_stmt[$](implicit arg0: P[$]): P[stmt]
- def file_input[$](implicit arg0: P[$]): P[Seq[stmt]]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def flow_stmt[$](implicit arg0: P[$]): P[stmt]
- def for_stmt[$](implicit arg0: P[$]): P[For]
- def funcdef[$](implicit arg0: P[$]): P[(Seq[expr]) ⇒ FunctionDef]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def global_stmt[$](implicit arg0: P[$]): P[Global]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def if_stmt[$](implicit arg0: P[$]): P[If]
- def import_as_name[$](implicit arg0: P[$]): P[alias]
- def import_as_names[$](implicit arg0: P[$]): P[Seq[alias]]
- def import_from[$](implicit arg0: P[$]): P[ImportFrom]
- def import_name[$](implicit arg0: P[$]): P[Import]
- def import_stmt[$](implicit arg0: P[$]): P[stmt]
- def indents[$](implicit arg0: P[$]): 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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parameters[$](implicit arg0: P[$]): P[arguments]
- def pass_stmt[$](implicit arg0: P[$]): P[Pass.type]
- def print_stmt[$](implicit arg0: P[$]): P[Print]
- def raise_stmt[$](implicit arg0: P[$]): P[Raise]
- def return_stmt[$](implicit arg0: P[$]): P[Return]
- def simple_stmt[$](implicit arg0: P[$]): P[Seq[stmt]]
- def single_input[$](implicit arg0: P[$]): P[Seq[stmt]]
- def small_stmt[$](implicit arg0: P[$]): P[stmt]
- def space[$](implicit arg0: P[$]): P[Unit]
- def space_indents[$](implicit arg0: P[$]): P[Unit]
- def spaces[$](implicit arg0: P[$]): P[Unit]
- def stmt[$](implicit arg0: P[$]): P[Seq[stmt]]
- def suite[$](implicit arg0: P[$]): 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[$]): P[stmt]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def while_stmt[$](implicit arg0: P[$]): P[While]
- def with_item[$](implicit arg0: P[$]): P[(expr, Option[expr])]
- def with_stmt[$](implicit arg0: P[$]): P[With]
- def yield_stmt[$](implicit arg0: P[$]): P[Expr]
- implicit object whitespace extends Whitespace