Java Script Declaration Syntax Generator Class
This is a JavaScript declaration syntax generator that is used to add a JavaScript Syntax section to
each generated API topic.
Definition
Namespace: Sandcastle.Tools.SyntaxGenerators
Assembly: Sandcastle.Tools.SyntaxGenerators (in Sandcastle.Tools.SyntaxGenerators.dll) Version: 2026.1.20.0
Assembly: Sandcastle.Tools.SyntaxGenerators (in Sandcastle.Tools.SyntaxGenerators.dll) Version: 2026.1.20.0
C#
public sealed class JavaScriptDeclarationSyntaxGenerator : SyntaxGeneratorTemplateVB
Public NotInheritable Class JavaScriptDeclarationSyntaxGenerator
Inherits SyntaxGeneratorTemplateC++
public ref class JavaScriptDeclarationSyntaxGenerator sealed : public SyntaxGeneratorTemplateF#
[<SealedAttribute>]
type JavaScriptDeclarationSyntaxGenerator =
class
inherit SyntaxGeneratorTemplate
end- Inheritance
- Object SyntaxGeneratorCore SyntaxGeneratorTemplate JavaScriptDeclarationSyntaxGenerator
Remarks
This version differs from the ScriptSharpDeclarationSyntaxGenerator in that it looks for a <scriptSharp /> element in the <api> node and, if found, only then will it apply the casing rules to the member name. If not present, no casing rules are applied to the member names thus it is suitable for use with regular JavaScript such as that used in AjaxDoc projects.
In order to use this script generator with Script# content, the Sandcastle reflection data file must first be transformed using the Script# Reflection File Fixer plug-in so that the necessary changes are made to it.
Constructors
| JavaScriptDeclarationSyntaxGenerator | Initializes a new instance of the JavaScriptDeclarationSyntaxGenerator class |
Properties
| Language |
This is used to get or set the language name
(Inherited from SyntaxGeneratorTemplate) |
| StyleId |
This is used to get or set the style ID
(Inherited from SyntaxGeneratorTemplate) |