lingua-franca 0.10.1
Lingua Franca code generator
Loading...
Searching...
No Matches
org.lflang.diagram.lsp.ReactorNode Class Reference

Represents a node in a hierarchical structure where each node has a label, a URI, and positional information. More...

Public Member Functions

String getLabel ()
 Returns the label of the reactor.
NodePosition getPosition ()
 Returns the position information of the reactor within the LF file.
String getUri ()
 Returns the URI of the LF file that contains the reactor.
 ReactorNode (String label, String uri, NodePosition position)
 Constructs a new ReactorNode with the specified label, URI, and position.

Detailed Description

Represents a node in a hierarchical structure where each node has a label, a URI, and positional information.

This node typically represents a reactor within a Lingua Franca (LF) file.

See also
LibraryFile

Constructor & Destructor Documentation

◆ ReactorNode()

org.lflang.diagram.lsp.ReactorNode.ReactorNode ( String label,
String uri,
NodePosition position )

Constructs a new ReactorNode with the specified label, URI, and position.

Parameters
labelThe label or name of the reactor.
uriThe URI that specifies the location of the LF file containing the reactor.
positionThe position of the reactor within the LF file.

Member Function Documentation

◆ getLabel()

String org.lflang.diagram.lsp.ReactorNode.getLabel ( )

Returns the label of the reactor.

Returns
The label of the reactor.

◆ getPosition()

NodePosition org.lflang.diagram.lsp.ReactorNode.getPosition ( )

Returns the position information of the reactor within the LF file.

Returns
The position information of the reactor.

◆ getUri()

String org.lflang.diagram.lsp.ReactorNode.getUri ( )

Returns the URI of the LF file that contains the reactor.

Returns
The URI of the LF file.

The documentation for this class was generated from the following file:
  • /Users/runner/work/lingua-franca/lingua-franca/lsp/src/main/java/org/lflang/diagram/lsp/ReactorNode.java