class documentation

Undocumented

Method __init__ Undocumented
Method add Undocumented
Method docstring_from If node is a docstring, return its content.
Method gws_decorator Undocumented
Method inner_doc Returns a normal docstring (first child of the node).
Method nodes Undocumented
Method outer_doc Returns a docstring which immediately follows this node in a list of nodes.
Method parse_assign Parse a module level assignment, possibly a type alias or a constant.
Method parse_class Undocumented
Method parse_const_value Undocumented
Method parse_enum Undocumented
Method parse_ext_declaration Undocumented
Method parse_literal_value Undocumented
Method parse_method Undocumented
Method parse_property Undocumented
Method prepare_imports Undocumented
Method qname Undocumented
Method qualified Undocumented
Method run Undocumented
Method type_from_name Undocumented
Method type_from_node Undocumented
Class Variable docs Undocumented
Class Variable lines Undocumented
Instance Variable context Undocumented
Instance Variable gen Undocumented
Instance Variable imports Undocumented
Instance Variable is_init Undocumented
Instance Variable module_name Undocumented
Instance Variable module_node Undocumented
Instance Variable module_path Undocumented
Instance Variable parse_all Undocumented
Instance Variable source_lines Undocumented
Instance Variable text Undocumented
Instance Variable tModule Undocumented
Property pos Undocumented
def __init__(self, gen: base.Generator, module_name: str, path: str, text: str, parse_all: bool): (source)

Undocumented

def add(self, c: str, **kwargs) -> base.Type: (source)

Undocumented

def docstring_from(self, node): (source)

If node is a docstring, return its content.

def gws_decorator(self, node, kind): (source)

Undocumented

def inner_doc(self, node): (source)

Returns a normal docstring (first child of the node).

def nodes(self, where, *cls): (source)

Undocumented

def outer_doc(self, node, nodes): (source)

Returns a docstring which immediately follows this node in a list of nodes.

def parse_assign(self, node, doc, annotated): (source)

Parse a module level assignment, possibly a type alias or a constant.

def parse_class(self, node): (source)

Undocumented

def parse_const_value(self, node): (source)

Undocumented

def parse_enum(self, node): (source)

Undocumented

def parse_ext_declaration(self, node): (source)

Undocumented

def parse_literal_value(self, node): (source)

Undocumented

def parse_method(self, owner_typ: base.Type, node): (source)

Undocumented

def parse_property(self, owner_typ: base.Type, node, doc: str, annotated: bool): (source)

Undocumented

def prepare_imports(self): (source)

Undocumented

def qname(self, node): (source)

Undocumented

def qualified(self, name): (source)

Undocumented

def run(self): (source)

Undocumented

def type_from_name(self, name: str, param=None) -> base.Type: (source)

Undocumented

def type_from_node(self, node) -> base.Type: (source)

Undocumented

docs: dict[int, str] = (source)

Undocumented

lines: list[str] = (source)

Undocumented

context: list = (source)

Undocumented

Undocumented

imports: dict[str, str] = (source)

Undocumented

Undocumented

module_name: str = (source)

Undocumented

module_node: ast.Module = (source)

Undocumented

module_path = (source)

Undocumented

parse_all = (source)

Undocumented

source_lines = (source)

Undocumented

Undocumented

Undocumented

@property
pos = (source)

Undocumented