anyOf

fun anyOf(vararg s: String): TokenRecognizer

Create a recognizer that recognizes any of the strings provided as parameters.

Return

A string recognizer. Use isToken to make it a usable matcher.

Parameters

s

Strings that should be recognized