public override void Visit(TableArraySyntax table) { VerifyTable(table); var savedPath = _currentPath.Clone(); if (table.Name == null || !KeyNameToObjectPath(table.Name, ObjectKind.Table)) { return; } var currentArrayTable = AddObjectPath(table, ObjectKind.TableArray, true); var savedIndex = _currentArrayIndex; _currentArrayIndex = currentArrayTable.ArrayIndex; base.Visit(table); currentArrayTable.ArrayIndex++; _currentArrayIndex = savedIndex; _currentPath = savedPath; }
public virtual void Visit(TableArraySyntax table) { DefaultVisit(table); }