Dragonstone::AST::FunctionDef
Inherits Dragonstone::AST::Node < Reference < Object
Constructors
new(name : String, typed_parameters : Array(TypedParameter), body : NodeArray, rescue_clauses : RescueArray = [] of RescueClause, return_type : TypeExpression | Nil = nil, visibility : Symbol = :public, receiver : Node | Nil = nil, is_abstract : Bool = false, annotations : Array(Annotation) = [] of Annotation, location : Location | Nil = nil)
SourceInstance methods
abstract
Sourceabstract?
Sourceaccept(visitor)
Sourceannotations
Sourcebody
Sourcename
Sourceparameters
Sourcereceiver
Sourcerescue_clauses
Sourcereturn_type
Sourceto_source
Sourcetyped_parameters
Sourcevisibility
Source