yog-script-analyze 0.5.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
15
16
17
namespace System.Collections.Generic;

/// Values by their keys, each key there once; a collection of its pairs.
[Intrinsic]
public interface IDictionary<TKey, TValue> : ICollection<KeyValuePair<TKey, TValue>> {
    /// The value of `key` (a panic when it has none); set, it's added or replaced.
    TValue this[TKey key] { get; set; }
    ICollection<TKey> Keys { get; }
    ICollection<TValue> Values { get; }
    /// `key`'s value added; a panic when `key` has one already.
    void Add(TKey key, TValue value);
    readonly bool ContainsKey(TKey key);
    /// Whether `key` was there to take away.
    bool Remove(TKey key);
    /// `key`'s value, or `null` when it has none.
    readonly TValue? TryGetValue(TKey key);
}