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
//! `server` — a modifier.

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

pub static WORD: Word = Word {
    text: "server",
    doc: "Runs on the server: `server fn`, `server on tick`. Code on one side can't reach the other's classes — a client class in server code is a build error; a call across sides (`x.client.f()`) is a message.",
    reserved: true,
    roles: &[Role::Modifier(Modifier::Server)],
};