Searched refs:AstConstantType (Results 1 – 2 of 2) sorted by relevance
426 class AstConstantType : public AstTypeBase {436 return AsType(new (zone->New(sizeof(AstConstantType))) in New()437 AstConstantType(bitset, value)); in New()440 static AstConstantType* cast(AstType* type) { in cast()442 return static_cast<AstConstantType*>(FromType(type)); in cast()445 AstConstantType(AstBitsetType::bitset bitset, i::Handle<i::Object> object) in AstConstantType() function713 return AstConstantType::New(value, zone); in Constant()829 AstConstantType* AsConstant() { return AstConstantType::cast(this); } in AsConstant()936 static bool Contains(AstRangeType* range, AstConstantType* constant);
59 bool AstType::Contains(AstRangeType* lhs, AstConstantType* rhs) { in Contains()