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

using System.Threading;

/// A value with several owners, each a cheap `Clone()` of it (Rust's `Rc`
/// and `Arc`: which one is the compiler's choice, by whether it crosses a
/// thread). What's shared is read; changing it is a `Cell`'s or a
/// `Lock`'s inside.
[Intrinsic]
[Threads(ThreadSafety.Shared)]
public readonly sealed class Shared<T> {
    public Shared(T value) {}

    /// The value shared.
    public T Value { get; }
    /// One more owner of the same value.
    public readonly Shared<T> Clone();
    /// A reference that doesn't keep the value.
    public readonly Weak<T> Downgrade();
    /// Whether two are owners of one value.
    public static bool Same(Shared<T> a, Shared<T> b);
}