src/com/google/javascript/jscomp/NodeUtil.java
/** Determines whether the given name is a valid qualified name. */
Determines whether the given name is a valid qualified name.
Determines whether the given name is a valid qualified name .
public static boolean isValidQualifiedName(FeatureSet mode, String name) {
    if (name.endsWith(".") || name.startsWith(".")) {
      return false;
    }
    List<String> parts = Splitter.on('.').splitToList(name);
    for (String part : parts) {
      if (!isValidPropertyName(mode, part)) {
        return false;
      }
    }
    return isValidSimpleName(parts.get(0));
  }
public static boolean isValidQualifiedName ( FeatureSet mode , String name ) { if ( name . endsWith ( "." ) || name . startsWith ( "." ) ) { return false ; } List < String > parts = Splitter . on ( '.' ) . splitToList ( name ) ; for ( String part : parts ) { if ( ! isValidPropertyName ( mode , part ) ) { return false ; } } return isValidSimpleName ( parts . get ( 0 ) ) ; }
Determines whether the given name is a valid qualified name.
Determines whether the given name is a valid qualified name .