Module osbot_utils.helpers.ast.nodes.Ast_Class_Def

Expand source code
from osbot_utils.helpers.ast.Ast_Node import Ast_Node

class Ast_Class_Def(Ast_Node):

    def info(self):
        #self.print()
        return {'Ast_Class_Def': {'bases': self.bases()  ,
                                  'body' : self.body()   ,
                                  'name' : self.node.name }}        # we need to use the actual node.name value here

Classes

class Ast_Class_Def (node)
Expand source code
class Ast_Class_Def(Ast_Node):

    def info(self):
        #self.print()
        return {'Ast_Class_Def': {'bases': self.bases()  ,
                                  'body' : self.body()   ,
                                  'name' : self.node.name }}        # we need to use the actual node.name value here

Ancestors

Methods

def info(self)
Expand source code
def info(self):
    #self.print()
    return {'Ast_Class_Def': {'bases': self.bases()  ,
                              'body' : self.body()   ,
                              'name' : self.node.name }}        # we need to use the actual node.name value here