#include namespace DB { bool IParserBase::parse(Pos & pos, ASTPtr & node, Expected & expected) { expected.add(pos, getName()); return wrapParseImpl(pos, IncreaseDepthTag{}, [&] { bool res = parseImpl(pos, node, expected); if (!res) node = nullptr; return res; }); } }