Storage
private struct Storage : Codable
The stored representation of an AST; distinguished for encoding/decoding purposes.
-
The nodes in
self.Declaration
Swift
public var nodes: [[AnyNode]] -
The indices of the modules in the AST.
Indices are ordered by module dependency. If
iandjare the indices of two modulesAandB, respectively, andAdepends onB, theniprecedesjin this property.Invariant
All referred modules have a different name.Declaration
Swift
public var modules: [ModuleDecl.ID] -
The traits in Hylo’s standard library that are known by the compiler.
Declaration
Swift
var coreTraits: CoreTraits? -
The module containing Hylo’s core library, if any.
Declaration
Swift
public var coreLibrary: ModuleDecl.ID? -
Conditions for selecting conditional compilation branches.
Declaration
Swift
public let compilationConditions: ConditionalCompilationFactors -
Creates an empty instance, using
compilationConditionsas conditions for selecting conditional compilation branches.Declaration
Swift
public init(_ compilationConditions: ConditionalCompilationFactors)
View on GitHub