Class DescriptionPart
- java.lang.Object
- 
- com._1c.g5.v8.dt.bsl.documentation.comment.DescriptionPart
 
- 
- All Implemented Interfaces:
- IDescriptionPart
 
 public abstract class DescriptionPart extends Object implements IDescriptionPart Abstract implementation ofIDescriptionPart, provides logic for keeping offset and line number
- 
- 
Constructor SummaryConstructors Constructor Description DescriptionPart(IDescriptionPart parent, int lineNumber, int offset)Constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLineNumber()Gets the line nubmer corresponding to part.intgetOffset()Gets offset of the begining part.IDescriptionPartgetParent()Gets the parent object.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com._1c.g5.v8.dt.bsl.documentation.comment.IDescriptionPartmatch
 
- 
 
- 
- 
- 
Constructor Detail- 
DescriptionPartpublic DescriptionPart(IDescriptionPart parent, int lineNumber, int offset) Constructor.- Parameters:
- parent- the parent object, cannot be- null.
- lineNumber- line nubmer corresponding to part
- offset- offset of the begining part
 
 
- 
 - 
Method Detail- 
getParentpublic IDescriptionPart getParent() Gets the parent object.- Specified by:
- getParentin interface- IDescriptionPart
- Returns:
- the parent object, can return nullif it is created separetly form parsing
 
 - 
getOffsetpublic int getOffset() Description copied from interface:IDescriptionPartGets offset of the begining part. Offset - local inline offset- Specified by:
- getOffsetin interface- IDescriptionPart
- Returns:
- offset of the begining part.
 
 - 
getLineNumberpublic int getLineNumber() Description copied from interface:IDescriptionPartGets the line nubmer corresponding to part. Numeration starts from 0 Line number - line number corresponding to the begining of the documentation comment. Each comment starts with line with number 0- Specified by:
- getLineNumberin interface- IDescriptionPart
- Returns:
- the line nubmer corresponding to part
 
 
- 
 
-