Uses of Record Class
org.ek9lang.compiler.common.ErrorExamples.ErrorExample
Packages that use ErrorExamples.ErrorExample
Package
Description
Common parts of processing that can be reused across various phases.
-
Uses of ErrorExamples.ErrorExample in org.ek9lang.compiler.common
Methods in org.ek9lang.compiler.common that return ErrorExamples.ErrorExampleModifier and TypeMethodDescriptionErrorExamples.ExampleUnit.capture()Returns the value of thecapturerecord component.ErrorExamples.ExampleUnit.failing()The file whose@Errordirective the failing example is checked by.The source at a catalogue-relative path; only a path the manifest lists is part of the catalogue.Methods in org.ek9lang.compiler.common that return types with arguments of type ErrorExamples.ErrorExampleModifier and TypeMethodDescriptionErrorExamples.ExampleUnit.companions()The files a failing example's directive file is compiled WITH: its other files.ErrorExamples.ExampleUnit.data()Returns the value of thedatarecord component.ErrorExamples.ExampleUnit.files()Returns the value of thefilesrecord component.A code's examples, file by file: its failing example first, then its fixes, asErrorExamples.units(String)orders them; empty when it has none.ErrorExamples.loadAll()Every source in the manifest, in its order (the companion files and goldens of a runner example are not).ErrorExamples.loadEveryFile()Every file in the manifest - sources, runner companions and goldens - in its order.Constructors in org.ek9lang.compiler.common with parameters of type ErrorExamples.ErrorExampleModifierConstructorDescriptionExampleUnit(String code, String name, List<ErrorExamples.ErrorExample> files, List<ErrorExamples.ErrorExample> data, ErrorExamples.ErrorExample capture) Creates an instance of aExampleUnitrecord class.Constructor parameters in org.ek9lang.compiler.common with type arguments of type ErrorExamples.ErrorExampleModifierConstructorDescriptionExampleUnit(String code, String name, List<ErrorExamples.ErrorExample> files) An example of sources only: no companion file, no golden output.ExampleUnit(String code, String name, List<ErrorExamples.ErrorExample> files, List<ErrorExamples.ErrorExample> data, ErrorExamples.ErrorExample capture) Creates an instance of aExampleUnitrecord class.