Class: Vertigo::FuncCall

Inherits:
AstNode show all
Defined in:
lib/vertigo/ast_vertigo_rkgen.rb

Instance Attribute Summary collapse

Attributes inherited from AstNode

#label, #pos

Instance Method Summary collapse

Methods inherited from AstNode

#accept, #str

Constructor Details

#initialize(name = nil, actual_args = []) ⇒ FuncCall

Returns a new instance of FuncCall.



582
583
584
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 582

def initialize name=nil,actual_args=[]
  @name,@actual_args=name,actual_args
end

Instance Attribute Details

#actual_argsObject

Returns the value of attribute actual_args.



581
582
583
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 581

def actual_args
  @actual_args
end

#nameObject

Returns the value of attribute name.



581
582
583
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 581

def name
  @name
end