Method: Stark::Parser::AST::Function#initialize

Defined in:
lib/stark/raw_parser.rb

#initialize(name, return_type, arguments, throws, options) ⇒ Function

Returns a new instance of Function.



434
435
436
437
438
439
440
# File 'lib/stark/raw_parser.rb', line 434

def initialize(name, return_type, arguments, throws, options)
  @name = name
  @return_type = return_type
  @arguments = arguments
  @throws = throws
  @options = options
end