parsers

template parsers (
Stream
) if (
!is(Stream == string)
) {}

Members

Functions

eof
auto eof()

Zero-width assertion that parses successfully on input end. Use to make sure the whole stream was consumed.

stk
auto stk()

Single element token, skipping any whitespace at front.

tk
auto tk()

Single element token.

Meta