klyn.code.LexicalState.inBlockComment
method
public inBlockComment() as Boolean
Description

Returns true when inside a multi-line block or documentation comment.

Returns

true for BLOCK_COMMENT, DOC_COMMENT, or MARKUP_COMMENT.

Example
import klyn.code

s = LexicalState(LexicalMode.MARKUP_COMMENT, "-->")
assert s.inBlockComment()