NAME

MarpaX::ESLIF::Event::Type - ESLIF Event Types

VERSION

version 6.0.35.1

SYNOPSIS

use MarpaX::ESLIF;

my $eventType;
$eventType = MarpaX::ESLIF::Event::Type->MARPAESLIF_EVENTTYPE_NONE;       # 0x00
$eventType = MarpaX::ESLIF::Event::Type->MARPAESLIF_EVENTTYPE_COMPLETED;  # 0x01, /* Grammar event */
$eventType = MarpaX::ESLIF::Event::Type->MARPAESLIF_EVENTTYPE_NULLED;     # 0x02, /* Grammar event */
$eventType = MarpaX::ESLIF::Event::Type->MARPAESLIF_EVENTTYPE_PREDICTED;  # 0x04, /* Grammar event */
$eventType = MarpaX::ESLIF::Event::Type->MARPAESLIF_EVENTTYPE_BEFORE;     # 0x08, /* Just before lexeme is commited */
$eventType = MarpaX::ESLIF::Event::Type->MARPAESLIF_EVENTTYPE_AFTER;      # 0x10, /* Just after lexeme is commited */
$eventType = MarpaX::ESLIF::Event::Type->MARPAESLIF_EVENTTYPE_EXHAUSTED;  # 0x20, /* Exhaustion */
$eventType = MarpaX::ESLIF::Event::Type->MARPAESLIF_EVENTTYPE_DISCARD;    # 0x40  /* Discard */

DESCRIPTION

ESLIF events are mapped to constants. This module is giving access to them.

CONSTANTS

MARPAESLIF_EVENTTYPE_NONE

No event. User-space should never see it.

MARPAESLIF_EVENTTYPE_COMPLETED

Symbol completion event.

MARPAESLIF_EVENTTYPE_NULLED

Symbol nulling event.

MARPAESLIF_EVENTTYPE_PREDICTED

Symbol prediction event.

MARPAESLIF_EVENTTYPE_BEFORE

Lexeme prediction event.

MARPAESLIF_EVENTTYPE_AFTER

Lexeme consumption event.

MARPAESLIF_EVENTTYPE_EXHAUSTED

Exhaustion event.

MARPAESLIF_EVENTTYPE_DISCARD

Discard event.

AUTHOR

Jean-Damien Durand <jeandamiendurand@free.fr>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Jean-Damien Durand.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.