lingua-franca 0.10.1
Lingua Franca code generator
Loading...
Searching...
No Matches
org.lflang.ast.LfParsingHelper Class Reference

Utility to parse LF classes. More...

Public Member Functions

Model parse (Path file)
Model parse (String fileContents)
Model parseSourceAsIfInDirectory (Path directory, String sourceText)

Package Attributes

XtextResourceSet resourceSet

Detailed Description

Utility to parse LF classes.

Not static so that we can reuse the injector, as dependency injection takes a lot of time.

Author
Clément Fournier

Member Function Documentation

◆ parse() [1/2]

Model org.lflang.ast.LfParsingHelper.parse ( Path file)

◆ parse() [2/2]

Model org.lflang.ast.LfParsingHelper.parse ( String fileContents)

◆ parseSourceAsIfInDirectory()

Model org.lflang.ast.LfParsingHelper.parseSourceAsIfInDirectory ( Path directory,
String sourceText )

Member Data Documentation

◆ resourceSet

XtextResourceSet org.lflang.ast.LfParsingHelper.resourceSet
package

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