com.google.javascript.rhino
Class TokenStream

java.lang.Object
  extended by com.google.javascript.rhino.TokenStream

public class TokenStream
extends Object

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


Constructor Summary
TokenStream()
           
 
Method Summary
static boolean isJSIdentifier(String s)
           
static boolean isKeyword(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenStream

public TokenStream()
Method Detail

isKeyword

public static boolean isKeyword(String name)

isJSIdentifier

public static boolean isJSIdentifier(String s)