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

Resource description strategy designed to limit global scope to only those files that were explicitly imported. More...

Inherits DefaultResourceDescriptionStrategy.

Public Member Functions

boolean createEObjectDescriptions (EObject eObject, IAcceptor< IEObjectDescription > acceptor)

Static Public Attributes

static final String DELIMITER = ","
 Delimiter used in the values associated with INCLUDES keys in the user-data descriptions of Models.
static final String INCLUDES = "includes"
 Key used in user data attached to description of a Model.

Detailed Description

Resource description strategy designed to limit global scope to only those files that were explicitly imported.

Adapted from example provided by Itemis.

Author
Marten Lohstroh
See also
"https://blogs.itemis.com/en/in-five-minutes-to-transitive-imports-within-a-dsl-with-xtext"

Member Function Documentation

◆ createEObjectDescriptions()

boolean org.lflang.LFResourceDescriptionStrategy.createEObjectDescriptions ( EObject eObject,
IAcceptor< IEObjectDescription > acceptor )

Member Data Documentation

◆ DELIMITER

final String org.lflang.LFResourceDescriptionStrategy.DELIMITER = ","
static

Delimiter used in the values associated with INCLUDES keys in the user-data descriptions of Models.

◆ INCLUDES

final String org.lflang.LFResourceDescriptionStrategy.INCLUDES = "includes"
static

Key used in user data attached to description of a Model.


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