[JS Api](../index.md) / DeclarationNode

# Interface: DeclarationNode

## Hierarchy

- **`DeclarationNode`**

  ↳ [`CadlScriptNode`](CadlScriptNode.md)

  ↳ [`NamespaceStatementNode`](NamespaceStatementNode.md)

  ↳ [`OperationStatementNode`](OperationStatementNode.md)

  ↳ [`ModelStatementNode`](ModelStatementNode.md)

  ↳ [`ScalarStatementNode`](ScalarStatementNode.md)

  ↳ [`InterfaceStatementNode`](InterfaceStatementNode.md)

  ↳ [`UnionStatementNode`](UnionStatementNode.md)

  ↳ [`EnumStatementNode`](EnumStatementNode.md)

  ↳ [`AliasStatementNode`](AliasStatementNode.md)

  ↳ [`TemplateParameterDeclarationNode`](TemplateParameterDeclarationNode.md)

  ↳ [`DecoratorDeclarationStatementNode`](DecoratorDeclarationStatementNode.md)

  ↳ [`FunctionDeclarationStatementNode`](FunctionDeclarationStatementNode.md)

  ↳ [`ProjectionParameterDeclarationNode`](ProjectionParameterDeclarationNode.md)

  ↳ [`ProjectionLambdaParameterDeclarationNode`](ProjectionLambdaParameterDeclarationNode.md)

  ↳ [`ProjectionStatementNode`](ProjectionStatementNode.md)

  ↳ [`JsSourceFileNode`](JsSourceFileNode.md)

## Table of contents

### Properties

- [id](DeclarationNode.md#id)

## Properties

### id

• `Readonly` **id**: [`IdentifierNode`](IdentifierNode.md)
