class

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)
Source

Instance methods

abstract
Source
abstract?
Source
accept(visitor)
Source
annotations
Source
body
Source
name
Source
parameters
Source
receiver
Source
rescue_clauses
Source
return_type
Source
to_source
Source
typed_parameters
Source
visibility
Source