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

Represents a Lingua Franca (LF) file. More...

Public Member Functions

List< ReactorNodegetChildren ()
 Retrieves the list of children nodes of the tree.
String getLabel ()
 Retrieves the label (name) of the LF file.
String getUri ()
 Retrieves the URI specifying the location of the LF file.
 LibraryFile (String uri)
 Constructs a new LibraryFile with the specified URI.

Detailed Description

Represents a Lingua Franca (LF) file.

This file can contain multiple ReactorNode elements, with each node potentially having zero or more of these reactors.

Constructor & Destructor Documentation

◆ LibraryFile()

org.lflang.diagram.lsp.LibraryFile.LibraryFile ( String uri)

Constructs a new LibraryFile with the specified URI.

Parameters
uriThe URI specifying the location of the LF file.

Member Function Documentation

◆ getChildren()

List< ReactorNode > org.lflang.diagram.lsp.LibraryFile.getChildren ( )

Retrieves the list of children nodes of the tree.

Returns
The list of children nodes of the tree.

◆ getLabel()

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

Retrieves the label (name) of the LF file.

Returns
The label (name) of the LF file.

◆ getUri()

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

Retrieves the URI specifying the location of the LF file.

Returns
The URI specifying the location 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/LibraryFile.java