Noir::CSharpDecl::Member
A member of a type. kind is :method, :constructor, :operator,
:property or :field. line is the line of its first non-attribute
token, attr_line the first line of its attribute lists, header_end
the line its signature closes on (the parameter list's )).
Constructors
new(kind : Symbol, name : String, modifiers : Array(String), attributes : Array(Noir::CSharpDecl::Attribute), return_type : String, type_params : Nil | String, params : Array(Noir::CSharpDecl::Parameter), initializer : Nil | String, initializer_args : Nil | Array(Noir::CSharpDecl::Arg), attr_line : Int32, line : Int32, header_end : Int32, end_line : Int32, header : String, body_open : Int32 | Nil, body_close : Int32 | Nil, arrow : Int32 | Nil, finish : Int32, value : Nil | String, accessors : Nil | String = nil)
SourceInstance methods
arrow
Sourceattr_line
Sourceattributes
Sourcebody_close
Sourcebody_open
Offsets into the source: the body's {..}, or the => of an
expression body (through finish).
end_line
Sourcefinish
Sourceheader
Sourceheader_end
Sourceinitializer_args
Sourcekind
Sourceline
Sourcemodifiers
Sourcename
Sourceparams
Sourcepublic?
Sourcereturn_type
Sourcestatic?
Sourcetype_params
Source