-
Notifications
You must be signed in to change notification settings - Fork 38
CodeObject Derived Classes Not Supported
fonlow edited this page Feb 2, 2024
·
4 revisions
CodeDOM features applicable to TypeScript but not supported in TypeScriptCodeDom
- CodeGotoStatement
- CodeLabeledStatement
Remarks:
If you need to utilize these CodeDOM features for generating TypeScript codes, please raise some issues or vote existing ones. Alternatively you may download the source codes and add the feature needed. For quick fix, you may just use CodeSnippetExpression or CodeSnippetStatement.
- CodeAttributeArgument, CodeAttributeArgumentCollection
- CodeCatchClauseCollection
- CodeDefaultValueExpression
- CodeChecksumPragma
- CodeDirectionExpression
- CodeDirective, CodeDirectiveCollection
- CodeLinePragma
- CodeMemberEvent
- CodePropertySetValueReferenceExpression
- CodeSnippetCompileUnit
- CodeTypeDelegate
- CodeEntryPointMethod
- FieldDirection
- CodeTypeConstructor. Static constructor could has another approach as described in https://github.com/Microsoft/TypeScript/issues/265
- CodeNamespaceImport
- CodePropertySetValueReferenceExpression
- CodeMemberMethod.TypeParameters
- Nested CodeTypeDeclaration
- CodeEventReferenceExpression
- CodeAttachEventStatement
- CodeRemoveEventStatement
- CodeDelegateCreateExpression
- CodeDelegateInvokeExpression
Events in Javascript are basically HTML DOM things, and TypeScript hasn't got its own event bus.