com.google.gwt.dev.js.rhino
Class Parser

java.lang.Object
  extended by com.google.gwt.dev.js.rhino.Parser

public class Parser
extends java.lang.Object

This class implements the JavaScript parser. It is based on the C source files jsparse.c and jsparse.h in the jsref package.

See Also:
TokenStream

Constructor Summary
Parser(IRFactory nf, boolean insideFunction)
           
 
Method Summary
 java.lang.Object parse(TokenStream ts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parser

public Parser(IRFactory nf,
              boolean insideFunction)
Method Detail

parse

public java.lang.Object parse(TokenStream ts)
                       throws java.io.IOException
Throws:
java.io.IOException