# LexerWarning

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

Inherits from `System.ValueType`

## Summary

A warning emitted during lexing.

```csharp
public struct LexerWarning
```

## Fields

| Name                                                                                                                                                                                            | Description                              |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
| [Message](https://docs.yarnspinner.dev/api/csharp/yarn.compiler/yarn.compiler.indentawarelexer/yarn.compiler.indentawarelexer.lexerwarning/yarn.compiler.indentawarelexer.lexerwarning.message) | The message associated with the warning. |
| [Token](https://docs.yarnspinner.dev/api/csharp/yarn.compiler/yarn.compiler.indentawarelexer/yarn.compiler.indentawarelexer.lexerwarning/yarn.compiler.indentawarelexer.lexerwarning.token)     | The token associated with the warning.   |
