class documentation

class ClassPattern(Pattern): (source)

View In Hierarchy

The pattern Cls(...)

Method __init__ Undocumented
Method accept Undocumented
Instance Variable class_ref Undocumented
Instance Variable keyword_keys Undocumented
Instance Variable keyword_values Undocumented
Instance Variable positionals Undocumented

Inherited from Pattern:

Class Variable __slots__ Undocumented

Inherited from Node (via Pattern):

Method __str__ Undocumented

Inherited from Context (via Pattern, Node):

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_column Undocumented
Instance Variable end_line Undocumented
Instance Variable line Undocumented
def __init__(self, class_ref: RefExpr, positionals: list[Pattern], keyword_keys: list[str], keyword_values: list[Pattern]): (source)

Undocumented

def accept(self, visitor: PatternVisitor[T]) -> T: (source)

Undocumented

class_ref = (source)

Undocumented

keyword_keys = (source)

Undocumented

keyword_values = (source)

Undocumented

positionals = (source)

Undocumented