Example #1
0
File: syntax.py Project: jwilk/jtc
 def __init__(self, name, return_type, arguments, code, position):
     self.type = type.function_type(return_type, [arg.type for arg in arguments])
     code = block_statement([argv(arguments), code])
     variable.__init__(self, self.type, name, code, position)