class

DoisC::Codegen::DeclarationCodegen

Inherits DoisC::Codegen::BaseCodegen < Reference < Object

Constructors

new(type_codegen : TypeCodegen, function_codegen : FunctionCodegen, emitter : Emitter)
Source

Instance methods

emit(decl : TopLevelDecl)

Dispatch to the appropriate codegen for the specific top-level declaration

Source
emit_all(ast : ASTData::AST)

Emit all top-level declarations in the AST

Source

Nested types