Method Syntax
Syntax(string?)
Formats a syntax error naming the offending token, as Word does.
public static string Syntax(string? token)
Parameters
tokenstringThe token at which parsing failed.
Returns
- string
The error text.
Formats a syntax error naming the offending token, as Word does.
public static string Syntax(string? token)
token stringThe token at which parsing failed.
The error text.