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(), )
def call(self, items, meta): return D.Call(sp(self.filename, meta), items[0], None, items[1] if len(items) > 1 else dict())