return structure;
}
private void addSegmentForTable(Node tableNode, String parentName, ComplexTextStructure structure, Set<String> identifiers) {
DatabaseObject table = tableNode.getTable();
SchemaAndTableNameSeparator nameSeparator = new SchemaAndTableNameSeparator(table.getName(), quotes);
String tableName = nameSeparator.getTable();
String id = getSegmentId(tableName, identifiers);
Segment segment = createSegment(table, id);
String segmentName = TextStructureNameUtils.replaceIllegalCharacters(tableName);
segment.setName(segmentName);
segment.setParentName(parentName);