# FileParseResult(string,IParseTree,CommonTokenStream)

Constructor in [FileParseResult](https://docs.yarnspinner.dev/api/csharp/yarn.compiler/yarn.compiler.fileparseresult)

## Summary

Initializes a new instance of the [FileParseResult](https://docs.yarnspinner.dev/api/csharp/yarn.compiler/yarn.compiler.fileparseresult) 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.     |
