|
JavaScript 2.0
Formal Description
Lexer Grammar
|
Monday, June 7, 1999
This LALR(1) grammar describes the lexer syntax of the JavaScript 2.0 proposal. See also the description of the grammar notation.
This document is also available as a Word 98 rtf file.
The start symbols are
NextTokenre
and
NextTokendiv
depending on whether a / should be interpreted as a regular expression or division.
«TAB» | «VT» | «FF» | «SP» | «u00A0»«u2000» | «u2001» | «u2002» | «u2003» | «u2004» | «u2005» | «u2006» | «u2007»«u2008» | «u2009» | «u200A» | «u200B»«u3000»!! =! = =#%% =&& && & =& =(** =++ =,-- =- >.. .. . .:: :;<< << < =< === == = =>> => >> > => > >> > > =?@[^^ =^ ^^ ^ ={|| =| || | =~. Fraction