Class TextPart
java.lang.Object
com._1c.g5.v8.dt.bsl.documentation.comment.DescriptionPart
com._1c.g5.v8.dt.bsl.documentation.comment.TextPart
- All Implemented Interfaces:
- IDescriptionPart
Class represents 
IDescriptionPart of Bsl documentation comment. It contains simple text- 
Constructor SummaryConstructorsConstructorDescriptionTextPart(IDescriptionPart parent, int lineNumber, int offset, String text) Constructor.TextPart(IDescriptionPart parent, int lineNumber, String text) Constructor.
- 
Method SummaryMethods inherited from class com._1c.g5.v8.dt.bsl.documentation.comment.DescriptionPartgetLineNumber, getOffset, getParent
- 
Constructor Details- 
TextPartConstructor.- Parameters:
- parent- the parent object, cannot be- null.
- lineNumber- line nubmer corresponding to part
- offset- offset of the begining part
- text- content of the part, cannot be- null
 
- 
TextPartConstructor.- Parameters:
- parent- the parent object, cannot be- null.
- lineNumber- line nubmer corresponding to part
- text- content of the part, cannot be- null
 
 
- 
- 
Method Details- 
getTextGets content of the part- Returns:
- content of the part, never null
 
- 
setTextSets content of the part- Parameters:
- text- content of the part, cannot be- null
 
- 
matchpublic boolean match(int lineNumber, int offset) Description copied from interface:IDescriptionPartChecks that this description part corresponding to the concrete line number and offset- Parameters:
- lineNumber- number of the documentation comment line
- offset- local offset on the comment line
- Returns:
- trueif this description part corresponding to the send line number and offset,- falseotherwise
 
 
-