Home
last modified time | relevance | path

Searched refs:ThompsonMatcher (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/regex/
H A Dpackage.d700 @trusted public struct RegexMatch(R, alias Engine = ThompsonMatcher) in foreach()
848 assert(!"abc".matchOnce!(ThompsonMatcher)(re).empty);
849 assert("abc".matchOnce!(ThompsonMatcher)(re)[0] == "abc");
943 import std.regex.internal.thompson : ThompsonMatcher;
944 return RegexMatch!(Unqual!(typeof(input)),ThompsonMatcher)(input, re);
951 import std.regex.internal.thompson : ThompsonMatcher;
952 return RegexMatch!(Unqual!(typeof(input)),ThompsonMatcher)(input, regex(re));
1034 import std.regex.internal.thompson : ThompsonMatcher;
1035 return matchMany!ThompsonMatcher(input, re);
1042 import std.regex.internal.thompson : ThompsonMatcher;
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/regex/internal/
H A Dthompson.d715 @trusted class ThompsonMatcher(Char, StreamType = Input!Char): Matcher!Char
720 alias OpFunc = bool function(ThompsonMatcher, State*) pure;
721 alias BackMatcher = ThompsonMatcher!(Char, BackLooper!(Stream));
874 this(ThompsonMatcher matcher, size_t lo, size_t hi, uint nGroup, Stream stream) in this()
912 auto m = new ThompsonMatcher!(Char, Stream)(this, lo, hi, nGroup, s); in fwdMatcher()
920 auto m = new ThompsonMatcher!(Char, BackLooper)(this, lo, hi, nGroup, s.loopBack(index)); in bwdMatcher()
928 auto thompson = cast(ThompsonMatcher) engine;
1072 alias Ops(bool withInput) = ThompsonOps!(ThompsonMatcher, State, withInput);
H A Dir.d550 import std.regex.internal.thompson : ThompsonMatcher; in defaultFactoryImpl()
563 thompsonFactory = new RuntimeFactory!(ThompsonMatcher, Char); in defaultFactoryImpl()
H A Dparser.d16 import std.regex.internal.thompson : ThompsonMatcher; in makeRegex()
38 factory = new RuntimeFactory!(ThompsonMatcher, Char); in makeRegex()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/regex/internal/
H A Dthompson.d717 @trusted struct ThompsonMatcher(Char, StreamType = Input!Char) struct
722 alias OpFunc = bool function(ThompsonMatcher*, State*); argument
723 alias BackMatcher = ThompsonMatcher!(Char, BackLooper!(Stream)); argument
854 this(ref ThompsonMatcher matcher, size_t lo, size_t hi, Stream stream) in this() argument
888 auto m = ThompsonMatcher!(Char, Stream)(this, lo, hi, s); in fwdMatcher() argument
896 auto m = ThompsonMatcher!(Char, BackLooper)(this, lo, hi, s.loopBack(index)); in bwdMatcher() argument
1044 alias Ops(bool withInput) = ThompsonOps!(ThompsonMatcher, State, withInput); argument