# IndentAwareLexer(ICharStream,TextWriter,TextWriter)

Constructor in [IndentAwareLexer](https://docs.yarnspinner.dev/3.1/api/csharp/yarn.compiler/yarn.compiler.indentawarelexer)

## Summary

Initializes a new instance of the [IndentAwareLexer](https://docs.yarnspinner.dev/3.1/api/csharp/yarn.compiler/yarn.compiler.indentawarelexer) class.

```csharp
public IndentAwareLexer(ICharStream input, TextWriter output, TextWriter errorOutput)
```

## Parameters

| Name                               | Description                                   |
| ---------------------------------- | --------------------------------------------- |
| `Antlr4.Runtime.ICharStream` input | The incoming character stream.                |
| `System.IO.TextWriter` output      | The `System.IO.TextWriter` to send output to. |
| `System.IO.TextWriter` errorOutput | The `System.IO.TextWriter` to send errors to. |
