{ key.offset: 0, key.length: 82, key.diagnostic_stage: source.diagnostic.stage.swift.parse, key.substructure: [ { key.kind: source.lang.swift.decl.class, key.accessibility: source.lang.swift.accessibility.internal, key.name: "3", key.offset: 0, key.length: 10, key.nameoffset: 6, key.namelength: 1, key.bodyoffset: 9, key.bodylength: 0 }, { key.kind: source.lang.swift.decl.extension, key.name: "OuterCls", key.offset: 12, key.length: 43, key.nameoffset: 22, key.namelength: 8, key.bodyoffset: 32, key.bodylength: 22, key.substructure: [ { key.kind: source.lang.swift.decl.class, key.accessibility: source.lang.swift.accessibility.internal, key.name: "InnerCls1", key.offset: 35, key.length: 18, key.nameoffset: 41, key.namelength: 9, key.bodyoffset: 52, key.bodylength: 0 } ] }, { key.kind: source.lang.swift.stmt.brace, key.offset: 57, key.length: 24, key.nameoffset: 0, key.namelength: 0, key.bodyoffset: 58, key.bodylength: 22, key.substructure: [ { key.kind: source.lang.swift.decl.class, key.accessibility: source.lang.swift.accessibility.private, key.name: "MyCoolClass", key.offset: 59, key.length: 22, key.nameoffset: 65, key.namelength: 11, key.bodyoffset: 78, key.bodylength: 2 } ] } ], key.diagnostics: [ { key.line: 1, key.column: 7, key.filepath: invalid.swift, key.severity: source.diagnostic.severity.error, key.description: "class name can only start with a letter or underscore, not a number", key.diagnostic_stage: source.diagnostic.stage.swift.parse }, { key.line: 7, key.column: 1, key.filepath: invalid.swift, key.severity: source.diagnostic.severity.error, key.description: "top-level statement cannot begin with a closure expression", key.diagnostic_stage: source.diagnostic.stage.swift.parse }, { key.line: 11, key.column: 1, key.filepath: invalid.swift, key.severity: source.diagnostic.severity.error, key.description: "expected '}' at end of closure", key.diagnostic_stage: source.diagnostic.stage.swift.parse, key.diagnostics: [ { key.line: 7, key.column: 1, key.filepath: invalid.swift, key.severity: source.diagnostic.severity.note, key.description: "to match this opening '{'" } ] } ] }