{ "kind": "SourceFile", "statements": [{ "kind": "ImportDeclaration", "importClause": { "kind": "ImportClause", "isTypeOnly": false, "namedBindings": { "kind": "NamedImports", "elements": [{ "kind": "ImportSpecifier", "isTypeOnly": false, "propertyName": { "kind": "Identifier", "escapedText": "Blueprint", "id": 6 }, "name": { "kind": "Identifier", "escapedText": "ParentBlueprint", "id": 7 }, "id": 5 }, { "kind": "ImportSpecifier", "isTypeOnly": false, "propertyName": { "kind": "Identifier", "escapedText": "Options", "id": 9 }, "name": { "kind": "Identifier", "escapedText": "ParentOptions", "id": 10 }, "id": 8 }, { "kind": "ImportSpecifier", "isTypeOnly": false, "propertyName": { "kind": "Identifier", "escapedText": "ParentOptions", "id": 12 }, "name": { "kind": "Identifier", "escapedText": "SomeTypeReference", "id": 13 }, "id": 11 }], "id": 4 }, "id": 3 }, "moduleSpecifier": { "kind": "StringLiteral", "text": "@amazon-codecatalyst/blueprints.blueprint", "hasExtendedUnicodeEscape": false, "id": 14 }, "id": 2 }, { "kind": "InterfaceDeclaration", "modifiers": [{ "kind": "ExportKeyword", "id": 16 }], "name": { "kind": "Identifier", "escapedText": "Options", "id": 17 }, "heritageClauses": [{ "kind": "HeritageClause", "token": 94, "types": [{ "kind": "ExpressionWithTypeArguments", "expression": { "kind": "Identifier", "escapedText": "ParentOptions", "id": 20 }, "id": 19 }], "id": 18 }], "members": [{ "kind": "PropertySignature", "name": { "kind": "Identifier", "escapedText": "unionfield", "id": 22 }, "type": { "kind": "UnionType", "types": [{ "kind": "LiteralType", "literal": { "kind": "StringLiteral", "text": "A", "hasExtendedUnicodeEscape": false, "id": 25 }, "id": 24 }, { "kind": "LiteralType", "literal": { "kind": "StringLiteral", "text": "B", "hasExtendedUnicodeEscape": false, "id": 27 }, "id": 26 }, { "kind": "LiteralType", "literal": { "kind": "StringLiteral", "text": "C", "hasExtendedUnicodeEscape": false, "id": 29 }, "id": 28 }], "id": 23 }, "jsDoc": [{ "kind": "JSDocComment", "comment": "This should be a comment" }], "id": 21 }], "jsDoc": [{ "kind": "JSDocComment", "comment": "This is the 'Options' interface. The 'Options' interface is interpreted by the wizard to dynamically generate a selection UI.\n1. It MUST be called 'Options' in order to be interpreted by the wizard\n2. This is how you control the fields that show up on a wizard selection panel. Keeping this small leads to a better user experience.\n3. You can use JSDOCs and annotations such as: '?', @advanced, @hidden, @display - textarea, etc. to control how the wizard displays certain fields.\n4. All required members of 'Options' must be defined in 'defaults.json' to synth your blueprint locally\n5. The 'Options' member values defined in 'defaults.json' will be used to populate the wizard selection panel with default values" }], "id": 15 }, { "kind": "ClassDeclaration", "modifiers": [{ "kind": "ExportKeyword", "id": 31 }, { "kind": "DeclareKeyword", "id": 32 }], "name": { "kind": "Identifier", "escapedText": "Blueprint", "id": 33 }, "heritageClauses": [{ "kind": "HeritageClause", "token": 94, "types": [{ "kind": "ExpressionWithTypeArguments", "expression": { "kind": "Identifier", "escapedText": "ParentBlueprint", "id": 36 }, "id": 35 }], "id": 34 }], "members": [{ "kind": "Constructor", "parameters": [{ "kind": "Parameter", "name": { "kind": "Identifier", "escapedText": "options_", "id": 39 }, "type": { "kind": "AnyKeyword", "id": 40 }, "id": 38 }], "id": 37 }], "jsDoc": [{ "kind": "JSDocComment", "comment": "This is the actual blueprint class.\n1. This MUST be the only 'class' exported, as 'Blueprint'\n2. This Blueprint should extend another ParentBlueprint" }], "id": 30 }], "endOfFileToken": { "kind": "EndOfFileToken", "id": 41 }, "fileName": "temp-ast.d.ts", "languageVersion": 99, "languageVariant": 0, "scriptKind": 3, "isDeclarationFile": true, "hasNoDefaultLib": false, "bindDiagnostics": [], "pragmas": {}, "referencedFiles": [], "typeReferenceDirectives": [], "libReferenceDirectives": [], "amdDependencies": [], "nodeCount": 47, "identifierCount": 12, "identifiers": {}, "parseDiagnostics": [], "id": 1 }
