class

Dragonstone::MethodDefinition

Inherits Reference < Object

Constructors

new(name : String, typed_parameters : Array(AST::TypedParameter), body : Array(AST::Node), closure : Scope, type_closure : TypeScope, owner : DragonModule, rescue_clauses : Array(AST::RescueClause) = [] of AST::RescueClause, return_type : AST::TypeExpression | Nil = nil, visibility : Symbol = :public, is_abstract : Bool = false, gc_flags : Dragonstone::Runtime::GC::Flags = ::Dragonstone::Runtime::GC::Flags.new)
Source

Instance methods

abstract?
Source
body
Source
closure
Source
dup_with_owner(new_owner : DragonModule) : MethodDefinition
Source
gc_flags
Source
name
Source
owner
Source
parameters
Source
rescue_clauses
Source
return_type
Source
type_closure
Source
typed_parameters
Source
visibility
Source