- Declared in:
- LKMethod.h
- Declared in:
- LKMethod.h
A freestanding method is a method that is not attached to any class. It is used in REPL mode, and might be useful for better support for prototypes.
- Declared in:
- LKMethod.h
- Declared in:
- LKMethod.h
AST node representing a method.
Return a new Method with the specified signature, locals and statements.
Initialise a new Method with the specified signature, locals and statements.
Set the method signature for this method.