SetInWhenClause(bool)

Method in IndentAwareLexer

Summary

Sets a value indicating whether the lexer is currently lexing an expression that's part of a 'when' clause.

public virtual void SetInWhenClause(bool val);

Remarks

This value can be accessed by calling IsInWhenClause() .

Parameters

Name
Description

bool val

The value to set.

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.