示例#1
0
 def call_as(self, items, meta):
     return D.Call(
         sp(self.filename, meta),
         items[0],
         items[1].value,
         items[2] if len(items) > 2 else dict(),
     )
示例#2
0
 def call(self, items, meta):
     return D.Call(sp(self.filename, meta), items[0], None,
                   items[1] if len(items) > 1 else dict())