lib/config-parser.js
function checkIdentifier(str, context) {
    if (!/^[a-zA-Z_][a-zA-Z_0-9]*$/.test(str)) {
        throw new ImplementationError(`Invalid identifier "${str}"${context.errorContext}`);
    }
    return str;
}
function checkIdentifier(str, context) {
    if (!/^[a-zA-Z_][a-zA-Z_0-9]*$/.test(str)) {
        throw new ImplementationError(`Invalid identifier "${str}"${context.errorContext}`);
    }
    return str;
}
function checkIdentifier ( str , context ) { if ( ! / ^[a-zA-Z_][a-zA-Z_0-9]*$ / . test ( str ) ) { throw new ImplementationError ( ` ${ str } ${ context . errorContext } ` ) ; } return str ; }
Generates an error for invalid identifier strings. Identifiers contain letters,
numbers and underscore - and do not start with a number.

@private
Generates an error for invalid identifier strings . Identifiers contain letters numbers and underscore - and do not start with a number .