class documentation

class CallableArgument(ProperType): (source)

View In Hierarchy

Represents a Arg(type, 'name') inside a Callable's type list.

Note that this is a synthetic type for helping parse ASTs, not a real type.

Method __init__ Undocumented
Method accept Undocumented
Method serialize Undocumented
Class Variable __slots__ Undocumented
Instance Variable constructor Undocumented
Instance Variable name Undocumented
Instance Variable typ Undocumented

Inherited from Type (via ProperType):

Class Method deserialize Undocumented
Method __repr__ Undocumented
Method can​_be​_false​_default Undocumented
Method can​_be​_true​_default Undocumented
Instance Variable can​_be​_false Undocumented
Instance Variable can​_be​_true Undocumented

Inherited from Context (via ProperType, Type):

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
def __init__(self, typ, name, constructor, line=-1, column=-1): (source)

Undocumented

Parameters
typ:TypeUndocumented
name:Optional[str]Undocumented
constructor:Optional[str]Undocumented
line:intUndocumented
column:intUndocumented
def accept(self, visitor): (source)

Undocumented

Parameters
visitor:TypeVisitor[T]Undocumented
Returns
TUndocumented
def serialize(self): (source)

Undocumented

Returns
JsonDictUndocumented
__slots__: tuple[str, ...] = (source)

Undocumented

constructor = (source)

Undocumented

name = (source)

Undocumented

Undocumented