public inString() as Boolean
Returns true when inside a multi-line string literal (outside interpolated code).
true when mode == LexicalMode.MULTILINE_STRING and interpolationDepth == 0.
import klyn.code s = LexicalState(LexicalMode.MULTILINE_STRING, "\"\"\"") assert s.inString()