CodeToken constructor

const CodeToken(
  1. String text,
  2. TokenKind kind
)

Creates a token spanning text with syntactic kind kind.

Implementation

const CodeToken(this.text, this.kind);