Lines Matching full:keyword
9 Keyword(&'static str), enumerator
36 (Keyword("async"), SetState(&ASYNC)),
37 (Keyword("break"), SetState(&BREAK_LABEL)),
38 (Keyword("const"), SetState(&CONST)),
39 (Keyword("continue"), SetState(&CONTINUE)),
40 (Keyword("for"), SetState(&FOR)),
41 (Keyword("if"), IncDepth),
42 (Keyword("let"), SetState(&PATTERN)),
43 (Keyword("loop"), SetState(&BLOCK)),
44 (Keyword("match"), IncDepth),
45 (Keyword("move"), SetState(&CLOSURE)),
46 (Keyword("return"), SetState(&RETURN)),
47 (Keyword("static"), SetState(&CLOSURE)),
48 (Keyword("unsafe"), SetState(&BLOCK)),
49 (Keyword("while"), IncDepth),
50 (Keyword("yield"), SetState(&RETURN)),
51 (Keyword("_"), SetState(&POSTFIX)),
66 (Keyword("as"), SetState(&[(ExpectType, SetState(&POSTFIX))])),
79 (Keyword("move"), SetState(&ASYNC)),
98 (Keyword("async"), SetState(&CLOSURE)),
99 (Keyword("move"), SetState(&CLOSURE)),
128 (Keyword("await"), SetState(&POSTFIX)),
138 static IF_ELSE: [(Input, Action); 2] = [(Keyword("if"), SetState(&INIT)), (ConsumeBrace, DecDepth)];
140 [(Keyword("else"), SetState(&IF_ELSE)), (Otherwise, DecDepth)];
153 (Keyword("box"), SetState(&PATTERN)),
154 (Keyword("in"), IncDepth),
155 (Keyword("mut"), SetState(&PATTERN)),
156 (Keyword("ref"), SetState(&PATTERN)),
157 (Keyword("_"), SetState(&PATTERN)),
179 (Keyword("const"), SetState(&INIT)),
180 (Keyword("mut"), SetState(&INIT)),
185 (Keyword("mut"), SetState(&INIT)),
186 (Keyword("raw"), SetState(&RAW)),
201 Input::Keyword(expected) => input.step(|cursor| match cursor.ident() { in scan_expr()