2 * Copyright (c) 2017, Facebook, Inc.
5 * This source code is licensed under the MIT license found in the
6 * LICENSE file in the "hack" directory of this source tree.
10 module WithToken
: functor (Token
: Lexable_token_sig.LexableToken_S
) -> sig
11 type t
[@@deriving show
]
13 val expects
: t
-> Full_fidelity_token_kind.t
-> bool
14 val expects_here
: t
-> Full_fidelity_token_kind.t
-> bool
15 val expect
: t
-> Full_fidelity_token_kind.t list
-> t
16 val expect_in_new_scope
: t
-> Full_fidelity_token_kind.t list
-> t
17 val pop_scope
: t
-> Full_fidelity_token_kind.t list
-> t
19 val skipped_tokens
: t
-> Token.t list
20 val with_skipped_tokens
: t
-> Token.t list
-> t
22 val print_expected
: t
-> unit