pub struct CompilerDriverOptions {
pub session: CompilerSessionOptions,
pub source_res_type: ResType,
pub binary_res_type: ResType,
pub debug_res_type: ResType,
pub output_alias: String,
pub emit_graphviz: bool,
pub graphviz_alias: Option<String>,
pub skip_missing_entrypoint: bool,
}Expand description
Options controlling one callback-driven compiler invocation.
Fields§
§session: CompilerSessionOptionsReusable session settings for parsing and code generation.
source_res_type: ResTypeResource type requested for source resolution.
binary_res_type: ResTypeResource type used when emitting compiled bytecode.
debug_res_type: ResTypeResource type used when emitting debug output.
output_alias: StringBase output name used for emitted artifacts.
emit_graphviz: boolWhether to emit Graphviz DOT for the parsed AST.
graphviz_alias: Option<String>Optional output name for the emitted Graphviz DOT file.
skip_missing_entrypoint: boolWhether scripts without main() or StartingConditional() should be
skipped.
Trait Implementations§
Source§impl Clone for CompilerDriverOptions
impl Clone for CompilerDriverOptions
Source§fn clone(&self) -> CompilerDriverOptions
fn clone(&self) -> CompilerDriverOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CompilerDriverOptions
impl Debug for CompilerDriverOptions
Source§impl Default for CompilerDriverOptions
impl Default for CompilerDriverOptions
Source§impl PartialEq for CompilerDriverOptions
impl PartialEq for CompilerDriverOptions
impl Eq for CompilerDriverOptions
impl StructuralPartialEq for CompilerDriverOptions
Auto Trait Implementations§
impl Freeze for CompilerDriverOptions
impl RefUnwindSafe for CompilerDriverOptions
impl Send for CompilerDriverOptions
impl Sync for CompilerDriverOptions
impl Unpin for CompilerDriverOptions
impl UnsafeUnpin for CompilerDriverOptions
impl UnwindSafe for CompilerDriverOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.