method SyntaxToken.prototype.toString
SyntaxToken.prototype.toString(): string

Converts the token to a string representation, including leading and trailing trivia.

Return Type

string

The string representation of the token.

Usage

import { SyntaxToken } from ".";