Skip to content

feat: support Python class #14

Description

@toaction

In Python, a class is declared as follows:

class Person:

    def __init__(self, name, age):
        self.name = name
        self.age = age

    def greet(self):
        print(f"hello,my name is {self.name}, {self.age} years old.")

person1 = Person("Micro", 25)
person1.greet()

How to use llgo to extract class symbol information and convert it into structures and methods ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions