Class CommentBlockPartitioner
java.lang.Object
org.eclipse.epsilon.egl.merge.partition.CommentBlockPartitioner
- All Implemented Interfaces:
Partitioner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFirstLine(String id, boolean enabled, RegionType regionType) getLastLine(String id, RegionType regionType) inthashCode()protected PatternComputes the regular expression used to match the end of protected region start/end markers.protected PatternComputes the regular expression used to match the start of protected region start/end markers.protected RegionTyperegionTypeFromString(String regionType) protected StringregionTypeToString(RegionType regionType) toString()
-
Constructor Details
-
CommentBlockPartitioner
-
-
Method Details
-
initRegionPattern
Computes the regular expression used to match the start of protected region start/end markers. When editing this method, please maintain theGROUP_*constants up to date.- See Also:
-
GROUP_REGION_TYPE
-
initRegionIdPattern
Computes the regular expression used to match the end of protected region start/end markers. When editing this method, please maintain theGROUP_*constants up to date.- See Also:
-
GROUP_REGION_ID#GROUP_END_OR_BEGINGROUP_ON_OR_OFF
-
getStartComment
-
getEndComment
-
getFirstLine
-
regionTypeToString
-
regionTypeFromString
-
getLastLine
-
partition
- Specified by:
partitionin interfacePartitioner
-
partition
- Specified by:
partitionin interfacePartitioner
-
toString
-
equals
-
hashCode
public int hashCode()
-