struct Cmark::Event

Overview

An inmutable record that represents an event returned by EventIterator.

NOTE An event with a leaf node always returns true for #enter?. See NodeType for more information on leaf nodes.

Defined in:

cmark/event.cr

Instance Method Summary

Instance Method Detail

def enter? : Bool #

Indicates the entering of node.


def exit? #

Indicates the exiting of node.


def modifiable? #

Indicates if node can be modified.


def node : Cmark::Node #

The current event node.