enum Crycco::Document::State

Overview

Documents are parsed using a state machine, these are the states:

Defined in:

crycco.cr

Enum Members

CommentBlock = 0
EnclosingCommentBlock = 1
CodeBlock = 2

Instance Method Summary

Instance Method Detail

def code_block? #

Returns true if this enum value equals CodeBlock


[View source]
def comment_block? #

Returns true if this enum value equals CommentBlock


[View source]
def enclosing_comment_block? #

Returns true if this enum value equals EnclosingCommentBlock


[View source]