Class Parser.TextPosition

  • Enclosing class:
    Parser

    public static class Parser.TextPosition
    extends Object
    Store position in node text
    • Constructor Detail

      • TextPosition

        public TextPosition()
    • Method Detail

      • 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