Matcher.accept

Checks if s is an accepted values.

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

Parameters

context
Type: string

some context information for error messages

v
Type: T

what to check

Throws

Exception if not accepted.

Meta