C-minor v0.0

Tokenizer.DescribeToken Method

Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor.Lexical
Declaring Type: Tokenizer

Provdes a description of the current token

public static string DescribeToken(Token token, string raw = null);

Parameters

Token token

The token

string raw = null

The raw text associated with the token

Returns

string

A string description