class documentation

class Statement(Node): (source)

Known subclasses: mypy.nodes.AssertStmt, mypy.nodes.AssignmentStmt, mypy.nodes.Block, mypy.nodes.BreakStmt, mypy.nodes.ClassDef, mypy.nodes.ContinueStmt, mypy.nodes.Decorator, mypy.nodes.DelStmt, mypy.nodes.ExecStmt, mypy.nodes.ExpressionStmt, mypy.nodes.ForStmt, mypy.nodes.FuncDef, mypy.nodes.GlobalDecl, mypy.nodes.IfStmt, mypy.nodes.ImportBase, mypy.nodes.NonlocalDecl, mypy.nodes.OperatorAssignmentStmt, mypy.nodes.OverloadedFuncDef, mypy.nodes.PassStmt, mypy.nodes.PrintStmt, mypy.nodes.RaiseStmt, mypy.nodes.ReturnStmt, mypy.nodes.TryStmt, mypy.nodes.WhileStmt, mypy.nodes.WithStmt

View In Hierarchy

A statement node.
Method accept Undocumented
Class Variable __slots__ Undocumented

Inherited from Node:

Method __str__ Undocumented

Inherited from Context (via Node):

Method __init__ Undocumented
Method get​_column Don't use. Use x.column.
Method get​_line Don't use. Use x.line.
Method set​_line If target is a node, pull line (and column) information into this node. If column is specified, this will override any column information coming from a node.
Instance Variable column Undocumented
Instance Variable end​_line Undocumented
Instance Variable line Undocumented