add some .mli files
[hiphop-php.git] / hphp / hack / src / parser / lexable_positioned_token_sig.ml
blob4b89152e8c8464effc4078ed32ede7e9b5bb6d2c
1 (*
2 * Copyright (c) 2017, Facebook, Inc.
3 * All rights reserved.
5 * This source code is licensed under the MIT license found in the
6 * LICENSE file in the "hack" directory of this source tree.
8 *)
9 module SourceData = Full_fidelity_editable_positioned_original_source_data
11 module type LexablePositionedToken_S = sig
12 module Trivia : module type of Full_fidelity_positioned_trivia
14 include Lexable_token_sig.LexableToken_S with module Trivia := Trivia
16 val text : t -> string
18 val concatenate : t -> t -> t
20 val trim_left : n:int -> t -> t
22 val trim_right : n:int -> t -> t
23 end