NAME

MarpaX::Languages::ECMAScript::AST::Grammar::ECMAScript_262_5::SpacesAny - ECMAScript-262, Edition 5, spaces only grammar written in Marpa BNF

VERSION

version 0.020

SYNOPSIS

use strict;
use warnings FATAL => 'all';
use MarpaX::Languages::ECMAScript::AST::Grammar::ECMAScript_262_5::SpacesAny;

my $grammar = MarpaX::Languages::ECMAScript::AST::Grammar::ECMAScript_262_5::SpacesAny->new();

my $grammar_content = $grammar->content();
my $grammar_option = $grammar->grammar_option();
my $recce_option = $grammar->recce_option();

DESCRIPTION

This modules returns describes the ECMAScript 262, Edition 5 spaces only grammar written in Marpa BNF, as of http://www.ecma-international.org/publications/standards/Ecma-262.htm. This module inherits the methods from MarpaX::Languages::ECMAScript::AST::Grammar::ECMAScript_262_5::Base package.

SUBROUTINES/METHODS

make_grammar_content($class)

Returns the grammar.

parse($self, $source, $impl, $start)

Parse the source given as $source, from position $start up to the end, using implementation $impl.

endReached($self)

Returns a boolean indicating if the parse() method succeeded up to the end of the source or not. Meaningful only after a call to parse().

SEE ALSO

MarpaX::Languages::ECMAScript::AST::Grammar::ECMAScript_262_5::Base

AUTHOR

Jean-Damien Durand <jeandamiendurand@free.fr>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 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.