Package com._1c.g5.v8.dt.bsl.qw.utils
Class Parser.TextPosition
java.lang.Object
com._1c.g5.v8.dt.bsl.qw.utils.Parser.TextPosition
- Enclosing class:
- Parser
Store position in node text
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Get end offsetorg.eclipse.xtext.nodemodel.INode
getNode()
Get nodeint
Get start offsetvoid
setEndOffset
(int endOffset) Set end offsetvoid
setNode
(org.eclipse.xtext.nodemodel.INode actualNode) Set nodevoid
setStartOffset
(int startOffset) Set start offset
-
Constructor Details
-
TextPosition
public TextPosition()
-
-
Method Details
-
getNode
public org.eclipse.xtext.nodemodel.INode getNode()Get node- Returns:
- the actualNode
-
setNode
public void setNode(org.eclipse.xtext.nodemodel.INode actualNode) Set node- Parameters:
actualNode
- the actualNode to set
-
getStartOffset
public int getStartOffset()Get start offset- Returns:
- the startOffset
-
setStartOffset
public void setStartOffset(int startOffset) Set start offset- Parameters:
startOffset
- the startOffset to set
-
getEndOffset
public int getEndOffset()Get end offset- Returns:
- the endOffset
-
setEndOffset
public void setEndOffset(int endOffset) Set end offset- Parameters:
endOffset
- the endOffset to set
-