⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 engine-sig.sml

📁 这是我们参加06年全国开源软件的竞赛作品
💻 SML
字号:
(* engine-sig.sml * * COPYRIGHT (c) 1998 Bell Labs, Lucent Technologies. *)signature REGEXP_ENGINE =    sig	type regexp	    (* the type of a compiled regular expression	     *)	val compile : RegExpSyntax.syntax -> regexp	    (* compile a regular expression from the abstract syntax	     *)	val find : regexp -> 	              (char,'a) StringCvt.reader ->		      ({pos : 'a, len : int} option MatchTree.match_tree,'a) StringCvt.reader	    (* scan the stream for the first occurence of the regular expression	     *)	    	val prefix : regexp ->	                (char,'a) StringCvt.reader ->			({pos : 'a, len : int} option MatchTree.match_tree,'a) StringCvt.reader	    (* attempt to match the stream at the current position with the	     * regular expression	     *)	val match : (RegExpSyntax.syntax *                      ({pos: 'a, len:int} option MatchTree.match_tree -> 'b)) list -> 	                 (char,'a) StringCvt.reader -> ('b, 'a) StringCvt.reader            (* attempt to the match the stream at the current position with one of	     * the abstract syntax representations of regular expressions and trigger	     * the corresponding action	     *)    end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -