CompileModes enum

Enumeration of available compilation modes for the Balbismo compiler.

Each mode represents a different stage or output format in the compilation pipeline:

  • IR: Generate LLVM Intermediate Representation (.ll files)
  • OPT_IR: Generate optimized LLVM IR with compiler optimizations
  • ASM: Generate assembly code (.s files)
  • BIN: Compile to executable binary
  • RUN: Generate IR and execute directly using LLVM interpreter (lli)
Inheritance
Available extensions

Values

IR → const CompileModes

Generate LLVM Intermediate Representation (.ll files)

OPT_IR → const CompileModes

Generate optimized LLVM IR with compiler optimizations applied

ASM → const CompileModes

Generate assembly code (.s files)

BIN → const CompileModes

Compile to executable binary

RUN → const CompileModes

Generate IR and execute directly using LLVM interpreter (lli)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<CompileModes>
A constant List of the values in this enum, in order of their declaration.