class documentation

class Expression(Node): (source)

Known subclasses: mypy.nodes.AssignmentExpr, mypy.nodes.AwaitExpr, mypy.nodes.BackquoteExpr, mypy.nodes.BytesExpr, mypy.nodes.CallExpr, mypy.nodes.CastExpr, mypy.nodes.ComparisonExpr, mypy.nodes.ComplexExpr, mypy.nodes.ConditionalExpr, mypy.nodes.DictExpr, mypy.nodes.DictionaryComprehension, mypy.nodes.EllipsisExpr, mypy.nodes.EnumCallExpr, mypy.nodes.FakeExpression, mypy.nodes.FloatExpr, mypy.nodes.GeneratorExpr, mypy.nodes.IndexExpr, mypy.nodes.IntExpr, mypy.nodes.LambdaExpr, mypy.nodes.ListComprehension, mypy.nodes.ListExpr, mypy.nodes.NamedTupleExpr, mypy.nodes.NewTypeExpr, mypy.nodes.OpExpr, mypy.nodes.PromoteExpr, mypy.nodes.RefExpr, mypy.nodes.RevealExpr, mypy.nodes.SetComprehension, mypy.nodes.SetExpr, mypy.nodes.SliceExpr, mypy.nodes.StarExpr, mypy.nodes.StrExpr, mypy.nodes.SuperExpr, mypy.nodes.TempNode, mypy.nodes.TupleExpr, mypy.nodes.TypeAliasExpr, mypy.nodes.TypeApplication, mypy.nodes.TypedDictExpr, mypy.nodes.TypeVarLikeExpr, mypy.nodes.UnaryExpr, mypy.nodes.UnicodeExpr, mypy.nodes.YieldExpr, mypy.nodes.YieldFromExpr

View In Hierarchy

An expression 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