Module Ocaml_preprocess.Parser_rawSource
Source
type token = | WITH| WHILE| WHEN| VIRTUAL| VAL| UNDERSCORE| UIDENT of string| TYPE| TRY| TRUE| TO| TILDE| THEN| STRUCT| STRING of string * Ocaml_parsing.Location.t * string option| STAR| STACK| SIG| SEMISEMI| SEMI| RPAREN| REPR| REC| RBRACKETGREATER| RBRACKET| RBRACE| QUOTED_STRING_ITEM of string * Ocaml_parsing.Location.t * string * Ocaml_parsing.Location.t * string option| QUOTED_STRING_EXPR of string * Ocaml_parsing.Location.t * string * Ocaml_parsing.Location.t * string option| QUOTE| QUESTION| PRIVATE| PREFIXOP of string| POLY| PLUSEQ| PLUSDOT| PLUS| PERCENT| OVERWRITE| OR| OPTLABEL of string| OPEN| OF| OBJECT| NONREC| NEW| MUTABLE| MODULE| MOD| MINUSGREATER| MINUSDOT| MINUS| METHOD| MATCH| LPAREN| LOCAL| LIDENT of string| LETOP of string| LET| LESSMINUS| LESSLBRACKET| LESS| LBRACKETPERCENTPERCENT| LBRACKETPERCENT| LBRACKETLESS| LBRACKETGREATER| LBRACKETCOLON| LBRACKETBAR| LBRACKETATATAT| LBRACKETATAT| LBRACKETAT| LBRACKET| LBRACELESS| LBRACE| LAZY| LAYOUT| LABEL of string| KIND_OF| KIND| INT of string * char option| INITIALIZER| INHERIT| INFIXOP4 of string| INFIXOP3 of string| INFIXOP2 of string| INFIXOP1 of string| INFIXOP0 of string| INCLUDE| IN| IF| HASH_SUFFIX| HASH_INT of string * char option| HASH_FLOAT of string * char option| HASH_CHAR of char| HASHTRUE| HASHOP of string| HASHLPAREN| HASHLBRACE| HASHFALSE| HASH| GREATERRBRACKET| GREATERRBRACE| GREATERDOT| GREATER| GLOBAL| FUNCTOR| FUNCTION| FUN| FOR| FLOAT of string * char option| FALSE| EXTERNAL| EXCLAVE| EXCEPTION| EQUAL| EOL| EOF| END| ELSE| DOWNTO| DOTTILDE| DOTOP of string| DOTLESS| DOTHASH| DOTDOT| DOT| DONE| DOLLAR| DOCSTRING of Ocaml_parsing.Docstrings.docstring| DO| CONSTRAINT| COMMENT of string * Ocaml_parsing.Location.t| COMMA| COLONRBRACKET| COLONGREATER| COLONEQUAL| COLONCOLON| COLON| CLASS| CHAR of char| BORROW| BEGIN| BARRBRACKET| BARBAR| BAR| BANG| BACKQUOTE| ATAT| AT| ASSERT| AS| ANDOP of string| AND| AMPERSAND| AMPERAMPER
Source
val use_file :
(Lexing.lexbuf -> token) ->
Lexing.lexbuf ->
Ocaml_parsing.Parsetree.toplevel_phrase listSource
val toplevel_phrase :
(Lexing.lexbuf -> token) ->
Lexing.lexbuf ->
Ocaml_parsing.Parsetree.toplevel_phraseSource
val parse_val_longident :
(Lexing.lexbuf -> token) ->
Lexing.lexbuf ->
Ocaml_parsing.Longident.tSource
val parse_pattern :
(Lexing.lexbuf -> token) ->
Lexing.lexbuf ->
Ocaml_parsing.Parsetree.patternSource
val parse_mty_longident :
(Lexing.lexbuf -> token) ->
Lexing.lexbuf ->
Ocaml_parsing.Longident.tSource
val parse_module_type :
(Lexing.lexbuf -> token) ->
Lexing.lexbuf ->
Ocaml_parsing.Parsetree.module_typeSource
val parse_module_expr :
(Lexing.lexbuf -> token) ->
Lexing.lexbuf ->
Ocaml_parsing.Parsetree.module_exprSource
val parse_mod_longident :
(Lexing.lexbuf -> token) ->
Lexing.lexbuf ->
Ocaml_parsing.Longident.tSource
val parse_mod_ext_longident :
(Lexing.lexbuf -> token) ->
Lexing.lexbuf ->
Ocaml_parsing.Longident.tSource
val parse_expression :
(Lexing.lexbuf -> token) ->
Lexing.lexbuf ->
Ocaml_parsing.Parsetree.expressionSource
val parse_core_type :
(Lexing.lexbuf -> token) ->
Lexing.lexbuf ->
Ocaml_parsing.Parsetree.core_typeSource
val parse_constr_longident :
(Lexing.lexbuf -> token) ->
Lexing.lexbuf ->
Ocaml_parsing.Longident.tSource
val parse_any_longident :
(Lexing.lexbuf -> token) ->
Lexing.lexbuf ->
Ocaml_parsing.Longident.tSource
val interface :
(Lexing.lexbuf -> token) ->
Lexing.lexbuf ->
Ocaml_parsing.Parsetree.signatureSource
val implementation :
(Lexing.lexbuf -> token) ->
Lexing.lexbuf ->
Ocaml_parsing.Parsetree.structure