token

fun <S> token(input: List<S>): Parser<S, List<S>>

Creates a parser that matches a specific sequence of tokens.

Return

A parser that matches the given sequence of tokens.

Parameters

input

The sequence of tokens to match.