!47654 补充语法节点

Merge pull request !47654 from Winstonffgg/master
This commit is contained in:
openharmony_ci 2024-11-05 06:38:01 +00:00 committed by Gitee
commit 6565d29ca5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -28,7 +28,8 @@ bool InRange(float number, float boundaryStart, float boundaryEnd)
bool IsSyntaxNode(const std::string& tag)
{
return tag == V2::JS_VIEW_ETS_TAG || tag == V2::JS_IF_ELSE_ETS_TAG || tag == V2::JS_FOR_EACH_ETS_TAG ||
tag == V2::JS_LAZY_FOR_EACH_ETS_TAG || tag == V2::JS_SYNTAX_ITEM_ETS_TAG || tag == V2::JS_NODE_SLOT_ETS_TAG;
tag == V2::JS_LAZY_FOR_EACH_ETS_TAG || tag == V2::JS_SYNTAX_ITEM_ETS_TAG ||
tag == V2::JS_NODE_SLOT_ETS_TAG || tag == V2::JS_REPEAT_ETS_TAG || tag == V2::JS_VIEW_COMPONENT_TAG;
}
} // namespace