Matcher.accept

Checks if s is an accepted values.

class Matcher(T)
abstract
void
accept
(
string context
,
T v
)

Parameters

context string

some context information for error messages

v T

what to check

Throws

Exception if not accepted.

Meta