def p_block(self, p): """block : LBRACE source_elements RBRACE""" p[0] = ast.Block(p[2], lineno=p.lineno(2))
def p_block(self, p): """block : LBRACE source_elements RBRACE""" p[0] = ast.Block(p[2])