Class EcmaScriptIdentifier


  • public class EcmaScriptIdentifier
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isValid​(java.lang.String raw)
      Checks whether the provided String is a valid ES5.1 IdentifierName.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isValid

        public static boolean isValid​(java.lang.String raw)
        Checks whether the provided String is a valid ES5.1 IdentifierName.
        Parameters:
        raw - Input to check
        Returns:
        true if valid identifier, otherwise false
        See Also:
        https://262.ecma-international.org/5.1/#sec-7.6