void expectAndSkipWhitespace() {
        if (!getCurrentToken().isWhitespace()) {
            throw LoaderUtils.idlSyntaxError("Expected one or more whitespace characters, but found "
                    + getCurrentToken().getDebug(getCurrentTokenLexeme()),
                    getCurrentTokenLocation());
        }
        skipWsAndDocs();
    }
A specialized Tokenizer that adds skipping and documentation buffering.
smithy-model/src/main/java/software/amazon/smithy/model/loader/IdlInternalTokenizer.java