IgnoredToken

halotukozak.alpaca.IgnoredToken
final class IgnoredToken[+Ctx <: LexerCtx] extends Token[ValidName, Ctx, Nothing]

What Token.Ignored returns inside a lexer block: its matches are consumed but produce no lexeme. Use it for whitespace, comments and anything else the parser should not see.

Type parameters

Ctx

the lexer context type

Attributes

Source
lexer.scala
Graph
Supertypes
class Token[ValidName, Ctx, Nothing]
class Object
trait Matchable
class Any
In this article