예제 #1
0
 public override void Visit(TableArraySyntax table)
 {
     _currentTable = _rootTable;
     _currentTable = SetKeyValue(table.Name, null, table.Kind);
     base.Visit(table);
 }
예제 #2
0
 public SyntaxTransform(TomlTable rootTable)
 {
     _rootTable    = rootTable ?? throw new ArgumentNullException(nameof(rootTable));
     _currentTable = _rootTable;
 }