From ae80c1c7e4eb8370df3e1a7f21cc26ee4fbe3f15 Mon Sep 17 00:00:00 2001 From: NeVeSpl Date: Sun, 24 Mar 2024 13:38:18 +0100 Subject: [PATCH] update docs --- Documentation/BuiltInFunctions.md | 2 +- Documentation/CodeModel.md | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Documentation/BuiltInFunctions.md b/Documentation/BuiltInFunctions.md index b18f6e3..ea142a4 100644 --- a/Documentation/BuiltInFunctions.md +++ b/Documentation/BuiltInFunctions.md @@ -477,7 +477,7 @@ Filters symbols by the beginning of their name IEnumerable Type.AllReferencedTypes(IType type, SearchIn searchIn = SearchIn.All) ``` Returns all types that are used in definition of a given type. -[[source code](/NTypewriter.CodeModel.Functions/TypeFunctions.AllReferencedTypes.cs#L45)] +[[source code](/NTypewriter.CodeModel.Functions/TypeFunctions.AllReferencedTypes.cs#L49)] #### ToTypeScriptDefault diff --git a/Documentation/CodeModel.md b/Documentation/CodeModel.md index fe99c8a..4a981c4 100644 --- a/Documentation/CodeModel.md +++ b/Documentation/CodeModel.md @@ -234,6 +234,7 @@ Property | Description | Returns --------|---------|----------- IsAsync | Determines if the method is an async method | `bool` IsGeneric | Determines if the method is generic (it has any type parameters) | `bool` +IsInitOnly | Returns true for 'init' set accessors, and false otherwise. | `bool` IsOverride | Determines if the method is override | `bool` IsSealed | Determines if the method is sealed | `bool` Parameters | All parameters of the method. | [`IEnumerable`](#IParameter) @@ -283,10 +284,12 @@ Represents a property. Property | Description | Returns --------|---------|----------- +GetMethod | Getter | [`IMethod`](#IMethod) IsIndexer | Determines if the property is really an indexer. | `bool` IsReadOnly | Determines if the property is a read-only property | `bool` IsSealed | Determines if the property is sealed | `bool` IsWriteOnly | Determines if the property is a write-only property | `bool` +SetMethod | Setter | [`IMethod`](#IMethod) Type | The type of the property. | [`IType`](#IType) @@ -333,8 +336,13 @@ IsArray | Determines if the symbol is an array | `bool` IsErrorType | Determines if the symbol represents an error in syntax; | `bool` IsEvent | Determines if the symbol is an event | `bool` IsField | Determines if the symbol is a field | `bool` +IsInternal | Determines if the symbol is internal | `bool` IsMethod | Determines if the symbol is a method | `bool` +IsPrivate | Determines if the symbol is private | `bool` +IsPrivateProtected | Determines if the symbol is private protected | `bool` IsProperty | Determines if the symbol is a property | `bool` +IsProtected | Determines if the symbol is protected | `bool` +IsProtectedInternal | Determines if the symbol is protected internal | `bool` IsPublic | Determines if the symbol is public | `bool` IsStatic | Determines if the symbol is static | `bool` IsTypeParameter | Determines if the symbol is a type parameter | `bool`