third_party/blink/renderer/build/scripts/blinkbuild/name_style_converter.py
def tokenize_name(name):
    """Tokenize the specified name.

    A token consists of A-Z, a-z, and 0-9 characters. Other characters work as
    token delimiters, and the resultant list won't contain such characters.
    Capital letters also work as delimiters.  E.g. 'FooBar-baz' is tokenized to
    ['Foo', 'Bar', 'baz']. See _TOKEN_PATTERNS for more details.

    This function detects special cases that are not easily discernible without
    additional knowledge, such as recognizing that in SVGSVGElement, the first
    two SVGs are separate tokens, but WebGL is one token.

    Returns:
        A list of token strings.

    """

    # In case |name| is written in lowerCamelCase, we try to match special
    # tokens that contains numbers ignoring cases only at the first step.
    tokens = []
    match = re.search(r'^(' + '|'.join(_SPECIAL_TOKENS_WITH_NUMBERS) + r')',
                      name, re.IGNORECASE)
    if match:
        tokens.append(match.group(0))
        name = name[match.end(0):]

    return tokens + _TOKEN_RE.findall(name)
Tokenize the specified name.

    A token consists of A-Z, a-z, and 0-9 characters. Other characters work as
    token delimiters, and the resultant list won't contain such characters.
    Capital letters also work as delimiters.  E.g. 'FooBar-baz' is tokenized to
    ['Foo', 'Bar', 'baz']. See _TOKEN_PATTERNS for more details.

    This function detects special cases that are not easily discernible without
    additional knowledge, such as recognizing that in SVGSVGElement, the first
    two SVGs are separate tokens, but WebGL is one token.

    Returns:
        A list of token strings.

    
Tokenize the specified name.
A token consists of A-Z, a-z, and 0-9 characters. Other characters work as
token delimiters, and the resultant list won't contain such characters.
Capital letters also work as delimiters.

This function detects special cases that are not easily discernible without
additional knowledge, such as recognizing that in SVGSVGElement, the first
two SVGs are separate tokens, but WebGL is one token.
Tokenize the specified name . A token consists of A - Z a - z and 0 - 9 characters . Other characters work as token delimiters and the resultant list won ' t contain such characters . Capital letters also work as delimiters . This function detects special cases that are not easily discernible without additional knowledge such as recognizing that in SVGSVGElement the first two SVGs are separate tokens but WebGL is one token .
def tokenize_name(name):
    tokens = []
    match = re.search(r'^(' + '|'.join(_SPECIAL_TOKENS_WITH_NUMBERS) + r')',
                      name, re.IGNORECASE)
    if match:
        tokens.append(match.group(0))
        name = name[match.end(0):]
    return tokens + _TOKEN_RE.findall(name)
def tokenize_name ( name ) : tokens = [ ] match = re . search ( r'^(' + '|' . join ( _SPECIAL_TOKENS_WITH_NUMBERS ) + r')' , name , re . IGNORECASE ) if match : tokens . append ( match . group ( 0 ) ) name = name [ match . end ( 0 ) : ] return tokens + _TOKEN_RE . findall ( name )
Tokenize the specified name.
Tokenize the specified name .
"""Tokenize the specified name.

    A token consists of A-Z, a-z, and 0-9 characters. Other characters work as
    token delimiters, and the resultant list won't contain such characters.
    Capital letters also work as delimiters.  E.g. 'FooBar-baz' is tokenized to
    ['Foo', 'Bar', 'baz']. See _TOKEN_PATTERNS for more details.

    This function detects special cases that are not easily discernible without
    additional knowledge, such as recognizing that in SVGSVGElement, the first
    two SVGs are separate tokens, but WebGL is one token.

    Returns:
        A list of token strings.

    """ # In case |name| is written in lowerCamelCase, we try to match special # tokens that contains numbers ignoring cases only at the first step.
A list of token strings.
A list of token strings .
name