Method: Crokus::Transformer#visitFunctionProto
- Defined in:
- lib/crokus/transformer.rb
#visitFunctionProto(func, args = nil) ⇒ Object
103 104 105 106 107 108 |
# File 'lib/crokus/transformer.rb', line 103 def visitFunctionProto func,args=nil type=func.type.accept(self) name=func.name.accept(self) args=func.args.collect{|arg| arg.accept(self)} FunctionProto.new(name,type,args) end |