2 * Copyright (c) 2017, Facebook, Inc.
5 * This source code is licensed under the BSD-style license found in the
6 * LICENSE file in the "hack" directory of this source tree. An additional grant
7 * of patent rights can be found in the PATENTS file in the same directory.
11 module WithToken
: functor (Token
: Lexable_token_sig.LexableToken_S
) -> sig
14 val expects
: t
-> Full_fidelity_token_kind.t
-> bool
15 val expects_here
: t
-> Full_fidelity_token_kind.t
-> bool
16 val expect
: t
-> Full_fidelity_token_kind.t list
-> t
17 val expect_in_new_scope
: t
-> Full_fidelity_token_kind.t list
-> t
18 val pop_scope
: t
-> Full_fidelity_token_kind.t list
-> t
20 val skipped_tokens
: t
-> Token.t list
21 val with_skipped_tokens
: t
-> Token.t list
-> t
23 val print_expected
: t
-> unit