Class TokenStream

java.lang.Object
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 Details

    • TokenStream

      public TokenStream()
  • Method Details

    • isKeyword

      public static boolean isKeyword(String name)
    • isJSIdentifier

      public static boolean isJSIdentifier(String s)