Handle variables

This commit is contained in:
2018-11-10 17:00:39 +01:00
parent 0693698f28
commit ab61a01573
16 changed files with 266 additions and 23 deletions

View File

@@ -16,6 +16,10 @@ namespace Upsilon.Utilities
sb.Append("|-- ");
}
sb.Append(token.Kind);
if (token is SyntaxToken node && node.Value != null)
{
sb.Append($" - {node.Value}");
}
foreach (var syntaxNode in token.ChildNodes())
{
sb.Append("\n");