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.


[View source]
def exit? #

Indicates the exiting of node.


[View source]
def modifiable? #

Indicates if node can be modified.


[View source]
def node : Cmark::Node #

The current event node.


[View source]