Class CommentBlockPartitioner
java.lang.Object
org.eclipse.epsilon.egl.merge.partition.CommentBlockPartitioner
- All Implemented Interfaces:
Partitioner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getFirstLine
(String id, boolean enabled, RegionType regionType) getLastLine
(String id, RegionType regionType) int
hashCode()
protected Pattern
Computes the regular expression used to match the end of protected region start/end markers.protected Pattern
Computes the regular expression used to match the start of protected region start/end markers.protected RegionType
regionTypeFromString
(String regionType) protected String
regionTypeToString
(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_BEGIN
GROUP_ON_OR_OFF
-
getStartComment
-
getEndComment
-
getFirstLine
-
regionTypeToString
-
regionTypeFromString
-
getLastLine
-
partition
- Specified by:
partition
in interfacePartitioner
-
partition
- Specified by:
partition
in interfacePartitioner
-
toString
-
equals
-
hashCode
public int hashCode()
-