This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
21
unikernel/duniverse/ppxlib/test/expect/expect_lexer.mli
Normal file
21
unikernel/duniverse/ppxlib/test/expect/expect_lexer.mli
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
type version = int * int
|
||||
|
||||
type version_range =
|
||||
| Only of version
|
||||
| Up_to of version
|
||||
| From of version
|
||||
| Between of version * version
|
||||
|
||||
(*[[%%ignore]], [[%%expect{|...|}] or [%%expect_in 5.3 {|...|}]*)
|
||||
type expect_block =
|
||||
| Ignore
|
||||
| Regular
|
||||
| Versioned of (version_range * string) list
|
||||
|
||||
type chunk = {
|
||||
phrases : string;
|
||||
phrases_start : Lexing.position;
|
||||
expect : expect_block;
|
||||
}
|
||||
|
||||
val split_file : file_contents:string -> Lexing.lexbuf -> chunk list
|
||||
Loading…
Add table
Add a link
Reference in a new issue