NAME
MarpaX::ESLIF::Value - MarpaX::ESLIF's value
VERSION
version 6.0.35.1
SYNOPSIS
DESCRIPTION
MarpaX::ESLIF::Value is a possible step after a MarpaX::ESLIF::Recognizer instance is created.
my $eslifValue = MarpaX::ESLIF::Value->new($eslifRecognizer, $valueInterface);
The value interface is used to get parse tree valuation.
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
NOTES
MarpaX::ESLIF::Value cannot be reused across threads.
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.