INNER CODE UNIT · Python

__init__

OverShifted/OverEngine · utils/wren_doc_gen.py:12

	def __init__(self, name, is_foreign, is_static, rhs, docs=""):
		self.name = name
		self.is_foreign = is_foreign
		self.is_static = is_static
		self.rhs = rhs
		self.docs = docs

	def __repr__(self) -> str:
		return f"{self.name} {self.is_foreign} {self.is_static}"

class SimpleMethod:
	def __init__(self, name, is_foreign, is_static, args, docs=""):
		self.name = name
		self.is_foreign = is_foreign
		self.is_static = is_static
		self.args = args
		self.docs = docs

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…