# Node

Class in [Yarn](https://docs.yarnspinner.dev/2.2/api/csharp/yarn)

Inherits from `System.Object`

## Summary

A node of Yarn script, contained within a [Program](https://docs.yarnspinner.dev/2.2/api/csharp/yarn/yarn.program) , and containing `Yarn.Instruction` s.

```csharp
public class Node
```

## Methods

| Name                                                                                        | Description |
| ------------------------------------------------------------------------------------------- | ----------- |
| [ToString()](https://docs.yarnspinner.dev/2.2/api/csharp/yarn/yarn.node/yarn.node.tostring) |             |

## Properties

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