![]() |
lingua-franca 0.10.1
Lingua Franca code generator
|
Position of a node within a text document or code file. More...
Public Member Functions | |
| int | getEnd () |
| Retrieves the ending position of the node. | |
| int | getStart () |
| Retrieves the starting position of the node. | |
| NodePosition (int start, int end) | |
| Constructs a new NodePosition with the specified start and end positions. | |
Position of a node within a text document or code file.
A position is a pair of integers representing the starting and ending line numbers.
| org.lflang.diagram.lsp.NodePosition.NodePosition | ( | int | start, |
| int | end ) |
Constructs a new NodePosition with the specified start and end positions.
| start | The starting position of the node. |
| end | The ending position of the node. |
| int org.lflang.diagram.lsp.NodePosition.getEnd | ( | ) |
Retrieves the ending position of the node.
| int org.lflang.diagram.lsp.NodePosition.getStart | ( | ) |
Retrieves the starting position of the node.