Enum ketos::trace::TraceItem [] [src]

pub enum TraceItem {
    CallCode(NameName),
    CallExpr(Name),
    CallLambda(Name),
    CallMacro(NameName),
    CallOperator(NameName),
    CallSys(Name),
    Define(NameName),
    DefineConst(NameName),
    DefineLambda(Name),
    DefineMacro(NameName),
    DefineStruct(NameName),
    UseModule(NameName),
}

Represents a single traceable event in either compilation or execution of code.

Variants

Call to a code object; (scope name, code name)

Call to a code object generated by an expression

Call to an anonymous function

Call to a macro; (scope name, macro name)

Expansion of an operator; (scope name, operator name)

Call to a system function

Definition of a named value; (scope name, definition name)

Definition of a constant value; (scope name, const name)

Definition of an anonymous lambda

Definition of a macro; (scope name, macro name)

Definition of a structure; (scope name, struct name)

Module import declaration; (scope name, module name)

Trait Implementations

impl Copy for TraceItem
[src]

impl Clone for TraceItem
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TraceItem
[src]

Formats the value using the given formatter.