yog-script-analyze 0.2.4

Yog Script (.ys, .yns) analyzed: its lexer, parser and syntax tree, names resolved, the class index model — what the build and the editors read a source with.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
namespace System.Logging;

/// What holds the scopes begun, shared by every provider (.NET's `IExternalScopeProvider`).
public readonly interface IExternalScopeProvider {
    /// `callback` of each scope's state, outermost first.
    readonly void ForEachScope<TState>(Action<object?, TState> callback, TState state);

    /// A scope of `state` begun: disposed, it ends.
    readonly IDisposable Push(object? state);
}

/// A provider whose loggers write the scopes a factory holds (.NET's `ISupportExternalScope`).
public readonly interface ISupportExternalScope {
    readonly void SetScopeProvider(IExternalScopeProvider scopeProvider);
}