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 Summary
Constructors Constructor Description DescriptionPart(int lineNumber, int offset)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLineNumber()
Gets the line nubmer corresponding to part.int
getOffset()
Gets offset of the begining part.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com._1c.g5.v8.dt.bsl.documentation.comment.IDescriptionPart
match
-
-
-
-
Method Detail
-
getOffset
public int getOffset()
Description copied from interface:IDescriptionPart
Gets offset of the begining part. Offset - local inline offset- Specified by:
getOffset
in interfaceIDescriptionPart
- Returns:
- offset of the begining part.
-
getLineNumber
public int getLineNumber()
Description copied from interface:IDescriptionPart
Gets 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:
getLineNumber
in interfaceIDescriptionPart
- Returns:
- the line nubmer corresponding to part
-
-