Lines Matching +full:async +full:- +full:enum
1 // SPDX-License-Identifier: Apache-2.0 OR MIT
8 enum Input {
27 enum Action {
36 (Keyword("async"), SetState(&ASYNC)),
56 (Punct("-"), SetState(&INIT)),
78 static ASYNC: [(Input, Action); 3] = [ variable
79 (Keyword("move"), SetState(&ASYNC)),
98 (Keyword("async"), SetState(&CLOSURE)),
113 (Punct("->"), SetState(&[(ExpectType, SetState(&BLOCK))])),
195 pub(crate) fn scan_expr(input: ParseStream) -> Result<()> { in scan_expr()
211 Some((_, rest)) if i == expected.len() - 1 => { in scan_expr()
259 Action::DecDepth => (depth -= 1, &POSTFIX).1, in scan_expr()