Class: Taoism::Nodes::FunDef

Inherits:
Struct
  • Object
show all
Defined in:
lib/taoism/nodes.rb

Overview

── Function ──

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



18
19
20
# File 'lib/taoism/nodes.rb', line 18

def body
  @body
end

#endObject

Returns the value of attribute end

Returns:

  • (Object)

    the current value of end



18
19
20
# File 'lib/taoism/nodes.rb', line 18

def end
  @end
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



18
19
20
# File 'lib/taoism/nodes.rb', line 18

def name
  @name
end

#paramsObject

Returns the value of attribute params

Returns:

  • (Object)

    the current value of params



18
19
20
# File 'lib/taoism/nodes.rb', line 18

def params
  @params
end

#receiverObject

Returns the value of attribute receiver

Returns:

  • (Object)

    the current value of receiver



18
19
20
# File 'lib/taoism/nodes.rb', line 18

def receiver
  @receiver
end

#startObject

Returns the value of attribute start

Returns:

  • (Object)

    the current value of start



18
19
20
# File 'lib/taoism/nodes.rb', line 18

def start
  @start
end