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
16
17
18
namespace System.Threading;

using System.Threading.Tasks;

/// Set once it's been signalled so many times (.NET's `CountdownEvent`).
[Intrinsic]
public readonly class Countdown {
    public Countdown(i32 initialCount) {}

    /// Counts `signalCount` down: whether that set it.
    public bool Signal(i32 signalCount = 1);
    public void AddCount(i32 signalCount = 1);
    public void Wait();
    public bool Wait(TimeSpan timeout);
    public Task WaitAsync();
    public i32 CurrentCount { get; }
    public bool IsSet { get; }
}