NAME

MarpaX::Languages::ECMAScript::AST::Grammar::ECMAScript_262_5::Lexical::StringLiteral - ECMAScript-262, Edition 5, string literal 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::Lexical::StringLiteral;

my $grammar = MarpaX::Languages::ECMAScript::AST::Grammar::ECMAScript_262_5::Lexical::StringLiteral->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 lexical string literal 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, and have a semantics.

SUBROUTINES/METHODS

make_grammar_content($class)

Returns the grammar. This will be injected in the Program's grammar.

semantics_package($class)

Class method that returns a default recce semantics_package, doing nothing else but a new().

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.