Home
last modified time | relevance | path

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

/external/v8/src/ast/
Dast-types.h357 class AstTypeBase {
373 explicit AstTypeBase(Kind kind) : kind_(kind) {} in AstTypeBase() function
377 AstTypeBase* base = reinterpret_cast<AstTypeBase*>(type); in IsKind()
382 static AstType* AsType(AstTypeBase* type) { in AsType()
385 static AstTypeBase* FromType(AstType* type) { in FromType()
386 return reinterpret_cast<AstTypeBase*>(type); in FromType()
396 class AstClassType : public AstTypeBase {
415 : AstTypeBase(kClass), bitset_(bitset), map_(map) {} in AstClassType()
426 class AstConstantType : public AstTypeBase {
446 : AstTypeBase(kConstant), bitset_(bitset), object_(object) {} in AstConstantType()
[all …]