This class contains custom scoping description.
More...
Inherits org.lflang.scoping.LFScopeProviderImpl.
|
| IScope | getScope (EObject context, EReference reference) |
| | Depending on the provided context, construct the appropriate scope for the given reference.
|
This class contains custom scoping description.
See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping on how and when to use it.
◆ getScope()
| IScope org.lflang.scoping.LFScopeProviderImpl.getScope |
( |
EObject | context, |
|
|
EReference | reference ) |
|
inherited |
Depending on the provided context, construct the appropriate scope for the given reference.
- Parameters
-
| context | The AST node in which a to-be-resolved reference occurs. |
| reference | The reference to resolve. |
◆ getScopeForAssignment()
| IScope org.lflang.scoping.LFScopeProviderImpl.getScopeForAssignment |
( |
Assignment | assignment, |
|
|
EReference | reference ) |
|
protectedinherited |
◆ getScopeForImportedReactor()
| IScope org.lflang.scoping.LFScopeProviderImpl.getScopeForImportedReactor |
( |
ImportedReactor | context, |
|
|
EReference | reference ) |
|
protectedinherited |
Filter out candidates that do not originate from the file listed in this particular import statement.
◆ getScopeForParameterReference()
| IScope org.lflang.scoping.LFScopeProviderImpl.getScopeForParameterReference |
( |
ParameterReference | term, |
|
|
EReference | reference ) |
|
protectedinherited |
◆ getScopeForReactorDecl()
| IScope org.lflang.scoping.LFScopeProviderImpl.getScopeForReactorDecl |
( |
EObject | obj, |
|
|
EReference | reference ) |
|
protectedinherited |
- Parameters
-
| obj | Instantiation or Reactor that has a ReactorDecl to resolve. |
| reference | The reference to link to a ReactorDecl node. |
◆ getScopeForVarRef()
| IScope org.lflang.scoping.LFScopeProviderImpl.getScopeForVarRef |
( |
VarRef | variable, |
|
|
EReference | reference ) |
|
protectedinherited |
◆ getScopeForWidthTerm()
| IScope org.lflang.scoping.LFScopeProviderImpl.getScopeForWidthTerm |
( |
WidthTerm | term, |
|
|
EReference | reference ) |
|
protectedinherited |
The documentation for this class was generated from the following file:
- /Users/runner/work/lingua-franca/lingua-franca/core/src/main/java/org/lflang/scoping/LFScopeProvider.java