Skip to content

createMethodSymbol

Creates a method symbol in a class. Validates that the current scope is a member scope.

import { createMethodSymbol } from "@alloy-js/python";
function createMethodSymbol(name: string | Namekey, options?: {
refkeys?: any;
}): PythonOutputSymbol;
namestring | Namekey
optionsoptional { refkeys?: any; }
PythonOutputSymbol