public int getPosition() {
        return position;
    }
Get the token IDL token of the captured token.

@return Returns the underlying token type.
smithy-syntax/src/main/java/software/amazon/smithy/syntax/CapturedToken.java