> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/2.1/api/csharp/yarn/yarn.node.md).

# Node

Class in [Yarn](/2.1/api/csharp/yarn.md)

Inherits from `System.Object`

## Summary

A node of Yarn script, contained within a [Program](/2.1/api/csharp/yarn/yarn.program.md) , and containing `Yarn.Instruction` s.

```csharp
public class Node
```

## Methods

| Name                                                               | Description |
| ------------------------------------------------------------------ | ----------- |
| [ToString()](/2.1/api/csharp/yarn/yarn.node/yarn.node.tostring.md) |             |

## Properties

| Name                                                                                 | Description                                                                                                         |
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------- |
| [Instructions](/2.1/api/csharp/yarn/yarn.node/yarn.node.instructions.md)             | The list of instructions in this node.                                                                              |
| [Labels](/2.1/api/csharp/yarn/yarn.node/yarn.node.labels.md)                         | A jump table, mapping the names of labels to positions in the instructions list.                                    |
| [Name](/2.1/api/csharp/yarn/yarn.node/yarn.node.name.md)                             | The name of this node.                                                                                              |
| [SourceTextStringID](/2.1/api/csharp/yarn/yarn.node/yarn.node.sourcetextstringid.md) | the entry in the program's string table that contains the original text of this node; null if this is not available |
| [Tags](/2.1/api/csharp/yarn/yarn.node/yarn.node.tags.md)                             | The tags associated with this node.                                                                                 |
