> 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.4/api/csharp/yarn.compiler/yarn.compiler.compiler/yarn.compiler.compiler.getlineidfornodename.md).

# GetLineIDForNodeName(string)

Method in [Compiler](/2.4/api/csharp/yarn.compiler/yarn.compiler.compiler.md)

## Summary

Generates a line id for a raw text node

```csharp
public static string GetLineIDForNodeName(string name)
```

## Remarks

This should only be used when in raw text mode.

## Parameters

| Name          | Description          |
| ------------- | -------------------- |
| `string` name | The name of the node |

## Returns

line id for the raw text node
