INNER CODE UNIT · Python
Class
OverShifted/OverEngine · utils/wren_doc_gen.py:33
class Class:
def __init__(self, name, is_foreign, docs=""):
self.name = name
self.is_foreign = is_foreign
self.static_methods = []
self.methods = []
self.docs = docs
self.last_item = None
def add_method(self, method):
self.methods.append(method)
self.last_item = method
def add_static_method(self, static):
self.static_methods.append(static)
self.last_item = static
class Module: