Class: Vertigo::ProcedureCall

Inherits:
AstNode
  • Object
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 = []) ⇒ ProcedureCall

Returns a new instance of ProcedureCall.



113
114
115
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 113

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.



112
113
114
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 112

def actual_args
  @actual_args
end

#nameObject

Returns the value of attribute name.



112
113
114
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 112

def name
  @name
end