Package com.google.javascript.rhino
Class TokenUtil
- java.lang.Object
-
- com.google.javascript.rhino.TokenUtil
-
@GwtIncompatible("Unsupported java.lang.Character fields") public final class TokenUtil extends java.lang.ObjectHelper methods for parsing JavaScript. These methods use unsupported features in GWT's emulation of java.lang.Character.TODO(moz): Add a GWT-compatible version in the super-source directory.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisJSFormatChar(int c)static booleanisJSSpace(int c)static TriisStrWhiteSpaceChar(int c)Copied from Rhino's ScriptRuntimestatic booleanisWhitespace(int c)
-
-
-
Method Detail
-
isJSSpace
public static boolean isJSSpace(int c)
-
isJSFormatChar
public static boolean isJSFormatChar(int c)
-
isWhitespace
public static boolean isWhitespace(int c)
-
isStrWhiteSpaceChar
public static Tri isStrWhiteSpaceChar(int c)
Copied from Rhino's ScriptRuntime
-
-