class Crokus::Function

Attributes

args[RW]
body[RW]
cfg[RW]
name[RW]
type[RW]

Public Class Methods

new(name,ret_type,args=[],body=nil) click to toggle source
# File lib/crokus/ast.rb, line 137
def initialize name,ret_type,args=[],body=nil
  @name,@type=name,ret_type
  @args=args
  @body=body if body
end