protected static void parseShapeTypeAndName(CapturingTokenizer tokenizer, TreeType typeName) {
        if (typeName == null) {
            tokenizer.next();
        } else {
            typeName.parse(tokenizer); // Skip the shape type
        }
        optionalSpaces(tokenizer);
        IDENTIFIER.parse(tokenizer); // shape name
        optionalSpaces(tokenizer);
    }
The innermost node of the token tree that contains an actual token returned from {@link IdlTokenizer}.
smithy-syntax/src/main/java/software/amazon/smithy/syntax/TreeType.java