Ignore:
Timestamp:
Oct 9, 2017, 5:27:34 PM (23 months ago)
Author:
cameron
Message:

Support for \p{property=@identity@}

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/UCD/PropertyObjects.cpp

    r5682 r5683  
    5252    return GetCodepointSet(property_enum_val);
    5353}
     54   
     55const UnicodeSet PropertyObject::GetReflexiveSet() {
     56    return UnicodeSet();
     57}
     58
    5459
    5560class PropertyValueAccumulator : public grep::MatchAccumulator {
     
    337342}
    338343   
     344const UnicodeSet StringPropertyObject::GetReflexiveSet() {
     345    return mSelfCodepointSet;
     346}
     347
    339348const UnicodeSet StringOverridePropertyObject::GetCodepointSet(const std::string & value_spec) {
    340349    // First step: get the codepoints from the base object and then remove any overridden ones.
     
    365374}
    366375
     376const UnicodeSet StringOverridePropertyObject::GetReflexiveSet() {
     377    return mBaseObject.GetReflexiveSet() - mOverriddenSet;
     378}
     379
    367380
    368381const std::string & ObsoletePropertyObject::GetPropertyValueGrepString() {
Note: See TracChangeset for help on using the changeset viewer.