public final boolean eof() {
        return position >= input.length();
    }
Checks if the parser has reached the end of the expression.

@return Returns true if the parser has reached the end.
smithy-utils/src/main/java/software/amazon/smithy/utils/SimpleParser.java