stmt

pythonparse.Ast$.stmt$
See thestmt companion trait
object stmt

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
stmt.type

Members list

Concise view

Type members

Classlikes

case class Assert(test: expr, msg: Option[expr]) extends stmt

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
case class Assign(targets: Seq[expr], value: expr) extends stmt

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
case class AugAssign(target: expr, op: operator, value: expr) extends stmt

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
case object Break extends stmt

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
Self type
Break.type
case class ClassDef(name: identifier, bases: Seq[expr], body: Seq[stmt], decorator_list: Seq[expr]) extends stmt

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
case object Continue extends stmt

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
Self type
case class Delete(targets: Seq[expr]) extends stmt

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
case class Exec(body: expr, globals: Option[expr], locals: Option[expr]) extends stmt

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
case class Expr(value: expr) extends stmt

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
case class For(target: expr, iter: expr, body: Seq[stmt], orelse: Seq[stmt]) extends stmt

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
case class FunctionDef(name: identifier, args: arguments, body: Seq[stmt], decorator_list: Seq[expr]) extends stmt

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
case class Global(names: Seq[identifier]) extends stmt

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
case class If(test: expr, body: Seq[stmt], orelse: Seq[stmt]) extends stmt

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
case class Import(names: Seq[alias]) extends stmt

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
case class ImportFrom(module: Option[identifier], names: Seq[alias], level: Option[int]) extends stmt

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
case object Pass extends stmt

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
Self type
Pass.type
case class Print(dest: Option[expr], values: Seq[expr], nl: bool) extends stmt

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
case class Raise(`type`: Option[expr], inst: Option[expr], tback: Option[expr]) extends stmt

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
case class Return(value: Option[expr]) extends stmt

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
case class TryExcept(body: Seq[stmt], handlers: Seq[excepthandler], orelse: Seq[stmt]) extends stmt

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
case class TryFinally(body: Seq[stmt], finalbody: Seq[stmt]) extends stmt

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
case class While(test: expr, body: Seq[stmt], orelse: Seq[stmt]) extends stmt

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
case class With(context_expr: expr, optional_vars: Option[expr], body: Seq[stmt]) extends stmt

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait stmt
class Object
trait Matchable
class Any
case class attributes(lineno: Int, col_offset: Int)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror