IndentAwareLexer.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

NameDescription
bool valThe value to set.