@Nullable
    @Override
    public RegExpNumber getMax() {
        final ASTNode[] nodes = getNode().getChildren(TOKENS);
        if (nodes.length == 0) {
            return null;
        }
        final ASTNode node = nodes[nodes.length - 1];
        if (node.getElementType() != RegExpElementTypes.NUMBER) {
            return null;
        }
        return (RegExpNumber)node.getPsi();
    }
@Nullable
    @Override
    public RegExpNumber getMax()