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

# FileParseResult(string,IParseTree,CommonTokenStream)

Constructor in [FileParseResult](/api/csharp/yarn.compiler/yarn.compiler.fileparseresult.md)

## Summary

Initializes a new instance of the [FileParseResult](/api/csharp/yarn.compiler/yarn.compiler.fileparseresult.md) struct.

```csharp
public FileParseResult(string name, IParseTree tree, CommonTokenStream tokens)
```

## Parameters

| Name                                      | Description                             |
| ----------------------------------------- | --------------------------------------- |
| `string` name                             | The name of the file.                   |
| `Antlr4.Runtime.Tree.IParseTree` tree     | The parse tree extracted from the file. |
| `Antlr4.Runtime.CommonTokenStream` tokens | The tokens extracted from the file.     |
