klyn.code.LexicalState.withQueryIndent
method
public withQueryIndent(indent as Int) as LexicalState
Description

Returns a copy of this state with an updated queryIndent value.

Parameters
ParameterDescription
indentNew query block indentation, or -1 to exit the query block.
Returns

Updated LexicalState.

Example
import klyn.code

s = LexicalState.NORMAL.withQueryIndent(8)
assert s.queryIndent == 8