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
//! `where` — a type parameter's constraint; a point's selector.

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

pub static WORD: Word = Word {
    text: "where",
    doc: "What a type parameter must be: `T? Heaviest<T>(List<T> list) where T : Entity => …;`. \
          In a patch, which of several matching points: `at call Vec3.Add where (x > 0) (x) { … }`.",
    reserved: false,
    roles: &[Role::Part],
};