![]() |
lingua-franca 0.10.1
Lingua Franca code generator
|
Extension of a SimpleFileVisitor that adds entries to the conflicts list in the outer class. More...
Inherits SimpleFileVisitor< Path >.
Public Member Functions | |
| FileVisitResult | visitFile (Path path, BasicFileAttributes attr) |
| Report a conflicting main reactors in visited files. | |
Extension of a SimpleFileVisitor that adds entries to the conflicts list in the outer class.
Specifically, each visited file is checked against the name present in the current file configuration. If the name matches the current file (but is not the file itself), then parse that file and determine whether there is a main reactor declared. If there is one, report a conflict.
| FileVisitResult org.lflang.MainConflictChecker.PackageVisitor.visitFile | ( | Path | path, |
| BasicFileAttributes | attr ) |
Report a conflicting main reactors in visited files.