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

NameDescription

Initializes a new instance of the IndentAwareLexer class.

Methods

NameDescription

Properties

NameDescription

Gets the collection of warnings determined during lexing.

Structs

NameDescription

A warning emitted during lexing.

Last updated

Yarn Spinner® and Secret Lab® are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.