Yarn Spinner
2.2 (Current)
Search…
⌃K
Links

IndentAwareLexer

Class in Yarn.Compiler
Inherits from Antlr4.Runtime.Lexer

Summary

A Lexer subclass that detects newlines and generates indent and dedent tokens accordingly.
public abstract class IndentAwareLexer : Lexer

Constructors

Name
Description
Initializes a new instance of the IndentAwareLexer class.

Methods

Name
Description

Properties

Name
Description
Warnings
Gets the collection of warnings determined during lexing.

Structs

Name
Description
Warning
A warning emitted during lexing.