yog-script-analyze 0.2.2

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
// Yog's attributes for the bus (`ys.md` §7): how Yog Script meets the
// mod's Rust code, or anyone's, declared by hand on both sides.
namespace System.Yog.Native;

/// An `extern` method that is a call on the bus: its parameters the
/// request's fields (a Rust struct's, in order), its result the reply.
public sealed class Service(string address) : Attribute {}

/// An `event` on the bus: `+=` listens to what's emitted there, `Invoke`
/// emits it.
public sealed class Event(string address) : Attribute {}

/// A method others call on the bus at this address.
public sealed class Provide(string address) : Attribute {}