Class TokenStream


  • public class TokenStream
    extends java.lang.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

      Constructors 
      Constructor Description
      TokenStream()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isJSIdentifier​(java.lang.String s)  
      static boolean isKeyword​(java.lang.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​(java.lang.String name)
      • isJSIdentifier

        public static boolean isJSIdentifier​(java.lang.String s)