---
jsApi: true
title: "[P] JS Api"

---
## Index

### Namespaces

- [decorators](Namespace.decorators.md)

### Enumerations

- [IdentifierKind](Enumeration.IdentifierKind.md)
- [KeywordLimit](Enumeration.KeywordLimit.md)
- [ListenerFlow](Enumeration.ListenerFlow.md)
- [ModifierFlags](Enumeration.ModifierFlags.md)
- [NodeFlags](Enumeration.NodeFlags.md)
- [SemanticTokenKind](Enumeration.SemanticTokenKind.md)
- [SymbolFlags](Enumeration.SymbolFlags.md)
- [SyntaxKind](Enumeration.SyntaxKind.md)
- [Token](Enumeration.Token.md)
- [TokenFlags](Enumeration.TokenFlags.md)
- [UsageFlags](Enumeration.UsageFlags.md)

### Classes

- [DuplicateTracker](Class.DuplicateTracker.md)
- [EventEmitter](Class.EventEmitter.md)
- [InvalidEncodingError](Class.InvalidEncodingError.md)
- [ProjectionError](Class.ProjectionError.md)
- [Queue](Class.Queue.md)
- [ResolveModuleError](Class.ResolveModuleError.md)

### Interfaces

- [AliasStatementNode](Interface.AliasStatementNode.md)
- [AnyKeywordNode](Interface.AnyKeywordNode.md)
- [ArrayExpressionNode](Interface.ArrayExpressionNode.md)
- [ArrayModelType](Interface.ArrayModelType.md)
- [AugmentDecoratorStatementNode](Interface.AugmentDecoratorStatementNode.md)
- [BaseNode](Interface.BaseNode.md)
- [BaseType](Interface.BaseType.md)
- [BlockComment](Interface.BlockComment.md)
- [BooleanLiteral](Interface.BooleanLiteral.md)
- [BooleanLiteralNode](Interface.BooleanLiteralNode.md)
- [CallableMessage](Interface.CallableMessage.md)
- [Checker](Interface.Checker.md)
- [CompilerHost](Interface.CompilerHost.md)
- [CompilerLocationContext](Interface.CompilerLocationContext.md)
- [CompilerOptions](Interface.CompilerOptions.md)
- [DeclarationNode](Interface.DeclarationNode.md)
- [DecoratedType](Interface.DecoratedType.md)
- [Decorator](Interface.Decorator.md)
- [DecoratorApplication](Interface.DecoratorApplication.md)
- [DecoratorArgument](Interface.DecoratorArgument.md)
- [DecoratorContext](Interface.DecoratorContext.md)
- [DecoratorDeclarationStatementNode](Interface.DecoratorDeclarationStatementNode.md)
- [DecoratorDefinition](Interface.DecoratorDefinition.md)
- [DecoratorExpressionNode](Interface.DecoratorExpressionNode.md)
- [DecoratorFunction](Interface.DecoratorFunction.md)
- [DecoratorParamDefinition](Interface.DecoratorParamDefinition.md)
- [DecoratorValidator](Interface.DecoratorValidator.md)
- [DeprecatedDirective](Interface.DeprecatedDirective.md)
- [DeprecationDetails](Interface.DeprecationDetails.md)
- [Diagnostic](Interface.Diagnostic.md)
- [DiagnosticCollector](Interface.DiagnosticCollector.md)
- [DiagnosticCreator](Interface.DiagnosticCreator.md)
- [DiagnosticDefinition](Interface.DiagnosticDefinition.md)
- [DiagnosticMessages](Interface.DiagnosticMessages.md)
- [DirectiveBase](Interface.DirectiveBase.md)
- [DirectiveExpressionNode](Interface.DirectiveExpressionNode.md)
- [Dirent](Interface.Dirent.md)
- [DiscriminatedUnion](Interface.DiscriminatedUnion.md)
- [DocNode](Interface.DocNode.md)
- [DocParamTagNode](Interface.DocParamTagNode.md)
- [DocReturnsTagNode](Interface.DocReturnsTagNode.md)
- [DocTagBaseNode](Interface.DocTagBaseNode.md)
- [DocTemplateTagNode](Interface.DocTemplateTagNode.md)
- [DocTextNode](Interface.DocTextNode.md)
- [DocUnknownTagNode](Interface.DocUnknownTagNode.md)
- [EmitContext](Interface.EmitContext.md)
- [EmitFileOptions](Interface.EmitFileOptions.md)
- [EmptyStatementNode](Interface.EmptyStatementNode.md)
- [Enum](Interface.Enum.md)
- [EnumMember](Interface.EnumMember.md)
- [EnumMemberNode](Interface.EnumMemberNode.md)
- [EnumSpreadMemberNode](Interface.EnumSpreadMemberNode.md)
- [EnumStatementNode](Interface.EnumStatementNode.md)
- [ErrorType](Interface.ErrorType.md)
- [ExternKeywordNode](Interface.ExternKeywordNode.md)
- [FileLibraryMetadata](Interface.FileLibraryMetadata.md)
- [FunctionDeclarationStatementNode](Interface.FunctionDeclarationStatementNode.md)
- [FunctionParameter](Interface.FunctionParameter.md)
- [FunctionParameterNode](Interface.FunctionParameterNode.md)
- [FunctionType](Interface.FunctionType.md)
- [IdentifierContext](Interface.IdentifierContext.md)
- [IdentifierNode](Interface.IdentifierNode.md)
- [ImportStatementNode](Interface.ImportStatementNode.md)
- [Interface](Interface.Interface.md)
- [InterfaceStatementNode](Interface.InterfaceStatementNode.md)
- [IntersectionExpressionNode](Interface.IntersectionExpressionNode.md)
- [IntrinsicType](Interface.IntrinsicType.md)
- [InvalidStatementNode](Interface.InvalidStatementNode.md)
- [JSONSchemaValidator](Interface.JSONSchemaValidator.md)
- [JsNamespaceDeclarationNode](Interface.JsNamespaceDeclarationNode.md)
- [JsSourceFileNode](Interface.JsSourceFileNode.md)
- [LibraryInstance](Interface.LibraryInstance.md)
- [LibraryLocationContext](Interface.LibraryLocationContext.md)
- [LineAndCharacter](Interface.LineAndCharacter.md)
- [LineComment](Interface.LineComment.md)
- [LinterDefinition](Interface.LinterDefinition.md)
- [LinterRule](Interface.LinterRule.md)
- [LinterRuleContext](Interface.LinterRuleContext.md)
- [LinterRuleDefinition](Interface.LinterRuleDefinition.md)
- [LinterRuleSet](Interface.LinterRuleSet.md)
- [ListOperationOptions](Interface.ListOperationOptions.md)
- [LogInfo](Interface.LogInfo.md)
- [LogSink](Interface.LogSink.md)
- [Logger](Interface.Logger.md)
- [MemberExpressionNode](Interface.MemberExpressionNode.md)
- [Model](Interface.Model.md)
- [ModelExpressionNode](Interface.ModelExpressionNode.md)
- [ModelProperty](Interface.ModelProperty.md)
- [ModelPropertyNode](Interface.ModelPropertyNode.md)
- [ModelSpreadPropertyNode](Interface.ModelSpreadPropertyNode.md)
- [ModelStatementNode](Interface.ModelStatementNode.md)
- [ModuleLibraryMetadata](Interface.ModuleLibraryMetadata.md)
- [Namespace](Interface.Namespace.md)
- [NamespaceNavigationOptions](Interface.NamespaceNavigationOptions.md)
- [NamespaceStatementNode](Interface.NamespaceStatementNode.md)
- [NavigationOptions](Interface.NavigationOptions.md)
- [NeverKeywordNode](Interface.NeverKeywordNode.md)
- [NeverType](Interface.NeverType.md)
- [NodePackage](Interface.NodePackage.md)
- [NullType](Interface.NullType.md)
- [NumericLiteral](Interface.NumericLiteral.md)
- [NumericLiteralNode](Interface.NumericLiteralNode.md)
- [ObjectType](Interface.ObjectType.md)
- [Operation](Interface.Operation.md)
- [OperationSignatureDeclarationNode](Interface.OperationSignatureDeclarationNode.md)
- [OperationSignatureReferenceNode](Interface.OperationSignatureReferenceNode.md)
- [OperationStatementNode](Interface.OperationStatementNode.md)
- [ParseOptions](Interface.ParseOptions.md)
- [ProcessedLog](Interface.ProcessedLog.md)
- [Program](Interface.Program.md)
- [ProjectLocationContext](Interface.ProjectLocationContext.md)
- [ProjectedNameView](Interface.ProjectedNameView.md)
- [ProjectedProgram](Interface.ProjectedProgram.md)
- [Projection](Interface.Projection.md)
- [ProjectionApplication](Interface.ProjectionApplication.md)
- [ProjectionArithmeticExpressionNode](Interface.ProjectionArithmeticExpressionNode.md)
- [ProjectionBlockExpressionNode](Interface.ProjectionBlockExpressionNode.md)
- [ProjectionCallExpressionNode](Interface.ProjectionCallExpressionNode.md)
- [ProjectionDecoratorReferenceExpressionNode](Interface.ProjectionDecoratorReferenceExpressionNode.md)
- [ProjectionEnumMemberSelectorNode](Interface.ProjectionEnumMemberSelectorNode.md)
- [ProjectionEnumSelectorNode](Interface.ProjectionEnumSelectorNode.md)
- [ProjectionEqualityExpressionNode](Interface.ProjectionEqualityExpressionNode.md)
- [ProjectionExpressionStatementNode](Interface.ProjectionExpressionStatementNode.md)
- [ProjectionIfExpressionNode](Interface.ProjectionIfExpressionNode.md)
- [ProjectionInterfaceSelectorNode](Interface.ProjectionInterfaceSelectorNode.md)
- [ProjectionLambdaExpressionNode](Interface.ProjectionLambdaExpressionNode.md)
- [ProjectionLambdaParameterDeclarationNode](Interface.ProjectionLambdaParameterDeclarationNode.md)
- [ProjectionLogicalExpressionNode](Interface.ProjectionLogicalExpressionNode.md)
- [ProjectionMemberExpressionNode](Interface.ProjectionMemberExpressionNode.md)
- [ProjectionModelExpressionNode](Interface.ProjectionModelExpressionNode.md)
- [ProjectionModelPropertyNode](Interface.ProjectionModelPropertyNode.md)
- [ProjectionModelPropertySelectorNode](Interface.ProjectionModelPropertySelectorNode.md)
- [ProjectionModelSelectorNode](Interface.ProjectionModelSelectorNode.md)
- [ProjectionModelSpreadPropertyNode](Interface.ProjectionModelSpreadPropertyNode.md)
- [ProjectionNode](Interface.ProjectionNode.md)
- [ProjectionOperationSelectorNode](Interface.ProjectionOperationSelectorNode.md)
- [ProjectionParameterDeclarationNode](Interface.ProjectionParameterDeclarationNode.md)
- [ProjectionReferenceNode](Interface.ProjectionReferenceNode.md)
- [ProjectionRelationalExpressionNode](Interface.ProjectionRelationalExpressionNode.md)
- [ProjectionStatementNode](Interface.ProjectionStatementNode.md)
- [ProjectionTupleExpressionNode](Interface.ProjectionTupleExpressionNode.md)
- [ProjectionUnaryExpressionNode](Interface.ProjectionUnaryExpressionNode.md)
- [ProjectionUnionSelectorNode](Interface.ProjectionUnionSelectorNode.md)
- [ProjectionUnionVariantSelectorNode](Interface.ProjectionUnionVariantSelectorNode.md)
- [Projector](Interface.Projector.md)
- [RecordModelType](Interface.RecordModelType.md)
- [ResolveCompilerOptionsOptions](Interface.ResolveCompilerOptionsOptions.md)
- [ResolveModuleHost](Interface.ResolveModuleHost.md)
- [ResolveModuleOptions](Interface.ResolveModuleOptions.md)
- [ResolvedFile](Interface.ResolvedFile.md)
- [ResolvedModule](Interface.ResolvedModule.md)
- [ReturnExpressionNode](Interface.ReturnExpressionNode.md)
- [ReturnRecord](Interface.ReturnRecord.md)
- [RmOptions](Interface.RmOptions.md)
- [Scalar](Interface.Scalar.md)
- [ScalarStatementNode](Interface.ScalarStatementNode.md)
- [Scanner](Interface.Scanner.md)
- [SemanticToken](Interface.SemanticToken.md)
- [Server](Interface.Server.md)
- [ServerHost](Interface.ServerHost.md)
- [ServerSourceFile](Interface.ServerSourceFile.md)
- [ServerWorkspaceFolder](Interface.ServerWorkspaceFolder.md)
- [SourceFile](Interface.SourceFile.md)
- [SourceLocation](Interface.SourceLocation.md)
- [SourceLocationOptions](Interface.SourceLocationOptions.md)
- [StringLiteral](Interface.StringLiteral.md)
- [StringLiteralNode](Interface.StringLiteralNode.md)
- [SuppressDirective](Interface.SuppressDirective.md)
- [Sym](Interface.Sym.md)
- [SymbolLinks](Interface.SymbolLinks.md)
- [SyntheticLocationContext](Interface.SyntheticLocationContext.md)
- [TemplateDeclarationNode](Interface.TemplateDeclarationNode.md)
- [TemplateParameter](Interface.TemplateParameter.md)
- [TemplateParameterDeclarationNode](Interface.TemplateParameterDeclarationNode.md)
- [TemplatedTypeBase](Interface.TemplatedTypeBase.md)
- [TextRange](Interface.TextRange.md)
- [Tracer](Interface.Tracer.md)
- [TracerOptions](Interface.TracerOptions.md)
- [Tuple](Interface.Tuple.md)
- [TupleExpressionNode](Interface.TupleExpressionNode.md)
- [TypeInstantiationMap](Interface.TypeInstantiationMap.md)
- [TypeMapper](Interface.TypeMapper.md)
- [TypeNameOptions](Interface.TypeNameOptions.md)
- [TypeReferenceNode](Interface.TypeReferenceNode.md)
- [TypeSpecCompletionItem](Interface.TypeSpecCompletionItem.md)
- [TypeSpecLibrary](Interface.TypeSpecLibrary.md)
- [TypeSpecLibraryDef](Interface.TypeSpecLibraryDef.md)
- [TypeSpecManifest](Interface.TypeSpecManifest.md)
- [TypeSpecScriptNode](Interface.TypeSpecScriptNode.md)
- [Union](Interface.Union.md)
- [UnionExpressionNode](Interface.UnionExpressionNode.md)
- [UnionStatementNode](Interface.UnionStatementNode.md)
- [UnionVariant](Interface.UnionVariant.md)
- [UnionVariantNode](Interface.UnionVariantNode.md)
- [UnknownType](Interface.UnknownType.md)
- [UsageTracker](Interface.UsageTracker.md)
- [UsingStatementNode](Interface.UsingStatementNode.md)
- [ValueOfExpressionNode](Interface.ValueOfExpressionNode.md)
- [ValueType](Interface.ValueType.md)
- [VoidKeywordNode](Interface.VoidKeywordNode.md)
- [VoidType](Interface.VoidType.md)

### Type Aliases

- [CadlCompletionItem](Type.CadlCompletionItem.md)
- [CadlLibrary](Type.CadlLibrary.md)
- [CadlLibraryDef](Type.CadlLibraryDef.md)
- [CadlManifest](Type.CadlManifest.md)
- [CadlScriptNode](Type.CadlScriptNode.md)
- [CadlValue](Type.CadlValue.md)
- [Comment](Type.Comment.md)
- [CreateTypeProps](Type.CreateTypeProps.md)
- [Declaration](Type.Declaration.md)
- [DecoratorArgumentValue](Type.DecoratorArgumentValue.md)
- [DiagnosticFormat](Type.DiagnosticFormat.md)
- [DiagnosticHandler](Type.DiagnosticHandler.md)
- [DiagnosticMap](Type.DiagnosticMap.md)
- [DiagnosticReport](Type.DiagnosticReport.md)
- [DiagnosticReportWithoutTarget](Type.DiagnosticReportWithoutTarget.md)
- [DiagnosticResult](Type.DiagnosticResult.md)
- [DiagnosticSeverity](Type.DiagnosticSeverity.md)
- [DiagnosticTarget](Type.DiagnosticTarget.md)
- [Directive](Type.Directive.md)
- [DirectiveArgument](Type.DirectiveArgument.md)
- [DocContent](Type.DocContent.md)
- [DocTag](Type.DocTag.md)
- [DocToken](Type.DocToken.md)
- [EmitOptionsFor](Type.EmitOptionsFor.md)
- [EmitterFunc](Type.EmitterFunc.md)
- [Expression](Type.Expression.md)
- [InferredCadlValue](Type.InferredCadlValue.md)
- [InferredTypeSpecValue](Type.InferredTypeSpecValue.md)
- [IntrinsicScalarName](Type.IntrinsicScalarName.md)
- [JSONSchemaType](Type.JSONSchemaType.md)
- [LibraryMetadata](Type.LibraryMetadata.md)
- [LinterRuleDiagnosticFormat](Type.LinterRuleDiagnosticFormat.md)
- [LinterRuleDiagnosticReport](Type.LinterRuleDiagnosticReport.md)
- [LinterRuleDiagnosticReportWithoutTarget](Type.LinterRuleDiagnosticReportWithoutTarget.md)
- [LiteralNode](Type.LiteralNode.md)
- [LiteralType](Type.LiteralType.md)
- [LocationContext](Type.LocationContext.md)
- [LogLevel](Type.LogLevel.md)
- [MarshalledValue](Type.MarshalledValue.md)
- [MemberContainerNode](Type.MemberContainerNode.md)
- [MemberContainerType](Type.MemberContainerType.md)
- [MemberNode](Type.MemberNode.md)
- [MemberType](Type.MemberType.md)
- [ModelIndexer](Type.ModelIndexer.md)
- [Modifier](Type.Modifier.md)
- [ModuleResolutionResult](Type.ModuleResolutionResult.md)
- [NeverIndexer](Type.NeverIndexer.md)
- [NewLine](Type.NewLine.md)
- [Node](Type.Node.md)
- [NodeCallback](Type.NodeCallback.md)
- [OperationContainer](Type.OperationContainer.md)
- [OperationSignature](Type.OperationSignature.md)
- [ProjectionExpression](Type.ProjectionExpression.md)
- [ProjectionStatementItem](Type.ProjectionStatementItem.md)
- [ReferenceExpression](Type.ReferenceExpression.md)
- [RuleRef](Type.RuleRef.md)
- [ScopeNode](Type.ScopeNode.md)
- [SemanticNodeListener](Type.SemanticNodeListener.md)
- [SourceFileKind](Type.SourceFileKind.md)
- [Statement](Type.Statement.md)
- [StdTypeName](Type.StdTypeName.md)
- [StdTypes](Type.StdTypes.md)
- [TemplateableNode](Type.TemplateableNode.md)
- [TemplatedType](Type.TemplatedType.md)
- [TrackableType](Type.TrackableType.md)
- [Type](Type.Type.md)
- [TypeKind](Type.TypeKind.md)
- [TypeListeners](Type.TypeListeners.md)
- [TypeOfDiagnostics](Type.TypeOfDiagnostics.md)
- [TypeOrReturnRecord](Type.TypeOrReturnRecord.md)
- [TypeSpecDiagnosticTarget](Type.TypeSpecDiagnosticTarget.md)
- [TypeSpecValue](Type.TypeSpecValue.md)
- [WriteLine](Type.WriteLine.md)

### Variables

- [CadlPrettierPlugin](Variable.CadlPrettierPlugin.md)
- [Keywords](Variable.Keywords.md)
- [MANIFEST](Variable.MANIFEST.md)
- [NoTarget](Variable.NoTarget.md)
- [NodeHost](Variable.NodeHost.md)
- [TokenDisplay](Variable.TokenDisplay.md)
- [TypeSpecPrettierPlugin](Variable.TypeSpecPrettierPlugin.md)
- [altDirectorySeparator](Variable.altDirectorySeparator.md)
- [cadlVersion](Variable.cadlVersion.md)
- [directorySeparator](Variable.directorySeparator.md)
- [typespecVersion](Variable.typespecVersion.md)

### Functions

- [assertType](Function.assertType.md)
- [cadlTypeToJson](Function.cadlTypeToJson.md)
- [checkFormatCadl](Function.checkFormatCadl.md)
- [checkFormatTypeSpec](Function.checkFormatTypeSpec.md)
- [compile](Function.compile.md)
- [compilerAssert](Function.compilerAssert.md)
- [createCadlLibrary](Function.createCadlLibrary.md)
- [createChecker](Function.createChecker.md)
- [createDecoratorDefinition](Function.createDecoratorDefinition.md)
- [createDiagnosticCollector](Function.createDiagnosticCollector.md)
- [createDiagnosticCreator](Function.createDiagnosticCreator.md)
- [createProjectedNameProgram](Function.createProjectedNameProgram.md)
- [createRekeyableMap](Function.createRekeyableMap.md)
- [createRule](Function.createRule.md)
- [createScanner](Function.createScanner.md)
- [createServer](Function.createServer.md)
- [createSourceFile](Function.createSourceFile.md)
- [createStateAccessors](Function.createStateAccessors.md)
- [createTypeSpecLibrary](Function.createTypeSpecLibrary.md)
- [emitFile](Function.emitFile.md)
- [ensurePathIsNonModuleName](Function.ensurePathIsNonModuleName.md)
- [ensureTrailingDirectorySeparator](Function.ensureTrailingDirectorySeparator.md)
- [filterModelProperties](Function.filterModelProperties.md)
- [finishTypeForProgram](Function.finishTypeForProgram.md)
- [formatDiagnostic](Function.formatDiagnostic.md)
- [formatIdentifier](Function.formatIdentifier.md)
- [formatTypeSpec](Function.formatTypeSpec.md)
- [getAnyExtensionFromPath](Function.getAnyExtensionFromPath.md)
- [getBaseFileName](Function.getBaseFileName.md)
- [getCompletionNodeAtPosition](Function.getCompletionNodeAtPosition.md)
- [getDeprecationDetails](Function.getDeprecationDetails.md)
- [getDirectoryPath](Function.getDirectoryPath.md)
- [getDiscriminatedUnion](Function.getDiscriminatedUnion.md)
- [getEffectiveModelType](Function.getEffectiveModelType.md)
- [getFirstAncestor](Function.getFirstAncestor.md)
- [getFullyQualifiedSymbolName](Function.getFullyQualifiedSymbolName.md)
- [getIdentifierContext](Function.getIdentifierContext.md)
- [getLocationContext](Function.getLocationContext.md)
- [getNamespaceFullName](Function.getNamespaceFullName.md)
- [getNodeAtPosition](Function.getNodeAtPosition.md)
- [getNormalizedAbsolutePath](Function.getNormalizedAbsolutePath.md)
- [getNormalizedAbsolutePathWithoutRoot](Function.getNormalizedAbsolutePathWithoutRoot.md)
- [getNormalizedPathComponents](Function.getNormalizedPathComponents.md)
- [getOverriddenProperty](Function.getOverriddenProperty.md)
- [getParentTemplateNode](Function.getParentTemplateNode.md)
- [getPathComponents](Function.getPathComponents.md)
- [getPathFromPathComponents](Function.getPathFromPathComponents.md)
- [getProperty](Function.getProperty.md)
- [getRelativePathFromDirectory](Function.getRelativePathFromDirectory.md)
- [getRootLength](Function.getRootLength.md)
- [getSourceFileKindFromExt](Function.getSourceFileKindFromExt.md)
- [getSourceLocation](Function.getSourceLocation.md)
- [getTypeName](Function.getTypeName.md)
- [hasParseError](Function.hasParseError.md)
- [hasTrailingDirectorySeparator](Function.hasTrailingDirectorySeparator.md)
- [ignoreDiagnostics](Function.ignoreDiagnostics.md)
- [interpolatePath](Function.interpolatePath.md)
- [isAnyDirectorySeparator](Function.isAnyDirectorySeparator.md)
- [isCadlValueTypeOf](Function.isCadlValueTypeOf.md)
- [isComment](Function.isComment.md)
- [isDeclaredInNamespace](Function.isDeclaredInNamespace.md)
- [isDeclaredType](Function.isDeclaredType.md)
- [isDeprecated](Function.isDeprecated.md)
- [isErrorType](Function.isErrorType.md)
- [isGlobalNamespace](Function.isGlobalNamespace.md)
- [isImportStatement](Function.isImportStatement.md)
- [isIntrinsicType](Function.isIntrinsicType.md)
- [isKeyword](Function.isKeyword.md)
- [isModifier](Function.isModifier.md)
- [isNeverType](Function.isNeverType.md)
- [isNullType](Function.isNullType.md)
- [isPathAbsolute](Function.isPathAbsolute.md)
- [isProjectedProgram](Function.isProjectedProgram.md)
- [isPunctuation](Function.isPunctuation.md)
- [isStatementKeyword](Function.isStatementKeyword.md)
- [isStdNamespace](Function.isStdNamespace.md)
- [isTemplateDeclaration](Function.isTemplateDeclaration.md)
- [isTemplateDeclarationOrInstance](Function.isTemplateDeclarationOrInstance.md)
- [isTemplateInstance](Function.isTemplateInstance.md)
- [isTrivia](Function.isTrivia.md)
- [isTypeSpecValueTypeOf](Function.isTypeSpecValueTypeOf.md)
- [isUnknownType](Function.isUnknownType.md)
- [isUrl](Function.isUrl.md)
- [isVoidType](Function.isVoidType.md)
- [joinPaths](Function.joinPaths.md)
- [listOperationsIn](Function.listOperationsIn.md)
- [logDiagnostics](Function.logDiagnostics.md)
- [logVerboseTestOutput](Function.logVerboseTestOutput.md)
- [mapEventEmitterToNodeListener](Function.mapEventEmitterToNodeListener.md)
- [markDeprecated](Function.markDeprecated.md)
- [navigateProgram](Function.navigateProgram.md)
- [navigateType](Function.navigateType.md)
- [navigateTypesInNamespace](Function.navigateTypesInNamespace.md)
- [normalizePath](Function.normalizePath.md)
- [normalizeSlashes](Function.normalizeSlashes.md)
- [paramMessage](Function.paramMessage.md)
- [parse](Function.parse.md)
- [parseStandaloneTypeReference](Function.parseStandaloneTypeReference.md)
- [projectProgram](Function.projectProgram.md)
- [reducePathComponents](Function.reducePathComponents.md)
- [removeTrailingDirectorySeparator](Function.removeTrailingDirectorySeparator.md)
- [reportDeprecated](Function.reportDeprecated.md)
- [resolveCompilerOptions](Function.resolveCompilerOptions.md)
- [resolveModule](Function.resolveModule.md)
- [resolvePath](Function.resolvePath.md)
- [resolveUsages](Function.resolveUsages.md)
- [scopeNavigationToNamespace](Function.scopeNavigationToNamespace.md)
- [setCadlNamespace](Function.setCadlNamespace.md)
- [setTypeSpecNamespace](Function.setTypeSpecNamespace.md)
- [skipTrivia](Function.skipTrivia.md)
- [skipWhiteSpace](Function.skipWhiteSpace.md)
- [typespecTypeToJson](Function.typespecTypeToJson.md)
- [validateDecoratorNotOnType](Function.validateDecoratorNotOnType.md)
- [validateDecoratorParamCount](Function.validateDecoratorParamCount.md)
- [validateDecoratorParamType](Function.validateDecoratorParamType.md)
- [validateDecoratorTarget](Function.validateDecoratorTarget.md)
- [validateDecoratorTargetIntrinsic](Function.validateDecoratorTargetIntrinsic.md)
- [validateDecoratorUniqueOnNode](Function.validateDecoratorUniqueOnNode.md)
- [visitChildren](Function.visitChildren.md)
- [walkPropertiesInherited](Function.walkPropertiesInherited.md)

## References

### $deprecated

Re-exports [$deprecated](Namespace.decorators.Function.$deprecated.md)

```ts
$deprecated
```

***

### $discriminator

Re-exports [$discriminator](Namespace.decorators.Function.$discriminator.md)

```ts
$discriminator
```

***

### $doc

Re-exports [$doc](Namespace.decorators.Function.$doc.md)

```ts
$doc
```

***

### $docFromComment

Re-exports [$docFromComment](Namespace.decorators.Function.$docFromComment.md)

```ts
$docFromComment
```

***

### $encode

Re-exports [$encode](Namespace.decorators.Function.$encode.md)

```ts
$encode
```

***

### $error

Re-exports [$error](Namespace.decorators.Function.$error.md)

```ts
$error
```

***

### $format

Re-exports [$format](Namespace.decorators.Function.$format.md)

```ts
$format
```

***

### $friendlyName

Re-exports [$friendlyName](Namespace.decorators.Function.$friendlyName.md)

```ts
$friendlyName
```

***

### $indexer

Re-exports [$indexer](Namespace.decorators.Function.$indexer.md)

```ts
$indexer
```

***

### $inspectType

Re-exports [$inspectType](Namespace.decorators.Function.$inspectType.md)

```ts
$inspectType
```

***

### $inspectTypeName

Re-exports [$inspectTypeName](Namespace.decorators.Function.$inspectTypeName.md)

```ts
$inspectTypeName
```

***

### $key

Re-exports [$key](Namespace.decorators.Function.$key.md)

```ts
$key
```

***

### $knownValues

Re-exports [$knownValues](Namespace.decorators.Function.$knownValues.md)

```ts
$knownValues
```

***

### $list

Re-exports [$list](Namespace.decorators.Function.$list.md)

```ts
$list
```

***

### $maxItems

Re-exports [$maxItems](Namespace.decorators.Function.$maxItems.md)

```ts
$maxItems
```

***

### $maxLength

Re-exports [$maxLength](Namespace.decorators.Function.$maxLength.md)

```ts
$maxLength
```

***

### $maxValue

Re-exports [$maxValue](Namespace.decorators.Function.$maxValue.md)

```ts
$maxValue
```

***

### $maxValueExclusive

Re-exports [$maxValueExclusive](Namespace.decorators.Function.$maxValueExclusive.md)

```ts
$maxValueExclusive
```

***

### $minItems

Re-exports [$minItems](Namespace.decorators.Function.$minItems.md)

```ts
$minItems
```

***

### $minLength

Re-exports [$minLength](Namespace.decorators.Function.$minLength.md)

```ts
$minLength
```

***

### $minValue

Re-exports [$minValue](Namespace.decorators.Function.$minValue.md)

```ts
$minValue
```

***

### $minValueExclusive

Re-exports [$minValueExclusive](Namespace.decorators.Function.$minValueExclusive.md)

```ts
$minValueExclusive
```

***

### $overload

Re-exports [$overload](Namespace.decorators.Function.$overload.md)

```ts
$overload
```

***

### $parameterVisibility

Re-exports [$parameterVisibility](Namespace.decorators.Function.$parameterVisibility.md)

```ts
$parameterVisibility
```

***

### $pattern

Re-exports [$pattern](Namespace.decorators.Function.$pattern.md)

```ts
$pattern
```

***

### $projectedName

Re-exports [$projectedName](Namespace.decorators.Function.$projectedName.md)

```ts
$projectedName
```

***

### $returnTypeVisibility

Re-exports [$returnTypeVisibility](Namespace.decorators.Function.$returnTypeVisibility.md)

```ts
$returnTypeVisibility
```

***

### $secret

Re-exports [$secret](Namespace.decorators.Function.$secret.md)

```ts
$secret
```

***

### $service

Re-exports [$service](Namespace.decorators.Function.$service.md)

```ts
$service
```

***

### $summary

Re-exports [$summary](Namespace.decorators.Function.$summary.md)

```ts
$summary
```

***

### $tag

Re-exports [$tag](Namespace.decorators.Function.$tag.md)

```ts
$tag
```

***

### $visibility

Re-exports [$visibility](Namespace.decorators.Function.$visibility.md)

```ts
$visibility
```

***

### $withDefaultKeyVisibility

Re-exports [$withDefaultKeyVisibility](Namespace.decorators.Function.$withDefaultKeyVisibility.md)

```ts
$withDefaultKeyVisibility
```

***

### $withOptionalProperties

Re-exports [$withOptionalProperties](Namespace.decorators.Function.$withOptionalProperties.md)

```ts
$withOptionalProperties
```

***

### $withUpdateableProperties

Re-exports [$withUpdateableProperties](Namespace.decorators.Function.$withUpdateableProperties.md)

```ts
$withUpdateableProperties
```

***

### $withVisibility

Re-exports [$withVisibility](Namespace.decorators.Function.$withVisibility.md)

```ts
$withVisibility
```

***

### $withoutDefaultValues

Re-exports [$withoutDefaultValues](Namespace.decorators.Function.$withoutDefaultValues.md)

```ts
$withoutDefaultValues
```

***

### $withoutOmittedProperties

Re-exports [$withoutOmittedProperties](Namespace.decorators.Function.$withoutOmittedProperties.md)

```ts
$withoutOmittedProperties
```

***

### BytesKnownEncoding

Re-exports [BytesKnownEncoding](Namespace.decorators.Type.BytesKnownEncoding.md)

```ts
BytesKnownEncoding
```

***

### DateTimeKnownEncoding

Re-exports [DateTimeKnownEncoding](Namespace.decorators.Type.DateTimeKnownEncoding.md)

```ts
DateTimeKnownEncoding
```

***

### Discriminator

Re-exports [Discriminator](Namespace.decorators.Interface.Discriminator.md)

```ts
Discriminator
```

***

### DocData

Re-exports [DocData](Namespace.decorators.Interface.DocData.md)

```ts
DocData
```

***

### DurationKnownEncoding

Re-exports [DurationKnownEncoding](Namespace.decorators.Type.DurationKnownEncoding.md)

```ts
DurationKnownEncoding
```

***

### EncodeData

Re-exports [EncodeData](Namespace.decorators.Interface.EncodeData.md)

```ts
EncodeData
```

***

### Service

Re-exports [Service](Namespace.decorators.Interface.Service.md)

```ts
Service
```

***

### ServiceDetails

Re-exports [ServiceDetails](Namespace.decorators.Interface.ServiceDetails.md)

```ts
ServiceDetails
```

***

### addService

Re-exports [addService](Namespace.decorators.Function.addService.md)

```ts
addService
```

***

### getAllTags

Re-exports [getAllTags](Namespace.decorators.Function.getAllTags.md)

```ts
getAllTags
```

***

### getDeprecated

Re-exports [getDeprecated](Namespace.decorators.Function.getDeprecated.md)

```ts
getDeprecated
```

***

### getDiscriminatedTypes

Re-exports [getDiscriminatedTypes](Namespace.decorators.Function.getDiscriminatedTypes.md)

```ts
getDiscriminatedTypes
```

***

### getDiscriminator

Re-exports [getDiscriminator](Namespace.decorators.Function.getDiscriminator.md)

```ts
getDiscriminator
```

***

### getDoc

Re-exports [getDoc](Namespace.decorators.Function.getDoc.md)

```ts
getDoc
```

***

### getDocData

Re-exports [getDocData](Namespace.decorators.Function.getDocData.md)

```ts
getDocData
```

***

### getEncode

Re-exports [getEncode](Namespace.decorators.Function.getEncode.md)

```ts
getEncode
```

***

### getFormat

Re-exports [getFormat](Namespace.decorators.Function.getFormat.md)

```ts
getFormat
```

***

### getFriendlyName

Re-exports [getFriendlyName](Namespace.decorators.Function.getFriendlyName.md)

```ts
getFriendlyName
```

***

### getIndexer

Re-exports [getIndexer](Namespace.decorators.Function.getIndexer.md)

```ts
getIndexer
```

***

### getKeyName

Re-exports [getKeyName](Namespace.decorators.Function.getKeyName.md)

```ts
getKeyName
```

***

### getKnownValues

Re-exports [getKnownValues](Namespace.decorators.Function.getKnownValues.md)

```ts
getKnownValues
```

***

### getListOperationType

Re-exports [getListOperationType](Namespace.decorators.Function.getListOperationType.md)

```ts
getListOperationType
```

***

### getMaxItems

Re-exports [getMaxItems](Namespace.decorators.Function.getMaxItems.md)

```ts
getMaxItems
```

***

### getMaxLength

Re-exports [getMaxLength](Namespace.decorators.Function.getMaxLength.md)

```ts
getMaxLength
```

***

### getMaxValue

Re-exports [getMaxValue](Namespace.decorators.Function.getMaxValue.md)

```ts
getMaxValue
```

***

### getMaxValueExclusive

Re-exports [getMaxValueExclusive](Namespace.decorators.Function.getMaxValueExclusive.md)

```ts
getMaxValueExclusive
```

***

### getMinItems

Re-exports [getMinItems](Namespace.decorators.Function.getMinItems.md)

```ts
getMinItems
```

***

### getMinLength

Re-exports [getMinLength](Namespace.decorators.Function.getMinLength.md)

```ts
getMinLength
```

***

### getMinValue

Re-exports [getMinValue](Namespace.decorators.Function.getMinValue.md)

```ts
getMinValue
```

***

### getMinValueExclusive

Re-exports [getMinValueExclusive](Namespace.decorators.Function.getMinValueExclusive.md)

```ts
getMinValueExclusive
```

***

### getOverloadedOperation

Re-exports [getOverloadedOperation](Namespace.decorators.Function.getOverloadedOperation.md)

```ts
getOverloadedOperation
```

***

### getOverloads

Re-exports [getOverloads](Namespace.decorators.Function.getOverloads.md)

```ts
getOverloads
```

***

### getParameterVisibility

Re-exports [getParameterVisibility](Namespace.decorators.Function.getParameterVisibility.md)

```ts
getParameterVisibility
```

***

### getPattern

Re-exports [getPattern](Namespace.decorators.Function.getPattern.md)

```ts
getPattern
```

***

### getProjectedName

Re-exports [getProjectedName](Namespace.decorators.Function.getProjectedName.md)

```ts
getProjectedName
```

***

### getProjectedNames

Re-exports [getProjectedNames](Namespace.decorators.Function.getProjectedNames.md)

```ts
getProjectedNames
```

***

### getPropertyType

Re-exports [getPropertyType](Namespace.decorators.Function.getPropertyType.md)

```ts
getPropertyType
```

***

### getReturnTypeVisibility

Re-exports [getReturnTypeVisibility](Namespace.decorators.Function.getReturnTypeVisibility.md)

```ts
getReturnTypeVisibility
```

***

### getService

Re-exports [getService](Namespace.decorators.Function.getService.md)

```ts
getService
```

***

### getSummary

Re-exports [getSummary](Namespace.decorators.Function.getSummary.md)

```ts
getSummary
```

***

### getTags

Re-exports [getTags](Namespace.decorators.Function.getTags.md)

```ts
getTags
```

***

### getVisibility

Re-exports [getVisibility](Namespace.decorators.Function.getVisibility.md)

```ts
getVisibility
```

***

### hasProjectedName

Re-exports [hasProjectedName](Namespace.decorators.Function.hasProjectedName.md)

```ts
hasProjectedName
```

***

### isArrayModelType

Re-exports [isArrayModelType](Namespace.decorators.Function.isArrayModelType.md)

```ts
isArrayModelType
```

***

### isErrorModel

Re-exports [isErrorModel](Namespace.decorators.Function.isErrorModel.md)

```ts
isErrorModel
```

***

### isKey

Re-exports [isKey](Namespace.decorators.Function.isKey.md)

```ts
isKey
```

***

### isListOperation

Re-exports [isListOperation](Namespace.decorators.Function.isListOperation.md)

```ts
isListOperation
```

***

### isNumericType

Re-exports [isNumericType](Namespace.decorators.Function.isNumericType.md)

```ts
isNumericType
```

***

### isRecordModelType

Re-exports [isRecordModelType](Namespace.decorators.Function.isRecordModelType.md)

```ts
isRecordModelType
```

***

### isSecret

Re-exports [isSecret](Namespace.decorators.Function.isSecret.md)

```ts
isSecret
```

***

### isService

Re-exports [isService](Namespace.decorators.Function.isService.md)

```ts
isService
```

***

### isStringType

Re-exports [isStringType](Namespace.decorators.Function.isStringType.md)

```ts
isStringType
```

***

### isVisible

Re-exports [isVisible](Namespace.decorators.Function.isVisible.md)

```ts
isVisible
```

***

### listServices

Re-exports [listServices](Namespace.decorators.Function.listServices.md)

```ts
listServices
```

***

### namespace

Re-exports [namespace](Namespace.decorators.Variable.namespace.md)

```ts
namespace
```
