The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

MarpaX::ESLIF::Value - MarpaX::ESLIF's value

VERSION

version 2.0.43

SYNOPSIS

  my $eslifValue = MarpaX::ESLIF::Value->new($eslifRecognizer, $valueInterface);

The value interface is used to get parse tree valuation.

DESCRIPTION

MarpaX::ESLIF::Value is a possible step after a MarpaX::ESLIF::Recognizer instance is created.

METHODS

MarpaX::ESLIF::Value->new($eslifRecognizer, $valueInterface)

  my $eslifValue = MarpaX::ESLIF::Value->new($eslifRecognizer, $valueInterface);

Returns a value instance, noted $eslifValue later. Parameters are:

$eslifRecognizer

MarpaX::ESLIF:Recognizer object instance. Required.

$valueInterface

An object implementing MarpaX::ESLIF::Value::Interface methods. Required.

$eslifValue->value()

Returns a boolean indicating if there a value to retrieve via the valueInterface's getResult() method.

SEE ALSO

MarpaX::ESLIF::Value::Interface

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.