Package org.wurbelizer.wurbel
Class VisualStudioRegion
java.lang.Object
org.wurbelizer.wurbel.AbstractSourceRegion
org.wurbelizer.wurbel.VisualStudioRegion
- All Implemented Interfaces:
- SourceRegion
Visual Studio style source region.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.wurbelizer.wurbel.SourceRegionSourceRegion.FoldType
- 
Field SummaryFields inherited from class org.wurbelizer.wurbel.AbstractSourceRegionGUARD_BEGIN, GUARD_END
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreateBegin(SourceRegion.FoldType foldType, String guardName, SourceWurbletSubElement wurbletElement) Creates the start comment.createEnd(SourceRegion.FoldType foldType, String guardName, SourceWurbletSubElement wurbletElement) Creates the end comment.getBeginName(String comment) Gets the region's name (wurblet tag) if this is the start comment is of this region type.getEndName(String comment) Gets the region's name (wurblet tag) if this is the end comment is of this region type.booleanReturns whether this is the end comment for the given region's name.type()Gets the unique name of the region type.Methods inherited from class org.wurbelizer.wurbel.AbstractSourceRegioncreateCommentGeneratedBy, matches, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.wurbelizer.wurbel.SourceRegionisDefault
- 
Constructor Details- 
VisualStudioRegionpublic VisualStudioRegion()
 
- 
- 
Method Details- 
typeDescription copied from interface:SourceRegionGets the unique name of the region type.- Returns:
- the type name
 
- 
createBeginpublic String createBegin(SourceRegion.FoldType foldType, String guardName, SourceWurbletSubElement wurbletElement) Description copied from interface:SourceRegionCreates the start comment.- Parameters:
- foldType- the fold type, null if none
- guardName- the name of the guarded section
- wurbletElement- the wurblet element
- Returns:
- the comment
 
- 
createEndpublic String createEnd(SourceRegion.FoldType foldType, String guardName, SourceWurbletSubElement wurbletElement) Description copied from interface:SourceRegionCreates the end comment.- Parameters:
- foldType- the fold type, null if none
- guardName- the name of the guarded section
- wurbletElement- the wurblet element
- Returns:
- the comment
 
- 
getBeginNameDescription copied from interface:SourceRegionGets the region's name (wurblet tag) if this is the start comment is of this region type.- Parameters:
- comment- the comment string
- Returns:
- the region's name if is of this type
 
- 
getEndNameDescription copied from interface:SourceRegionGets the region's name (wurblet tag) if this is the end comment is of this region type.- Parameters:
- comment- the comment string
- Returns:
- the region's name if is of this type
 
- 
isEndDescription copied from interface:SourceRegionReturns whether this is the end comment for the given region's name.- Parameters:
- comment- the comment string
- name- the region's name
- Returns:
- true if matching end comment
 
 
-