Searched refs:AstConstantType (Results 1 – 2 of 2) sorted by relevance
428 class AstConstantType : public AstTypeBase {438 return AsType(new (zone->New(sizeof(AstConstantType))) in New()439 AstConstantType(bitset, value)); in New()442 static AstConstantType* cast(AstType* type) { in cast()444 return static_cast<AstConstantType*>(FromType(type)); in cast()447 AstConstantType(AstBitsetType::bitset bitset, i::Handle<i::Object> object) in AstConstantType() function715 return AstConstantType::New(value, zone); in Constant()836 AstConstantType* AsConstant() { return AstConstantType::cast(this); } in AsConstant()943 static bool Contains(AstRangeType* range, AstConstantType* constant);
58 bool AstType::Contains(AstRangeType* lhs, AstConstantType* rhs) { in Contains()