File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ class ASTNode : public RefCounted<ASTNode> {
66
66
virtual bool is_class_expression () const { return false ; }
67
67
virtual bool is_expression_statement () const { return false ; }
68
68
virtual bool is_identifier () const { return false ; }
69
+ virtual bool is_private_identifier () const { return false ; }
69
70
virtual bool is_scope_node () const { return false ; }
70
71
virtual bool is_program () const { return false ; }
71
72
virtual bool is_class_declaration () const { return false ; }
@@ -2089,6 +2090,9 @@ inline bool ASTNode::fast_is<ClassExpression>() const { return is_class_expressi
2089
2090
template <>
2090
2091
inline bool ASTNode::fast_is<Identifier>() const { return is_identifier (); }
2091
2092
2093
+ template <>
2094
+ inline bool ASTNode::fast_is<PrivateIdentifier>() const { return is_private_identifier (); }
2095
+
2092
2096
template <>
2093
2097
inline bool ASTNode::fast_is<ExpressionStatement>() const { return is_expression_statement (); }
2094
2098
You can’t perform that action at this time.
0 commit comments