yog-script-analyze 0.2.1

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
//! `async`.

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

pub static WORD: Word = Word {
    text: "async",
    doc: "A method that awaits (`await Task.Delay(5s);`): compiled into a state machine run by its side's ticks; calling it gives a `Task`.",
    reserved: true,
    roles: &[Role::Modifier(Modifier::Async)],
};