Home
last modified time | relevance | path

Searched refs:ClassLiteral (Results 1 – 12 of 12) sorted by relevance

/third_party/node/deps/v8/src/ast/
Dast-function-literal-id-reindexer.cc35 void AstFunctionLiteralIdReindexer::VisitClassLiteral(ClassLiteral* expr) { in VisitClassLiteral()
49 ZonePtrList<ClassLiteral::Property>* private_members = in VisitClassLiteral()
63 ZonePtrList<ClassLiteral::Property>* props = expr->public_members(); in VisitClassLiteral()
Dast-traversal-visitor.h466 void AstTraversalVisitor<Subclass>::VisitClassLiteral(ClassLiteral* expr) { in VisitClassLiteral()
478 ZonePtrList<ClassLiteral::Property>* private_members = in VisitClassLiteral()
484 ZonePtrList<ClassLiteral::Property>* props = expr->public_members(); in VisitClassLiteral()
498 ZonePtrList<ClassLiteral::Property>* props = stmt->fields(); in VisitInitializeClassMembersStatement()
512 ZonePtrList<ClassLiteral::StaticElement>* elements = stmt->elements(); in VisitInitializeClassStaticElementsStatement()
514 ClassLiteral::StaticElement* element = elements->at(i); in VisitInitializeClassStaticElementsStatement()
516 case ClassLiteral::StaticElement::PROPERTY: { in VisitInitializeClassStaticElementsStatement()
517 ClassLiteral::Property* prop = element->property(); in VisitInitializeClassStaticElementsStatement()
524 case ClassLiteral::StaticElement::STATIC_BLOCK: in VisitInitializeClassStaticElementsStatement()
Dprettyprinter.h137 void PrintClassProperty(ClassLiteral::Property* property);
139 const ZonePtrList<ClassLiteral::Property>* properties);
141 const ZonePtrList<ClassLiteral::StaticElement>* static_elements);
Dprettyprinter.cc229 void CallPrinter::VisitClassLiteral(ClassLiteral* node) { in VisitClassLiteral()
249 ClassLiteral::StaticElement* element = node->elements()->at(i); in VisitInitializeClassStaticElementsStatement()
250 if (element->kind() == ClassLiteral::StaticElement::PROPERTY) { in VisitInitializeClassStaticElementsStatement()
1084 void AstPrinter::VisitClassLiteral(ClassLiteral* node) { in VisitClassLiteral()
1121 void AstPrinter::PrintClassProperty(ClassLiteral::Property* property) { in PrintClassProperty()
1124 case ClassLiteral::Property::METHOD: in PrintClassProperty()
1127 case ClassLiteral::Property::GETTER: in PrintClassProperty()
1130 case ClassLiteral::Property::SETTER: in PrintClassProperty()
1133 case ClassLiteral::Property::FIELD: in PrintClassProperty()
1146 const ZonePtrList<ClassLiteral::Property>* properties) { in PrintClassProperties()
[all …]
Dast-function-literal-id-reindexer.h33 void VisitClassLiteral(ClassLiteral* lit);
Dast.h89 V(ClassLiteral) \
2480 class ClassLiteral final : public Expression {
2520 ClassLiteral(ClassScope* scope, Expression* extends, in ClassLiteral() function
3254 ClassLiteral::Property* NewClassLiteralProperty( in NewClassLiteralProperty()
3257 return zone_->New<ClassLiteral::Property>(key, value, kind, is_static, in NewClassLiteralProperty()
3261 ClassLiteral::StaticElement* NewClassLiteralStaticElement( in NewClassLiteralStaticElement()
3262 ClassLiteral::Property* property) { in NewClassLiteralStaticElement()
3263 return zone_->New<ClassLiteral::StaticElement>(property); in NewClassLiteralStaticElement()
3266 ClassLiteral::StaticElement* NewClassLiteralStaticElement( in NewClassLiteralStaticElement()
3268 return zone_->New<ClassLiteral::StaticElement>(static_block); in NewClassLiteralStaticElement()
[all …]
/third_party/node/deps/v8/src/objects/
Dliteral-objects.cc594 IsolateT* isolate, ClassLiteral* expr) { in BuildClassBoilerplate()
604 ClassLiteral::Property* property = expr->public_members()->at(i); in BuildClassBoilerplate()
608 if (property->kind() != ClassLiteral::Property::FIELD) { in BuildClassBoilerplate()
671 ClassLiteral::Property* property = expr->public_members()->at(i); in BuildClassBoilerplate()
674 case ClassLiteral::Property::METHOD: in BuildClassBoilerplate()
677 case ClassLiteral::Property::GETTER: in BuildClassBoilerplate()
680 case ClassLiteral::Property::SETTER: in BuildClassBoilerplate()
683 case ClassLiteral::Property::FIELD: in BuildClassBoilerplate()
739 Isolate* isolate, ClassLiteral* expr);
741 LocalIsolate* isolate, ClassLiteral* expr);
Dliteral-objects.h18 class ClassLiteral; variable
143 ClassLiteral* expr);
/third_party/node/deps/v8/src/interpreter/
Dbytecode-generator.h330 void BuildPrivateMethods(ClassLiteral* expr, bool is_static,
332 void BuildClassProperty(ClassLiteral::Property* property);
333 void BuildClassLiteral(ClassLiteral* expr, Register name);
334 void VisitClassLiteral(ClassLiteral* expr, Register name);
527 ZoneVector<std::pair<ClassLiteral*, size_t>> class_literals_;
Dbytecode-generator.cc1339 for (std::pair<ClassLiteral*, size_t> literal : class_literals_) { in AllocateDeferredConstants()
1340 ClassLiteral* class_literal = literal.first; in AllocateDeferredConstants()
2559 void BytecodeGenerator::BuildClassLiteral(ClassLiteral* expr, Register name) { in BuildClassLiteral()
2585 AccessorTable<ClassLiteral::Property> private_accessors(zone()); in BuildClassLiteral()
2587 ClassLiteral::Property* property = expr->private_members()->at(i); in BuildClassLiteral()
2590 case ClassLiteral::Property::FIELD: { in BuildClassLiteral()
2607 case ClassLiteral::Property::METHOD: { in BuildClassLiteral()
2616 case ClassLiteral::Property::GETTER: { in BuildClassLiteral()
2622 case ClassLiteral::Property::SETTER: { in BuildClassLiteral()
2656 ClassLiteral::Property* property = expr->public_members()->at(i); in BuildClassLiteral()
[all …]
/third_party/node/deps/v8/src/parsing/
Dparser.h106 using ClassLiteralProperty = ClassLiteral::Property*;
107 using ClassLiteralStaticElement = ClassLiteral::StaticElement*;
108 using ClassPropertyList = ZonePtrList<ClassLiteral::Property>*;
109 using ClassStaticElementList = ZonePtrList<ClassLiteral::StaticElement>*;
847 V8_INLINE ZonePtrList<ClassLiteral::Property>* NewClassPropertyList(
849 return zone()->New<ZonePtrList<ClassLiteral::Property>>(size, zone());
851 V8_INLINE ZonePtrList<ClassLiteral::StaticElement>* NewClassStaticElementList(
853 return zone()->New<ZonePtrList<ClassLiteral::StaticElement>>(size, zone());
Dparser.cc1120 ClassLiteral* literal = expr->AsClassLiteral(); in ParseClassForInstanceMemberInitialization()
3306 ClassLiteral* class_literal = factory()->NewClassLiteral( in RewriteClassLiteral()