Class: Wood::Nodes::Function::Call

Inherits:
Node
  • Object
show all
Defined in:
lib/wood/nodes/function.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#functionObject

Returns the value of attribute function.



32
33
34
# File 'lib/wood/nodes/function.rb', line 32

def function
  @function
end

Instance Method Details

#setupObject



34
35
36
# File 'lib/wood/nodes/function.rb', line 34

def setup
  @args = args || []
end

#typeObject



38
39
40
41
42
# File 'lib/wood/nodes/function.rb', line 38

def type
  if @function
    @function.type
  end
end