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.Object
Helper 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 boolean
isJSFormatChar(int c)
static boolean
isJSSpace(int c)
static Tri
isStrWhiteSpaceChar(int c)
Copied from Rhino's ScriptRuntimestatic boolean
isWhitespace(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
-
-