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

A means of validating generated code. More...

Public Member Functions

LFCommand getCommand (Path generatedFile)
 Return the command that produces validation output in association with generatedFile, or null if this strategy has no command that will successfully produce validation output.
DiagnosticReporting.Strategy getErrorReportingStrategy ()
 Return a strategy for parsing the stderr of the validation command.
DiagnosticReporting.Strategy getOutputReportingStrategy ()
 Return a strategy for parsing the stdout of the validation command.
int getPriority ()
 Return the priority of this.
boolean isFullBatch ()
 Return whether this strategy validates all generated files, as opposed to just the given one.

Detailed Description

A means of validating generated code.

Author
Peter Donovan

Member Function Documentation

◆ getCommand()

LFCommand org.lflang.generator.ValidationStrategy.getCommand ( Path generatedFile)

Return the command that produces validation output in association with generatedFile, or null if this strategy has no command that will successfully produce validation output.

◆ getErrorReportingStrategy()

DiagnosticReporting.Strategy org.lflang.generator.ValidationStrategy.getErrorReportingStrategy ( )

Return a strategy for parsing the stderr of the validation command.

Returns
A strategy for parsing the stderr of the validation command.

◆ getOutputReportingStrategy()

DiagnosticReporting.Strategy org.lflang.generator.ValidationStrategy.getOutputReportingStrategy ( )

Return a strategy for parsing the stdout of the validation command.

Returns
A strategy for parsing the stdout of the validation command.

◆ getPriority()

int org.lflang.generator.ValidationStrategy.getPriority ( )

Return the priority of this.

Strategies with higher priorities are more likely to be used.

Returns
The priority of this.

◆ isFullBatch()

boolean org.lflang.generator.ValidationStrategy.isFullBatch ( )

Return whether this strategy validates all generated files, as opposed to just the given one.

Returns
whether this strategy validates all generated files

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