yog-script-analyze 0.1.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
//! `client` — a modifier.

use crate::ast::Modifier;
use crate::words::{Role, Word};

pub static WORD: Word = Word {
    text: "client",
    doc: "Runs on a client: `client fn showCharge(level: Int) { … }`. The server reaches it with `player.client.showCharge(5)` — a message made for it.",
    reserved: true,
    roles: &[Role::Modifier(Modifier::Client)],
};