yog-script-analyze 0.4.0

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
namespace System;

using System.Threading;

/// A reference that doesn't keep its value: what it reaches may be gone
/// (Rust's `Weak`, .NET's `WeakReference<T>`).
[Intrinsic]
[Threads(ThreadSafety.Shared)]
public readonly sealed class Weak<T> {
    public Weak(T value) {}

    /// The value, while something still keeps it.
    public readonly T? TryGet();
}