This commit is contained in:
Yakov Olkhovskiy 2024-09-14 16:46:48 +00:00
parent 56cfa74a14
commit 6f63a7b213
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ public:
return nullptr;
}
bool isIdentifier() const override { return argument->as<IdentifierNode>(); }
bool tryGetString(String * res, bool allow_identifier = true) const override
bool tryGetString(String * res, bool allow_identifier) const override
{
if (const auto * literal = argument->as<ConstantNode>())
{

View File

@ -23,7 +23,7 @@ public:
return nullptr;
}
bool isIdentifier() const override { return argument->as<ASTIdentifier>(); }
bool tryGetString(String * res, bool allow_identifier = true) const override
bool tryGetString(String * res, bool allow_identifier) const override
{
if (const auto * literal = argument->as<ASTLiteral>())
{