diff options
Diffstat (limited to 'lib/qparser/lex_state.mli')
-rw-r--r-- | lib/qparser/lex_state.mli | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/qparser/lex_state.mli b/lib/qparser/lex_state.mli new file mode 100644 index 0000000..1e69faf --- /dev/null +++ b/lib/qparser/lex_state.mli @@ -0,0 +1,14 @@ +(** This module keep a track of the different way to start, escape and end a + string in the lexer. + + Depending on how the string was started (a single quote or double quote), + we have differents caracters for every of thoses actions. +*) + +val defaultWraper : Lexbuf.stringWraper +(** The default string lexer. Used when we start the lexing. *) + +val quotedStringWraper : Lexbuf.stringWraper +val nestedQuotedStringWraper : Lexbuf.stringWraper +val dQuotedStringWraper : Lexbuf.stringWraper +val readLongStringWraper : Lexbuf.stringWraper |