Lines Matching refs:Terminator

2317     private struct ByLineImpl(Char, Terminator)  in ByLineImpl()
2329 static if (isScalarType!Terminator) in ByLineImpl()
2332 enum defTerm = cast(Terminator)"\n"; in ByLineImpl()
2336 Terminator terminator = defTerm) in ByLineImpl()
2363 Terminator terminator; in ByLineImpl()
2368 this(File f, KeepTerminator kt, Terminator terminator) in ByLineImpl()
2415 static if (isScalarType!Terminator) in ByLineImpl()
2417 else static if (isArray!Terminator) in ByLineImpl()
2420 is(immutable ElementEncodingType!Terminator == immutable Char)); in ByLineImpl()
2492 auto byLine(Terminator = char, Char = char)
2494 Terminator terminator = '\n')
2495 if (isScalarType!Terminator)
2497 return ByLineImpl!(Char, Terminator)(this, keepTerminator, terminator);
2501 auto byLine(Terminator, Char = char)
2502 (KeepTerminator keepTerminator, Terminator terminator)
2503 if (is(immutable ElementEncodingType!Terminator == immutable Char))
2505 return ByLineImpl!(Char, Terminator)(this, keepTerminator, terminator);
2539 private struct ByLineCopy(Char, Terminator)
2548 alias Impl = RefCounted!(ByLineCopyImpl!(Char, Terminator),
2553 this(File f, KeepTerminator kt, Terminator terminator)
2574 private struct ByLineCopyImpl(Char, Terminator)
2576 ByLineImpl!(Unqual!Char, Terminator).Impl impl;
2581 this(File f, KeepTerminator kt, Terminator terminator)
2583 impl = ByLineImpl!(Unqual!Char, Terminator).Impl(f, kt, terminator);
2645 auto byLineCopy(Terminator = char, Char = immutable char)
2647 Terminator terminator = '\n')
2648 if (isScalarType!Terminator)
2650 return ByLineCopy!(Char, Terminator)(this, keepTerminator, terminator);
2654 auto byLineCopy(Terminator, Char = immutable char)
2655 (KeepTerminator keepTerminator, Terminator terminator)
2656 if (is(immutable ElementEncodingType!Terminator == immutable Char))
2658 return ByLineCopy!(Char, Terminator)(this, keepTerminator, terminator);
2688 void test(Terminator)(string txt, in string[] witness,
2689 KeepTerminator kt, Terminator term, bool popFirstLine = false)