/// <summary> /// Ctor /// </summary> /// <remarks></remarks> public EcmaScriptIdentifier(string ident) { this.identifier = String.IsNullOrEmpty(ident) ? String.Empty : EcmaScriptIdentifier.VerifyIdentifier(ident, true); }
/// <summary> /// Verifies is a valid EcmaScript identifier /// </summary> /// <param name="ident">the identifier</param> /// <returns>identifier</returns> public static string VerifyIdentifier(string ident, bool nested) { return(EcmaScriptIdentifier.VerifyIdentifier(ident, nested, true)); }