def p_expr__member_method_call_lookup(self, p): "aexpr : aexpr '[' exprs ']'" p[0] = ast.MemberMethodCallExprAST(self, p[1], "lookup", p[3])
def p_expr__member_method_call(self, p): "aexpr : aexpr DOT ident '(' exprs ')'" p[0] = ast.MemberMethodCallExprAST(self, p[1], p[3], p[5])