public withQueryIndent(indent as Int) as LexicalState
Returns a copy of this state with an updated queryIndent value.
| Parameter | Description |
|---|---|
indent | New query block indentation, or -1 to exit the query block. |
Updated LexicalState.
import klyn.code s = LexicalState.NORMAL.withQueryIndent(8) assert s.queryIndent == 8