TokenTagToken constructor

TokenTagToken(
  1. String tokenName,
  2. dynamic type, [
  3. String? label
])

Constructs a new instance of TokenTagToken with the specified token name, type, and label.

@param tokenName The token name. @param type The token type. @param label The label associated with the token tag, or null if the token tag is unlabeled.

Implementation

TokenTagToken(this.tokenName, type, [this.label]) : super(type);