Classes

The following classes are available globally.

  • A test driver for executing test cases generated from Hylo source files.

    This class is intended to be extended by test cases running Hylo programs through the compiler. It contains the logic for loading and sharing a type checked instance of the standard library across each individual test function, accessible. A unique copy of that shared instance is assigned to programToExtend before each test.

    All tests of derived classes are skipped if the loading of the standard library fails.

    See more

    Declaration

    Swift

    open class HyloTestCase : XCTestCase
  • An object that contains a file URL and line number that represents a distinct location in source code.

    See more