![]() |
lingua-franca 0.10.1
Lingua Franca code generator
|
A message reporter that adjusts line numbers to account for the fact that the code has been generated. More...
Inherits org.lflang.MessageReporter.
Public Member Functions | |
| Stage2 | at (EObject node) |
| Position the message on the given node (must be non-null). | |
| Stage2 | at (EObject node, EStructuralFeature feature) |
| Position the message on the given node and structural feature (both must be non-null). | |
| Stage2 | at (Path file, int line) |
| Position the message in the file (non-null), on the given line. | |
| Stage2 | at (Path file, Range range) |
| Position the message on the given range in a given file (both must be non-null). | |
| default Stage2 | at (Path file) |
| Position the message in the file (non-null), at an unknown line. | |
| default Stage2 | at (Path file, Position pos) |
| Position the message in the file, using a position object. | |
| default Stage2 | atNullableLine (Path file, Integer line) |
| Position the message in the given file. | |
| default void | clearHistory () |
| Clear error history, if exists. | |
| boolean | getErrorsOccurred () |
| Check if errors where reported. | |
| LineAdjustingMessageReporter (MessageReporter parent, Map< Path, CodeMap > codeMapMap) | |
| Stage2 | nowhere () |
| Specify that the message has no relevant position, ie it does not belong to a particular file. | |
A message reporter that adjusts line numbers to account for the fact that the code has been generated.
| org.lflang.federated.generator.LineAdjustingMessageReporter.LineAdjustingMessageReporter | ( | MessageReporter | parent, |
| Map< Path, CodeMap > | codeMapMap ) |
| Stage2 org.lflang.federated.generator.LineAdjustingMessageReporter.at | ( | EObject | node | ) |
Position the message on the given node (must be non-null).
Implements org.lflang.MessageReporter.
| Stage2 org.lflang.federated.generator.LineAdjustingMessageReporter.at | ( | EObject | node, |
| EStructuralFeature | feature ) |
Position the message on the given node and structural feature (both must be non-null).
Implements org.lflang.MessageReporter.
| Stage2 org.lflang.federated.generator.LineAdjustingMessageReporter.at | ( | Path | file, |
| int | line ) |
Position the message in the file (non-null), on the given line.
Implements org.lflang.MessageReporter.
Position the message on the given range in a given file (both must be non-null).
Implements org.lflang.MessageReporter.
|
inherited |
Position the message in the file (non-null), at an unknown line.
Implementations usually will report on the first line of the file.
Position the message in the file, using a position object.
|
inherited |
Position the message in the given file.
The line may be null. This is a convenience wrapper that calls either at(Path, int) or at(Path).
|
inherited |
Clear error history, if exists.
This is usually only the case for error markers in Epoch (Eclipse).
Implemented in org.lflang.MessageReporterBase.
| boolean org.lflang.federated.generator.LineAdjustingMessageReporter.getErrorsOccurred | ( | ) |
Check if errors where reported.
Implements org.lflang.MessageReporter.
| Stage2 org.lflang.federated.generator.LineAdjustingMessageReporter.nowhere | ( | ) |
Specify that the message has no relevant position, ie it does not belong to a particular file.
Implements org.lflang.MessageReporter.