Class BslDocumentationComment.Section
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.documentation.comment.BslDocumentationComment.Section
-
- Direct Known Subclasses:
BslDocumentationComment.ParametersSection
,BslDocumentationComment.ReturnSection
,TypeSection
- Enclosing class:
- BslDocumentationComment
public static class BslDocumentationComment.Section extends Object
Class represents section of the Bsl documentation comment. There are next section:- parameter section
- call option section
- return section
- example section
IBslCommentToken
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BslDocumentationComment.Description
getDescription()
GetsBslDocumentationComment.Description
of the sectionint
getHeaderKeywordLength()
Gets length of the keyword of the sectionint
getLineNumber()
Gets number of line from the comment begining corresponding to the start line of the sectionint
getOffset()
Gets local line offset of the begining section on the line
-
-
-
Constructor Detail
-
Section
public Section(int lineNumber, int offset, int headerKeywordLength)
Constructor- Parameters:
lineNumber
- number of line from the comment begining corresponding to the start line of the sectionoffset
- local line offset of the begining section on the lineheaderKeywordLength
- length of the keyword of the section
-
Section
public Section(int lineNumber)
Constructor. This constructor should be used if section description created programmatically- Parameters:
lineNumber
- number of line from the comment begining corresponding to the start line of the section
-
-
Method Detail
-
getDescription
public BslDocumentationComment.Description getDescription()
GetsBslDocumentationComment.Description
of the section- Returns:
BslDocumentationComment.Description
of the section, nevernull
-
getLineNumber
public int getLineNumber()
Gets number of line from the comment begining corresponding to the start line of the section- Returns:
- number of line from the comment begining corresponding to the start line of the section
-
getOffset
public int getOffset()
Gets local line offset of the begining section on the line- Returns:
- local line offset of the begining section on the line, offset can be -1 if offset wasnot set
-
getHeaderKeywordLength
public int getHeaderKeywordLength()
Gets length of the keyword of the section- Returns:
- llength of the keyword of the section, length can be -1 if length wasnot set
-
-